diff options
author | Sebastin Santy <sebastinssanty@gmail.com> | 2016-07-09 00:40:03 +0200 |
---|---|---|
committer | Dylan Hardison <dylan@mozilla.com> | 2016-07-09 00:40:03 +0200 |
commit | a446cca4e59bb1708e4556a7e5b52dc6a47dc9eb (patch) | |
tree | ae5e95b7d2b3dd4f313d19325d11672bdebb19ff | |
parent | bbe5dcddc69f7c8689026bc93330f66278a150f0 (diff) | |
download | bugzilla-a446cca4e59bb1708e4556a7e5b52dc6a47dc9eb.tar.gz bugzilla-a446cca4e59bb1708e4556a7e5b52dc6a47dc9eb.tar.xz |
Bug 1178040 - Email address change is very difficult to find
-rw-r--r-- | extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl | 26 |
1 files changed, 17 insertions, 9 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 9cbf80c8a..ef0605725 100644 --- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl +++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl @@ -46,7 +46,8 @@ [% END %] <tr> - <td rowspan="[% user.id ? 6 : 5 %]" id="gravatar-container"> + [% offset = user.id == target.id ? 2 : 0 %] + <td rowspan="[% user.id ? 6 + offset : 5 + offset %]" id="gravatar-container"> [% IF user.gravatar %] <img id="gravatar" src="[% target.gravatar(256) FILTER none %]" width="128" height="128"><br> [% IF target.id == user.id %] @@ -59,9 +60,6 @@ <th>Name</th> <td colspan="2"> [% target.name || target.address.user 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> @@ -73,12 +71,12 @@ [% " (disabled)" UNLESS target.is_enabled %] </td> </tr> + <tr> + <td> + </td> + </tr> [% END %] -<tr> - <td> </td> -</tr> - [%# user.creation_ts is added by the TagNewUsers extension %] [% IF target.can('creation_ts') %] <tr> @@ -116,6 +114,17 @@ <td> </td> </tr> +[% IF user.id %] +<tr> + <th></th> + <td colspan="2"> + [% IF target.id == user.id %] + <a href="userprefs.cgi?tab=account"><input type="button" value = "Edit Profile & Preferences"></a> + [% END %] + </td> + </tr> +[% END %] + [%# request counters provided by the Review extension %] [% IF target.can("review_count") && ( @@ -309,4 +318,3 @@ </table> [% PROCESS global/footer.html.tmpl %] - |