diff options
author | jan <jan@ruken.pw> | 2015-12-27 20:29:50 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-27 20:29:50 (UTC) |
commit | 0746d945a61ca3dc7588a1f7a2c320ca8a06e198 (patch) | |
tree | 0e05e25e640d2e13fee39a713f2373649b5732f4 /views/navbar.html | |
parent | ccf10c8d425b28c75cb9ce66c50c943f8825b783 (diff) |
dashboard auch für nicht eingeloggte benutzer
Diffstat (limited to 'views/navbar.html')
-rw-r--r-- | views/navbar.html | 3 |
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> |