summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-10-01 17:43:11 +0200
committerDylan William Hardison <dylan@hardison.net>2018-10-01 17:43:11 +0200
commit2fde460927e475d9f55cefde4eebf53e643a4edc (patch)
tree4d335795cd7bbe05e4cf020505ec4cfe9e010469 /template
parent0cfd7cbbd50ac464360c876551cb592ea1a6bf3a (diff)
downloadbugzilla-2fde460927e475d9f55cefde4eebf53e643a4edc.tar.gz
bugzilla-2fde460927e475d9f55cefde4eebf53e643a4edc.tar.xz
Bug 1494645 - Allow customizing HTML <title> of search results
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/list.html.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 8831bcb7d..fe4354a61 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -30,11 +30,11 @@
[% PROCESS "global/field-descs.none.tmpl" %]
-[% title = "$terms.Bug List" %]
-[% IF searchname || defaultsavename %]
- [% title = title _ ": " _ (searchname OR defaultsavename) FILTER html %]
-[% ELSIF quicksearch %]
- [% title = title _ ": " _ quicksearch FILTER html %]
+[% DEFAULT title = "$terms.Bug List" %]
+[% IF searchname || defaultsavename || quicksearch %]
+ [% title = title _ ": " _ (searchname || defaultsavename || quicksearch) FILTER html %]
+[% ELSE %]
+ [% title = title FILTER html %]
[% END %]
[% qorder = order FILTER uri IF order %]