diff options
-rw-r--r-- | views/user.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/views/user.html b/views/user.html index 21c3392..90d6db2 100644 --- a/views/user.html +++ b/views/user.html | |||
@@ -8,9 +8,12 @@ | |||
8 | <body> | 8 | <body> |
9 | {{ template "navbar" . }} | 9 | {{ template "navbar" . }} |
10 | <div class="container"> | 10 | <div class="container"> |
11 | <div class="row" style="margin-top: 50px"> | 11 | <div class="row" style="margin-top: 50px; line-height: 500%; "> |
12 | <span style="font-size: 4.2rem; line-height: 110%; margin: 2.1rem 1rem 1.68rem 0;">{{ .DisplayUser.Name }}</span> | 12 | <span style="font-size: 4.2rem; margin: 2.1rem 1rem 1.68rem 0;">{{ .DisplayUser.Name }}</span> |
13 | {{ if and .user (eq .DisplayUser.ID .user.ID) }} <a class="btn waves-effect waves-light indigo lighten-5 black-text" style="margin-top: -1.68rem" href="/settings">Einstellungen</a> | 13 | {{ if .user }} |
14 | {{ if eq .DisplayUser.ID .user.ID }} | ||
15 | <a class="btn waves-effect waves-light indigo lighten-5 black-text" style="margin-top: -1.68rem" href="/settings">Einstellungen</a> | ||
16 | {{ end }} | ||
14 | {{ end }} | 17 | {{ end }} |
15 | </div> | 18 | </div> |
16 | <blockquote>zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}</blockquote><br /> | 19 | <blockquote>zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}</blockquote><br /> |