diff options
author | Byron Jones <bjones@mozilla.com> | 2013-11-04 16:09:22 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-11-04 16:09:22 +0100 |
commit | a1990484b3aac09309739ee34d790e851107312c (patch) | |
tree | f943611f37e746637821f0ada169cb97a0f4a664 | |
parent | c373d57e5911436cb15006ea88e685abda0a6b6f (diff) | |
download | bugzilla-a1990484b3aac09309739ee34d790e851107312c.tar.gz bugzilla-a1990484b3aac09309739ee34d790e851107312c.tar.xz |
Fix display of context menu when user is not provided
-rw-r--r-- | template/en/default/global/user.html.tmpl | 18 |
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> |