]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1348439 - History item "reporter accessible: true" is confusing
authorMary Umoh <umohm12@gmail.com>
Mon, 5 Jun 2017 16:49:39 +0000 (12:49 -0400)
committerDylan William Hardison <dylan@hardison.net>
Mon, 5 Jun 2017 16:49:39 +0000 (12:49 -0400)
* Remove + signs

extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl

index 25198a7f2af5dd99f1053430ae33d69fcf6d5576..8e4c47fbfab2eb05e3e06437d6d4c01c771a1526 100644 (file)
           <a href="#c[% change.comment.count FILTER none %]">
             Comment [% change.comment.count FILTER none %]</a> is private:
           [%+
+        ELSIF change.fieldname == 'reporter_accessible';
+          "";
         ELSE;
           field_descs.${change.fieldname} _ ": " FILTER html;
         END;
       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;