aboutsummaryrefslogtreecommitdiffstats
path: root/root/template/header
diff options
context:
space:
mode:
Diffstat (limited to 'root/template/header')
-rw-r--r--root/template/header5
1 files changed, 4 insertions, 1 deletions
diff --git a/root/template/header b/root/template/header
index 84b795d..9bfe555 100644
--- a/root/template/header
+++ b/root/template/header
@@ -6,7 +6,10 @@
<li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li>
[% END %]
[% IF c.user.username %]
- <li>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">[% l('Log out') %]</a></li>
+ <li><strong><a href="[% c.uri_for("/user") %]">[% c.user.username %]</a></strong></li>
+ <li><a href="/user/logout">[% l('Log out') %]</a></li>
+ [% ELSE %]
+ <li><a href="/">[% l('Login') %]</a></li>
[% END %]
</ul>
</div>