summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/header.html.tmpl1
-rw-r--r--template/en/default/request/queue.json.tmpl9
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 {