From 351b399991094e57e890a9291484c4ab69ca628b Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 18 Jul 2018 22:42:56 -0400 Subject: Bug 1476288 - Replace moz_nick with (new, revised) nick and also attempt to disallow duplicate nicks --- .../template/en/default/bug_modal/activity_stream.html.tmpl | 6 +++--- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 4 ++-- extensions/BugModal/template/en/default/bug_modal/user.html.tmpl | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'extensions/BugModal/template/en/default/bug_modal') diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl index 883393fba..af2077e00 100644 --- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl @@ -146,7 +146,7 @@ [% END %] [% END %] @@ -184,9 +184,9 @@ + title="[% comment.author.nick FILTER html %] [[% comment.creation_ts FILTER time("%Y-%m-%d %H:%M %Z") FILTER html %]]"> [% ELSE %] - title="[% comment.author.moz_nick FILTER html %] [[% comment.creation_ts FILTER time_duration FILTER html %]]"> + title="[% comment.author.nick FILTER html %] [[% comment.creation_ts FILTER time_duration FILTER html %]]"> [% END %] Comment hidden ([% comment.collapsed_reason FILTER html %]) diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index d82e1a684..e2c8bba26 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -565,8 +565,8 @@ [% sub = []; - sub.push("Reporter: " _ bug.reporter.moz_nick); - sub.push(unassigned ? "Unassigned" : "Assigned: " _ bug.assigned_to.moz_nick); + sub.push("Reporter: " _ bug.reporter.nick); + sub.push(unassigned ? "Unassigned" : "Assigned: " _ bug.assigned_to.nick); IF bug.mentors.size; sub.push("Mentored"); END; diff --git a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl index 9eda7b936..6a0ce4e24 100644 --- a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl @@ -30,9 +30,9 @@ END; [% IF simple %] [% IF user.id %] - [% u.moz_nick FILTER html %] + [% u.nick FILTER html %] [% ELSE %] - [% u.moz_nick FILTER html %] + [% u.nick FILTER html %] [% END %] [% ELSE %] @@ -52,7 +52,7 @@ END; href="user_profile?user_id=[% u.id FILTER none %]" [% END %] > - [% nick_only ? u.moz_nick : (u.name || u.nick) FILTER html %] + [% nick_only ? u.nick : (u.name || u.nick) FILTER html %] [%~~%] [% END %] -- cgit v1.2.3-24-g4f1b