diff options
Diffstat (limited to 'extensions')
4 files changed, 4 insertions, 8 deletions
diff --git a/extensions/BMO/template/en/default/pages/group_members.html.tmpl b/extensions/BMO/template/en/default/pages/group_members.html.tmpl index ec2cb2e46..1c593c07e 100644 --- a/extensions/BMO/template/en/default/pages/group_members.html.tmpl +++ b/extensions/BMO/template/en/default/pages/group_members.html.tmpl @@ -82,7 +82,7 @@ <a href="editusers.cgi?action=edit&userid=[% member.id FILTER none %]" target="_blank"> [% ELSE %] - <a href="user_profile?login=[% member.login FILTER uri %]" + <a href="user_profile?user_id=[% member.id FILTER none %]" target="_blank"> [% END %] <span [% 'class="bz_inactive"' UNLESS member.is_enabled %]> diff --git a/extensions/BMO/web/js/edituser_menu.js b/extensions/BMO/web/js/edituser_menu.js index 7008a2b84..a300f5c24 100644 --- a/extensions/BMO/web/js/edituser_menu.js +++ b/extensions/BMO/web/js/edituser_menu.js @@ -10,7 +10,7 @@ function show_usermenu(id, email, show_edit) { { name: "Profile", callback: function () { - var href = "user_profile?login=" + encodeURIComponent(email); + var href = "user_profile?user_id=" + id; window.open(href, "_blank"); } }, diff --git a/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl index 3788a8452..361c02d2b 100644 --- a/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl +++ b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl @@ -8,11 +8,7 @@ [% IF user.settings.show_gravatars.value == 'On' %] [% IF who.last_activity_ts %] - [% IF user.id %] - <a href="user_profile?login=[% who.login FILTER uri %]"> - [% ELSE %] - <a href="user_profile?user_id=[% who.id FILTER uri %]"> - [% END %] + <a href="user_profile?user_id=[% who.id FILTER none %]"> [% END %] <img alt="User image" align="middle" src="[% who.gravatar FILTER none %]" width="32" height="32" border="0"> [% "</a>" IF who.last_activity_ts %] diff --git a/extensions/UserProfile/template/en/default/hook/account/prefs/account-start.html.tmpl b/extensions/UserProfile/template/en/default/hook/account/prefs/account-start.html.tmpl index f2e3aad01..b3a2fc5ea 100644 --- a/extensions/UserProfile/template/en/default/hook/account/prefs/account-start.html.tmpl +++ b/extensions/UserProfile/template/en/default/hook/account/prefs/account-start.html.tmpl @@ -6,6 +6,6 @@ # defined by the Mozilla Public License, v. 2.0. #%] -<a href="user_profile?login=[% user.login FILTER uri %]"> +<a href="user_profile?user_id=[% user.id FILTER none %]"> [% terms.Bugzilla %] User Profile </a><br><hr> |