Commit f7498103 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

parent 6f8f63cc
...@@ -21,9 +21,6 @@ except: ...@@ -21,9 +21,6 @@ except:
pass pass
ui.register(ui.HEADER_LINKS, ui.register(ui.HEADER_LINKS,
ui.Link(_('faq'), ui.Url('faq'), weight=400, name='FAQ'),
ui.Link(_('about'), ui.Url('about'), weight=300, name='ABOUT'),
ui.Link( ui.Link(
text=lambda u, c: u.is_authenticated() and _('logout') or _('login'), text=lambda u, c: u.is_authenticated() and _('logout') or _('login'),
url=lambda u, c: u.is_authenticated() and reverse('logout') or reverse('auth_signin'), url=lambda u, c: u.is_authenticated() and reverse('logout') or reverse('auth_signin'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment