aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-01-17 12:44:05 (UTC)
committerjan <jan@ruken.pw>2016-01-17 12:44:05 (UTC)
commit39b401a02239422d17d9f60805e3c7f826a5b692 (patch)
tree2a40cd9be4f18712342bfa804fb827ad7eea3674 /views
parent8a3ecac7ea901920e2e00266267ac51a52baa627 (diff)
einstellungs-button in der userview
Diffstat (limited to 'views')
-rw-r--r--views/user.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/user.html b/views/user.html
index 7071fa8..21c3392 100644
--- a/views/user.html
+++ b/views/user.html
@@ -8,7 +8,11 @@
8 <body> 8 <body>
9 {{ template "navbar" . }} 9 {{ template "navbar" . }}
10 <div class="container"> 10 <div class="container">
11 <h1>{{ .DisplayUser.Name }}{{ if eq .DisplayUser .user }}&nbsp;&nbsp;<a class="btn-large waves-effect waves-light indigo lighten-5" href="/settings">Einstellungen</a>{{ end }}</h1> 11 <div class="row" style="margin-top: 50px">
12 <span style="font-size: 4.2rem; line-height: 110%; margin: 2.1rem 1rem 1.68rem 0;">{{ .DisplayUser.Name }}</span>
13 {{ if and .user (eq .DisplayUser.ID .user.ID) }}&nbsp;&nbsp;<a class="btn waves-effect waves-light indigo lighten-5 black-text" style="margin-top: -1.68rem" href="/settings">Einstellungen</a>
14 {{ end }}
15 </div>
12 <blockquote>zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}</blockquote><br /> 16 <blockquote>zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}</blockquote><br />
13 <div class="row"> 17 <div class="row">
14 <h3>Listen von {{ .DisplayUser.Name }}</h3> 18 <h3>Listen von {{ .DisplayUser.Name }}</h3>