aboutsummaryrefslogtreecommitdiff
path: root/views/gril.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/gril.html')
-rw-r--r--views/gril.html26
1 files changed, 18 insertions, 8 deletions
diff --git a/views/gril.html b/views/gril.html
index 2dea399..776f14f 100644
--- a/views/gril.html
+++ b/views/gril.html
@@ -10,14 +10,24 @@
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 <div class="row center-align"> 20 <div class="row center-align">
15 <img src="/{{ $gril.ImagePath false }}" /> 21 <img src="/{{ $gril.ImagePath false }}" />
16 </div> 22 </div>
17 {{ range $tag := $gril.Tags }} 23 {{ range $tag := $gril.Tags }}
18 <div class="chip"> 24 <a href="/tag/{{ $tag }}"
19 {{ $tag }} 25 alt="Mit &quot;{{ $tag }}&quot; getaggte Grils einsehen"
20 </div> 26 title="Mit &quot;{{ $tag }}&quot; getaggte Grils einsehen">
27 <div class="chip gril-tag">
28 {{ $tag }}
29 </div>
30 </a>
21 {{ end }} 31 {{ end }}
22 <br /> 32 <br />
23 <br /> 33 <br />
@@ -27,7 +37,7 @@
27 <div class="card"> 37 <div class="card">
28 <div class="card-content purple-text text-lighten-2 center-align"> 38 <div class="card-content purple-text text-lighten-2 center-align">
29 <span class="card-title big">{{ $gril.Birthday.Value}}</span> 39 <span class="card-title big">{{ $gril.Birthday.Value}}</span>
30 <p>geburtstag</p> 40 <p>Geburtstag</p>
31 </div> 41 </div>
32 </div> 42 </div>
33 </div> 43 </div>
@@ -36,7 +46,7 @@
36 <div class="card"> 46 <div class="card">
37 <div class="card-content purple-text text-lighten-2 center-align"> 47 <div class="card-content purple-text text-lighten-2 center-align">
38 <span class="card-title big">{{ $gril.Age.Value }}</span> 48 <span class="card-title big">{{ $gril.Age.Value }}</span>
39 <p>jahre alt</p> 49 <p>Jahre alt</p>
40 </div> 50 </div>
41 </div> 51 </div>
42 </div> 52 </div>
@@ -47,7 +57,7 @@
47 <div class="card-content center-big purple-text text-lighten-2 center-align"> 57 <div class="card-content center-big purple-text text-lighten-2 center-align">
48 <p>in</p> 58 <p>in</p>
49 <span class="card-title big">{{ len $gril.Lists}}</span> 59 <span class="card-title big">{{ len $gril.Lists}}</span>
50 <p>liste{{ if ne (len $gril.Lists) 1 }}n{{ end }}</p> 60 <p>Liste{{ if ne (len $gril.Lists) 1 }}n{{ end }}</p>
51 </div> 61 </div>
52 </div> 62 </div>
53 </div> 63 </div>
@@ -64,4 +74,4 @@
64 </div> 74 </div>
65 </body> 75 </body>
66</html> 76</html>
67{{ end }} \ No newline at end of file 77{{ end }}