summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-01-12 00:05:46 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-01-12 00:05:46 +0100
commitd67ed6078ec039fad57b6e87f4a08f5361b47666 (patch)
tree8b6082cb4663da6d88089096219d7565d2cea4e8
parent57fa5bafd2a1d68594745c7ea2c854798ad99857 (diff)
downloadbugzilla-d67ed6078ec039fad57b6e87f4a08f5361b47666.tar.gz
bugzilla-d67ed6078ec039fad57b6e87f4a08f5361b47666.tar.xz
Bug 712052 - Investigate if patches could have priority flags
r=glob
-rwxr-xr-xrequest.cgi8
-rw-r--r--template/en/default/request/queue.html.tmpl7
2 files changed, 12 insertions, 3 deletions
diff --git a/request.cgi b/request.cgi
index cac8ecc78..c7e1fe3f7 100755
--- a/request.cgi
+++ b/request.cgi
@@ -115,7 +115,10 @@ sub queue {
requesters.realname, requesters.login_name,
requestees.realname, requestees.login_name, COUNT(privs.group_id),
" . $dbh->sql_date_format('flags.modification_date', '%Y.%m.%d %H:%i') . ",
- attachments.ispatch " .
+ attachments.ispatch,
+ bugs.bug_status,
+ bugs.priority,
+ bugs.bug_severity " .
# Use the flags and flagtypes tables for information about the flags,
# the bugs and attachments tables for target info, the profiles tables
# for setter and requestee info, the products/components tables
@@ -298,6 +301,9 @@ sub queue {
'restricted' => $data[13] ? 1 : 0,
'created' => $data[14],
'ispatch' => $data[15],
+ 'bug_status' => $data[16],
+ 'priority' => $data[17],
+ 'bug_severity' => $data[18],
};
push(@requests, $request);
}
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index 57650de55..a1f670158 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -198,7 +198,10 @@ to some group are shown by default.
[% PROCESS start_new_table %]
[% END %]
[% buglist.${request.bug_id} = 1 %]
- <tr>
+
+ <tr class="bz_bugitem bz_[% request.bug_severity FILTER css_class_quote -%]
+ bz_[% request.priority FILTER css_class_quote -%]
+ bz_[% request.bug_status FILTER css_class_quote %]">
[% FOREACH column = display_columns %]
[% NEXT IF column == group_field || excluded_columns.contains(column) %]
<td>
@@ -238,7 +241,7 @@ to some group are shown by default.
[% BLOCK display_bug %]
<a href="show_bug.cgi?id=[% request.bug_id %]"
[%- ' class="bz_secure"' IF request.restricted %]>
- [% request.bug_id %]: [%+ request.bug_summary FILTER html %]</a>
+ [% request.bug_id %] ([% request.priority FILTER html %]/[% request.bug_severity FILTER html %]): [%+ request.bug_summary FILTER html %]</a>
[% END %]
[% BLOCK display_attachment %]