[%# 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. #%] [%# INTERFACE: # operations: array of hashes. May be empty. Each has has three members: # who: string. who performed the operation # when: string. when they performed it # changes: hash. Details of what they changed. This hash has three # compulsory and one optional member: # field: string. The name of the field # removed: string. What was removed from the field # added: string. What was added to the field # attach_id: integer. If the change was adding an attachment, its id. # incomplete_data: boolean. True if some of the data is incomplete (because # it was affected by an old Bugzilla bug.) #%] [% PROCESS bug/time.html.tmpl %] [% IF incomplete_data %]
There used to be an issue in Bugzilla which caused activity data to be lost if there were a large number of cc's or dependencies. That has been fixed, but some data was already lost in your activity table that could not be regenerated. The changes that the script could not reliably determine are prefixed by '?'.
[% END %] [% IF operations.size > 0 %]Who | When | What | Removed | Added |
---|---|---|---|---|
[% operation.who FILTER email FILTER html %] | [% operation.when FILTER time %] | [% FOREACH change = operation.changes %] [% "|||
[% IF change.attachid %] Attachment #[% change.attachid %] [% END %] [% IF change.comment.defined %] [% comment_desc = field_descs.${change.fieldname} %] [% comment_num = "Comment $change.comment.count" FILTER bug_link(bug.bug_id, comment_num => change.comment.count) %] [% comment_desc.replace('^(Comment )?', "$comment_num ") FILTER none %] [% ELSE %] [%+ field_descs.${change.fieldname} FILTER html %] [% END %] | [% PROCESS change_column change_type = change.removed %] [% PROCESS change_column change_type = change.added %] [% END %]
No changes have been made to this [% terms.bug %] yet.
[% END %] [% BLOCK change_column %]