summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2014-01-16 16:18:30 +0100
committerDave Lawrence <dlawrence@mozilla.com>2014-01-16 16:18:30 +0100
commit508834a6e1af869ce1342bc8da5dcb2896c0f3e7 (patch)
tree93eccfb9605ab1a3b10de98221aa572d740fcd46
parenta9e51308cd03d2d27d9d9560fcf937f81a2c868a (diff)
downloadbugzilla-508834a6e1af869ce1342bc8da5dcb2896c0f3e7.tar.gz
bugzilla-508834a6e1af869ce1342bc8da5dcb2896c0f3e7.tar.xz
Bug 956664 - User can see but not find the link to change their name
r=glob
-rw-r--r--extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
index 3c84add04..fa6cc56b3 100644
--- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
+++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
@@ -53,7 +53,12 @@
[% END %]
</td>
<th>Name</th>
- <td colspan="2">[% target.name FILTER html %]</td>
+ <td colspan="2">
+ [% target.name FILTER html %]
+ [% IF target.id == user.id %]
+ <span style="font-size: x-small;">(<a href="userprefs.cgi?tab=account">change</a>)</span>
+ [% END %]
+ </td>
</tr>
[% IF user.id %]