aboutsummaryrefslogtreecommitdiff
path: root/views/navbar.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/navbar.html')
-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>