diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-03-05 01:00:54 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-03-05 01:00:54 +0100 |
commit | cfb84c6899369ceeac12511e39693c5ed12f3b21 (patch) | |
tree | 49912890a383129f00e4d3c29e811917b16b8670 /template/en | |
parent | 2d9deb00d18b646392e660dac42805ec66d3f226 (diff) | |
download | bugzilla-cfb84c6899369ceeac12511e39693c5ed12f3b21.tar.gz bugzilla-cfb84c6899369ceeac12511e39693c5ed12f3b21.tar.xz |
Bug 1429344 - Review requests in requests dropdown should link to MozReview or GitHub instead of Bugzilla details page
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 1 | ||||
-rw-r--r-- | template/en/default/request/queue.json.tmpl | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 428354233..ded28d186 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -107,6 +107,7 @@ [%- js_BUGZILLA = { param => { maxusermatches => Param('maxusermatches'), + splinter_base => Param('splinter_base'), }, constant => { COMMENT_COLS => constants.COMMENT_COLS, diff --git a/template/en/default/request/queue.json.tmpl b/template/en/default/request/queue.json.tmpl index 7f86072b4..50638de9e 100644 --- a/template/en/default/request/queue.json.tmpl +++ b/template/en/default/request/queue.json.tmpl @@ -6,10 +6,9 @@ # defined by the Mozilla Public License, v. 2.0. #%] [% RAWPERL %] -my @display_columns = ( - "requester", "requestee", "type", "status", "bug_id", "bug_summary", - "attach_id", "attach_summary", "ispatch", "created", "category", "restricted" -); +my @display_columns = ('requester', 'requestee', 'type', 'created', 'category', + 'restricted', 'bug_id', 'bug_summary', 'attach_id', + 'attach_summary', 'attach_mimetype', 'attach_ispatch'); my $requests = $stash->get('requests'); my $time_filter = $context->filter('time', [ '%Y-%m-%dT%H:%M:%SZ', 'UTC' ]); my $mail_filter = $context->filter('email'); @@ -28,7 +27,7 @@ foreach my $request (@$requests) { elsif ( $column =~ /_id$/ ) { $val = $request->{$column} ? 0 + $request->{$column} : undef; } - elsif ( $column =~ /^is/ or $column eq 'restricted' ) { + elsif ( $column =~ /^(restricted|attach_ispatch)$/ ) { $val = $request->{$column} ? \1 : \0; } else { |