summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorbyron jones <byron@glob.com.au>2018-03-05 04:51:47 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-05 04:51:47 +0100
commit4dc8fc6b31aeb1ee357be87d900abdec0bc0ddf7 (patch)
treee8188cc41ae3d364c095bf3ebe1501d6ca86fd7f /template
parentb76754821a57fb80e3d096a39fb9ff95d1d9a2d0 (diff)
downloadbugzilla-4dc8fc6b31aeb1ee357be87d900abdec0bc0ddf7.tar.gz
bugzilla-4dc8fc6b31aeb1ee357be87d900abdec0bc0ddf7.tar.xz
Bug 1433573 - Display the short URL link even for queries without any results
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/list.html.tmpl34
1 files changed, 18 insertions, 16 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 724802e3d..c17512c79 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -208,20 +208,22 @@
</td>
<td>&nbsp;</td>
-
- <td valign="middle" class="bz_query_links">
- [%# Links to more things users can do with this bug list. %]
- [% Hook.process("links") %]
-
- <a href="buglist.cgi?
- [% urlquerypart FILTER html %]&amp;ctype=csv&amp;human=1
- [%~ IF searchname %]&amp;namedcmd=[% searchname FILTER uri %][% END %]">CSV</a> |
- <a href="buglist.cgi?
- [% urlquerypart FILTER html %]&amp;title=
- [%- title FILTER uri %]&amp;ctype=atom">Feed</a> |
- <a href="buglist.cgi?
- [% urlquerypart FILTER html %]&amp;ctype=ics">iCalendar</a>
+ [% END %]
+
+ <td valign="middle" class="bz_query_links">
+ [%# Links to more things users can do with this bug list. %]
+ [% Hook.process("links") %]
+ <a href="buglist.cgi?
+ [% urlquerypart FILTER html %]&amp;ctype=csv&amp;human=1
+ [%~ IF searchname %]&amp;namedcmd=[% searchname FILTER uri %][% END %]">CSV</a> |
+ <a href="buglist.cgi?
+ [% urlquerypart FILTER html %]&amp;title=
+ [%- title FILTER uri %]&amp;ctype=atom">Feed</a> |
+ <a href="buglist.cgi?
+ [% urlquerypart FILTER html %]&amp;ctype=ics">iCalendar</a>
+
+ [% IF bugs.size > 0 %]
<br>
<a href="colchange.cgi?
[% urlquerypart FILTER html %]&amp;query_based_on=
@@ -232,9 +234,9 @@
[%- "&order=$qorder" FILTER html IF order %]&amp;tweak=1"
>Change&nbsp;Several&nbsp;[% terms.Bugs %]&nbsp;at&nbsp;Once</a>
[% END %]
- </td>
- [% END %]
-
+ [% END %]
+ </td>
+
<td valign="middle" class="bz_query_edit">
<a href="[% PROCESS edit_search_url %]">Edit&nbsp;Search</a>
</td>