From c182928f126744a7b3cf2c8cf6f5c9f17bc7aff9 Mon Sep 17 00:00:00 2001 From: Mary Umoh Date: Mon, 5 Jun 2017 12:49:39 -0400 Subject: Bug 1348439 - History item "reporter accessible: true" is confusing * Remove + signs --- .../template/en/default/bug_modal/activity_stream.html.tmpl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'extensions/BugModal') 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 25198a7f2..8e4c47fbf 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 @@ -311,6 +311,8 @@ Comment [% change.comment.count FILTER none %] is private: [%+ + ELSIF change.fieldname == 'reporter_accessible'; + ""; ELSE; field_descs.${change.fieldname} _ ": " FILTER html; END; @@ -366,6 +368,13 @@ CASE [ 'assigned_to', 'reporter', 'qa_contact', 'cc', 'flagtypes.name' ]; value FILTER email; + CASE 'reporter_accessible'; + IF value == 'true'; + "Accessible to reporter"; + ELSIF value == 'false'; + "Not accessible to reporter"; + END; + CASE; IF change.fieldtype == constants.FIELD_TYPE_DATETIME; INCLUDE bug_modal/rel_time.html.tmpl ts=value; -- cgit v1.2.3-24-g4f1b