aboutsummaryrefslogtreecommitdiff
path: root/views/gril.html
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2015-12-28 22:46:37 (UTC)
committerrtz12 <koenig@fagott.pw>2015-12-28 22:46:37 (UTC)
commit8ed9967cce5990f55841d438b8da5de6ab097de0 (patch)
tree4cd18e0064fb2b99e4209843c747d3f424076ccd /views/gril.html
parentb4c2a5c6d571a44621db07b9930e812868604c6b (diff)
"OtherNames" werden nun am Gril angezeigt
Diffstat (limited to 'views/gril.html')
-rw-r--r--views/gril.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/views/gril.html b/views/gril.html
index c7ecbdc..458ccc1 100644
--- a/views/gril.html
+++ b/views/gril.html
@@ -10,7 +10,13 @@
10 <body> 10 <body>
11 {{ template "navbar" . }} 11 {{ template "navbar" . }}
12 <div class="container"> 12 <div class="container">
13 <h1>{{ $gril.RomajiName }}<small>{{ $gril.KanjiName }}</small></h1> 13 <h1 id="gril-title">{{ $gril.RomajiName }}<small>{{ $gril.KanjiName }}</small></h1>
14 {{ if $gril.OtherNames }}
15 <p id="gril-alias">Auch bekannt als:
16 {{ range $i, $alias := $gril.OtherNames }}{{ if $i }},{{ end }}
17 {{ $alias }}{{ end }}
18 </p>
19 {{ end }}
14 {{ range $tag := $gril.Tags }} 20 {{ range $tag := $gril.Tags }}
15 <div class="chip"> 21 <div class="chip">
16 {{ $tag }} 22 {{ $tag }}
@@ -61,4 +67,4 @@
61 </div> 67 </div>
62 </body> 68 </body>
63</html> 69</html>
64{{ end }} \ No newline at end of file 70{{ end }}