summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/global/user.html.tmpl18
1 files changed, 10 insertions, 8 deletions
diff --git a/template/en/default/global/user.html.tmpl b/template/en/default/global/user.html.tmpl
index 2c12fa6dd..25a86eac2 100644
--- a/template/en/default/global/user.html.tmpl
+++ b/template/en/default/global/user.html.tmpl
@@ -31,14 +31,16 @@
[% user.in_group('editusers') || user.bless_groups.size > 0 ? "true" : "false" %]);"
title="[% who.identity FILTER html %]">
[%- END -%]
- [% IF who.name %]
- <span class="fn">[% who.name FILTER html %]</span>
- [% ELSE %]
- <span class="ln">[% who.login FILTER email FILTER html %]</span>
- [% END %]
- [% IF user.id %]
- <span class="arrow_container"><span class="arrow_down"></span></span>
- </a>
+ [% IF who %]
+ [% IF who.name %]
+ <span class="fn">[% who.name FILTER html %]</span>
+ [% ELSE %]
+ <span class="ln">[% who.login FILTER email FILTER html %]</span>
+ [% END %]
+ [% IF user.id %]
+ <span class="arrow_container"><span class="arrow_down"></span></span>
+ </a>
+ [% END %]
[% END %]
[% END %]
</span>