summaryrefslogtreecommitdiffstats
path: root/template/en/default/sidebar.xul.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/sidebar.xul.tmpl')
-rw-r--r--template/en/default/sidebar.xul.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index 60ae33dbd..802fd9f23 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -95,7 +95,9 @@ function normal_keypress_handler( aEvent ) {
[%- IF user.groups.tweakparams %]
<text class="text-link" onclick="load_relative_url('sanitycheck.cgi')" value="sanity check"/>
[%- END %]
+ [%- IF user.get_flag('can_logout') %]
<text class="text-link" onclick="load_relative_url('relogin.cgi')" value="logout [% user.login FILTER html %]"/>
+ [%- END %]
<separator class="thin"/>
[%- IF user.showmybugslink %]
[% filtered_username = user.login FILTER url_quote %]