@@ -350,7 +328,10 @@
[% PROCESS attachment/list.html.tmpl
attachments = bug.attachments
- bugid = bug.bug_id %]
+ bugid = bug.bug_id
+ num_attachment_flag_types = bug.num_attachment_flag_types
+ show_attachment_flags = bug.show_attachment_flags
+ %]
[%# *** Dependencies Votes *** %]
@@ -405,9 +386,13 @@
accesskey="c">
- [% IF groups.size > 0 %]
+ [% IF bug.groups.size > 0 %]
+ [% inallgroups = 1 %]
+ [% inagroup = 0 %]
+ [% FOREACH group = bug.groups %]
+ [% SET inallgroups = 0 IF NOT group.ingroup %]
+ [% SET inagroup = 1 IF group.ison %]
- [% FOREACH group = groups %]
[% IF NOT group.mandatory %]
[% IF NOT emitted_description %]
[% emitted_description = 1 %]
@@ -430,7 +415,7 @@
[% END %]
[% END %]
- [% IF NOT user.inallgroups %]
+ [% IF NOT inallgroups %]
Only members of a group can change the visibility of a bug for
that group
@@ -438,7 +423,7 @@
[% END %]
- [% IF bug.inagroup %]
+ [% IF inagroup %]
Users in the roles selected below can always view this bug:
@@ -472,16 +457,16 @@
[% knum = 1 %]
[% IF bug.bug_status == "UNCONFIRMED" &&
- user.canconfirm %]
+ bug.user.canconfirm %]
Confirm bug (change status to NEW)
[% knum = knum + 1 %]
[% END %]
- [% IF user.canedit %]
+ [% IF bug.user.canedit %]
[% IF bug.isopened %]
- [% IF bug.bug_status != "ASSIGNED" && user.canconfirm %]
+ [% IF bug.bug_status != "ASSIGNED" && bug.user.canconfirm %]
Accept bug (
[% "confirm bug, " IF bug.isunconfirmed %]change
@@ -501,7 +486,7 @@
Resolve bug, changing resolution to
@@ -523,9 +508,9 @@
(this.value != '')) {
document.changeform.knob[[% knum %]].checked=true;
}"
- value="[% bug.assigned_to_email FILTER html %]">
+ value="[% bug.assigned_to.email FILTER html %]">
- [% IF bug.isunconfirmed && user.canconfirm %]
+ [% IF bug.isunconfirmed && bug.user.canconfirm %]
and confirm bug (change status to NEW)
@@ -537,7 +522,7 @@
[% " and QA contact" IF Param('useqacontact') %]
of selected component
- [% IF bug.isunconfirmed && user.canconfirm %]
+ [% IF bug.isunconfirmed && bug.user.canconfirm %]
and confirm bug (change status to NEW)
@@ -545,7 +530,7 @@
[% knum = knum + 1 %]
[% ELSE %]
[% IF bug.resolution != "MOVED" ||
- (bug.resolution == "MOVED" && user.canmove) %]
+ (bug.resolution == "MOVED" && bug.user.canmove) %]
Reopen bug
[% knum = knum + 1 %]
@@ -574,7 +559,7 @@
- [% IF user.canmove %]
+ [% IF bug.user.canmove %]
|
@@ -598,19 +583,11 @@
[% PROCESS bug/comments.html.tmpl
- comments = bug.comments
+ comments = bug.longdescs
mode = "edit"
%]
-
-
-[% PROCESS bug/navigate.html.tmpl %]
-
-
-
-[% PROCESS global/footer.html.tmpl %]
-
[%############################################################################%]
[%# Block for dependencies #%]
@@ -620,7 +597,7 @@
| Bug [% bug.bug_id %] [%+ dep.title %]: |
[% FOREACH depbug = bug.${dep.fieldname} %]
- [% GetBugLink(depbug, depbug) %][% " " %]
+ [% depbug FILTER bug_link(depbug) %][% " " %]
[% END %]
|
@@ -638,7 +615,7 @@
|
|