aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2015-12-27 20:29:50 (UTC)
committerjan <jan@ruken.pw>2015-12-27 20:29:50 (UTC)
commit0746d945a61ca3dc7588a1f7a2c320ca8a06e198 (patch)
tree0e05e25e640d2e13fee39a713f2373649b5732f4 /views
parentccf10c8d425b28c75cb9ce66c50c943f8825b783 (diff)
dashboard auch für nicht eingeloggte benutzer
Diffstat (limited to 'views')
-rw-r--r--views/navbar.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/navbar.html b/views/navbar.html
index c4bbace..70911e4 100644
--- a/views/navbar.html
+++ b/views/navbar.html
@@ -6,6 +6,9 @@
6 {{ if .user }} 6 {{ if .user }}
7 <li><a href="/">{{ .user.Name }}</a></li> 7 <li><a href="/">{{ .user.Name }}</a></li>
8 <li><a href="/logout">Ausloggen</a></li> 8 <li><a href="/logout">Ausloggen</a></li>
9 {{ else }}
10 <li><a href="/login">Einloggen</a></li>
11 <li><a href="/register">Registrieren</a></li>
9 {{ end }} 12 {{ end }}
10 </ul> 13 </ul>
11 </div> 14 </div>