From b2a62ff40dac527676ac1ece441f17f7ce85170a Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Tue, 9 Jan 2018 12:33:35 -0500 Subject: Bug 1429076 - Can we have a lock icon for requests in security-sensitive bugs in Requests Quick Look Dropdown? --- template/en/default/request/queue.json.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en') 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 { -- cgit v1.2.3-24-g4f1b