summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/useful-links.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/useful-links.html.tmpl')
-rw-r--r--template/en/default/global/useful-links.html.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index c04b60dd6..7e568372c 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -52,8 +52,12 @@
[% IF user.login %]
[% ' | <a href="sanitycheck.cgi">Sanity&nbsp;check</a>'
IF user.groups.tweakparams %]
- | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;
- [% user.login FILTER html %]
+ [% IF user.get_flag('can_logout') %]
+ | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;
+ [% ELSE %]
+ | Logged&nbsp;in&nbsp;as&nbsp;
+ [% END %]
+ [% user.login FILTER html %]
[% ELSE %]
[% IF Param('createemailregexp') %]
| <a href="createaccount.cgi">New&nbsp;Account</a>