summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-11-01 08:39:59 +0100
committerByron Jones <bjones@mozilla.com>2013-11-01 08:39:59 +0100
commite5d385374cb02e7d6b1b2013144135264ec5d29a (patch)
tree49e83687a3a08a749ac79ea41ea91bbc8acf2b50 /template/en
parent682a16ef7a6bcd78cac1748f431ab3912269a929 (diff)
downloadbugzilla-e5d385374cb02e7d6b1b2013144135264ec5d29a.tar.gz
bugzilla-e5d385374cb02e7d6b1b2013144135264ec5d29a.tar.xz
Bug 911812: make the user profile more discoverable
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/global/header.html.tmpl1
-rw-r--r--template/en/default/global/user.html.tmpl13
2 files changed, 8 insertions, 6 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 9336d5cd4..6071b2845 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -265,6 +265,7 @@
[% filtered_username = user.login FILTER uri %]
<li><a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">My [% terms.Bugs %]</a></li>
[% END %]
+ <li><a href="user_profile">My Profile</a></li>
<li><a href="userprefs.cgi">Preferences</a></li>
<li><a href="request.cgi?requester=[% user.login FILTER uri %]&amp;requestee=[% user.login FILTER uri %]&amp;do_union=1&amp;group=type&amp;action=queue">My Requests</a></li>
[% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless
diff --git a/template/en/default/global/user.html.tmpl b/template/en/default/global/user.html.tmpl
index 4f9b8a41b..2c12fa6dd 100644
--- a/template/en/default/global/user.html.tmpl
+++ b/template/en/default/global/user.html.tmpl
@@ -27,17 +27,18 @@
[% FILTER collapse %]
[% IF user.id %]
<a class="email" href="mailto:[% who.email FILTER html %]"
- [% IF who.id && user.in_group('canconfirm') %]
onclick="return show_usermenu(event, [% who.id FILTER none %], '[% who.email FILTER js %]',
- [% IF (user.in_group('editusers') || user.bless_groups.size > 0) %]true[% ELSE %]false[% END %]);"
- [% END %]
- title="[% who.identity FILTER html %]">
+ [% 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 %]
- [% who.login FILTER email FILTER html %]
+ <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 %]
- [% '</a>' IF user.id %]
[% END %]
</span>