From 39b401a02239422d17d9f60805e3c7f826a5b692 Mon Sep 17 00:00:00 2001 From: jan Date: Sun, 17 Jan 2016 13:44:05 +0100 Subject: einstellungs-button in der userview 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 @@ {{ template "navbar" . }}
-

{{ .DisplayUser.Name }}{{ if eq .DisplayUser .user }}  Einstellungen{{ end }}

+
+ {{ .DisplayUser.Name }} + {{ if and .user (eq .DisplayUser.ID .user.ID) }}  Einstellungen + {{ end }} +
zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}

Listen von {{ .DisplayUser.Name }}

-- cgit v0.10.1