diff options
Diffstat (limited to 'views/gril.html')
-rw-r--r-- | views/gril.html | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/views/gril.html b/views/gril.html index f3b7148..c7ecbdc 100644 --- a/views/gril.html +++ b/views/gril.html | |||
@@ -19,22 +19,32 @@ | |||
19 | <br /> | 19 | <br /> |
20 | <br /> | 20 | <br /> |
21 | <div class="row"> | 21 | <div class="row"> |
22 | {{ if $gril.Age.Valid }} | 22 | {{ if $gril.Birthday.Valid }} |
23 | <div class="col s6 m2 l2"> | 23 | <div class="col s6 m2 l2"> |
24 | <div class="card"> | 24 | <div class="card"> |
25 | <div class="card-content purple-text text-lighten-2 center-align"> | 25 | <div class="card-content purple-text text-lighten-2 center-align"> |
26 | <span class="card-title">{{ $gril.Age.Value }}</span> | 26 | <span class="card-title big">{{ $gril.Birthday.Value}}</span> |
27 | <p>years old</p> | 27 | <p>geburtstag</p> |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
30 | </div> | 30 | </div> |
31 | {{ end }} | 31 | {{ else if $gril.Age.Valid }} |
32 | {{ if $gril.Birthday.Valid }} | ||
33 | <div class="col s6 m2 l2"> | 32 | <div class="col s6 m2 l2"> |
34 | <div class="card"> | 33 | <div class="card"> |
35 | <div class="card-content purple-text text-lighten-2 center-align"> | 34 | <div class="card-content purple-text text-lighten-2 center-align"> |
36 | <span class="card-title">{{ $gril.Birthday.Value}}</span> | 35 | <span class="card-title big">{{ $gril.Age.Value }}</span> |
37 | <p>birthday</p> | 36 | <p>jahre alt</p> |
37 | </div> | ||
38 | </div> | ||
39 | </div> | ||
40 | {{ end }} | ||
41 | {{ if $gril.Lists }} | ||
42 | <div class="col s6 m2 l2"> | ||
43 | <div class="card"> | ||
44 | <div class="card-content center-big purple-text text-lighten-2 center-align"> | ||
45 | <p>in</p> | ||
46 | <span class="card-title big">{{ len $gril.Lists}}</span> | ||
47 | <p>liste{{ if ne (len $gril.Lists) 1 }}n{{ end }}</p> | ||
38 | </div> | 48 | </div> |
39 | </div> | 49 | </div> |
40 | </div> | 50 | </div> |
@@ -42,8 +52,8 @@ | |||
42 | <div class="col s12 m4 l4"> | 52 | <div class="col s12 m4 l4"> |
43 | <div class="card"> | 53 | <div class="card"> |
44 | <div class="card-content purple-text text-lighten-2 center-align"> | 54 | <div class="card-content purple-text text-lighten-2 center-align"> |
45 | <span class="card-title">{{ $gril.UpdatedAt.Format "Jan 02, 2006" }}</span> | 55 | <span class="card-title big">{{ $gril.UpdatedAt.Format "Jan 02, 2006" }}</span> |
46 | <p>last updated</p> | 56 | <p>aktualisiert</p> |
47 | </div> | 57 | </div> |
48 | </div> | 58 | </div> |
49 | </div> | 59 | </div> |