[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% RETURN UNLESS ih_activity %] [%# this div exists to allow bugzilla-tweaks to detect when we're active %]
[% BLOCK add_change %] html += '[%~%] [% IF change.fieldname == 'estimated_time' || change.fieldname == 'remaining_time' || change.fieldname == 'work_time' %] [% PROCESS formattimeunit time_unit = value FILTER html FILTER js %] [% ELSIF change.buglist %] [% value FILTER bug_list_link FILTER js %] [% ELSIF change.fieldname == 'bug_file_loc' %] [%~%] [%~%][% value FILTER ih_short_value FILTER html FILTER js %] [% ELSIF change.fieldname == 'see_also' %] [% FOREACH see_also = value %] [% IF see_also.bug_id %] [%~%][% "$terms.bug $see_also.bug_id" FILTER bug_link(see_also.bug_id) FILTER js %] [% ELSE %] [%~%] [%~%][% see_also.url FILTER html FILTER js %] [% END %] [%- ", " IF NOT loop.last %] [% END %] [% ELSIF change.fieldname == 'assigned_to' || change.fieldname == 'reporter' || change.fieldname == 'qa_contact' || change.fieldname == 'cc' || change.fieldname == 'bug_mentor' || change.fieldname == 'flagtypes.name' %] [% value FILTER email FILTER js %] [% ELSIF change.fieldtype == constants.FIELD_TYPE_DATETIME %] [% value FILTER time FILTER js %] [% ELSE %] [% value FILTER ih_short_value FILTER html FILTER js %] [% END %] [%~ %]'; [% END %]