diff options
author | jan <jan@ruken.pw> | 2016-11-13 16:57:29 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2016-11-13 16:57:29 (UTC) |
commit | 3705a683482141481d6e4f1e563bc239fed05514 (patch) | |
tree | f7bcea8d7f9d4e2c64e36f5b171cffa0cfec5071 /views/pages | |
parent | 0741b7c8b0e24de234b308c644c38cd94daf3b07 (diff) |
fixieren von userangucken wenn man nicht eingeloggt ist
Diffstat (limited to 'views/pages')
-rw-r--r-- | views/pages/user.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/pages/user.html b/views/pages/user.html index 3c9d145..66cd62d 100644 --- a/views/pages/user.html +++ b/views/pages/user.html | |||
@@ -1,5 +1,5 @@ | |||
1 | {{ define "user" }} | 1 | {{ define "user" }} |
2 | {{ $isCurrentUser := (and .user (eq .DisplayUser.ID .user.ID)) }} | 2 | {{ $isCurrentUser := isSameUser .DisplayUser .user }} |
3 | <html> | 3 | <html> |
4 | <head> | 4 | <head> |
5 | {{ template "materialize" }} | 5 | {{ template "materialize" }} |