summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-01-09 18:33:35 +0100
committerDylan William Hardison <dylan@hardison.net>2018-01-09 18:33:35 +0100
commitb2a62ff40dac527676ac1ece441f17f7ce85170a (patch)
tree7219c693633abdebfcedde6e4f2c1a0d9a43ab71 /template/en/default
parent84780b25e91a4ad91549bc4a723e1f08916e8893 (diff)
downloadbugzilla-b2a62ff40dac527676ac1ece441f17f7ce85170a.tar.gz
bugzilla-b2a62ff40dac527676ac1ece441f17f7ce85170a.tar.xz
Bug 1429076 - Can we have a lock icon for requests in security-sensitive bugs in Requests Quick Look Dropdown?
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/request/queue.json.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/request/queue.json.tmpl b/template/en/default/request/queue.json.tmpl
index ec0f0ef66..7f86072b4 100644
--- a/template/en/default/request/queue.json.tmpl
+++ b/template/en/default/request/queue.json.tmpl
@@ -8,7 +8,7 @@
[% RAWPERL %]
my @display_columns = (
"requester", "requestee", "type", "status", "bug_id", "bug_summary",
- "attach_id", "attach_summary", "ispatch", "created", "category"
+ "attach_id", "attach_summary", "ispatch", "created", "category", "restricted"
);
my $requests = $stash->get('requests');
my $time_filter = $context->filter('time', [ '%Y-%m-%dT%H:%M:%SZ', 'UTC' ]);
@@ -28,7 +28,7 @@ foreach my $request (@$requests) {
elsif ( $column =~ /_id$/ ) {
$val = $request->{$column} ? 0 + $request->{$column} : undef;
}
- elsif ( $column =~ /^is/ ) {
+ elsif ( $column =~ /^is/ or $column eq 'restricted' ) {
$val = $request->{$column} ? \1 : \0;
}
else {