From e5d385374cb02e7d6b1b2013144135264ec5d29a Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 1 Nov 2013 15:39:59 +0800 Subject: Bug 911812: make the user profile more discoverable --- template/en/default/global/header.html.tmpl | 1 + template/en/default/global/user.html.tmpl | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'template/en/default') 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 %]
  • My [% terms.Bugs %]
  • [% END %] +
  • My Profile
  • Preferences
  • My Requests
  • [% 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 %] + [% user.in_group('editusers') || user.bless_groups.size > 0 ? "true" : "false" %]);" + title="[% who.identity FILTER html %]"> [%- END -%] [% IF who.name %] [% who.name FILTER html %] [% ELSE %] - [% who.login FILTER email FILTER html %] + [% who.login FILTER email FILTER html %] + [% END %] + [% IF user.id %] + + [% END %] - [% '' IF user.id %] [% END %] -- cgit v1.2.3-24-g4f1b