diff --git a/lcs/root.ptl b/lcs/root.ptl index 791bbf8..2eedd71 100644 --- a/lcs/root.ptl +++ b/lcs/root.ptl @@ -91,6 +91,12 @@ class RootDirectory(Directory): def _q_index [html] (self): template.html_top('Lasso Conformance SP') + if get_request().user: + '

%s

' % _('Logged in') + else: + if get_cfg('sp'): + '

%s

' % _('Login') + def logout(self): logger.info('logout')