Commit d6e7e1bd authored by Edmund Wong's avatar Edmund Wong Committed by Frédéric Buclin

Bug 487106: Add explanation when a whining is empty

r=Callek r=LpSolit a=LpSolit
parent cd82e394
......@@ -53,8 +53,8 @@
[% END %]
</p>
[% FOREACH query=queries %]
[% IF queries.size %]
[% FOREACH query=queries %]
<h2>[%+ query.title FILTER html %]</h2>
......@@ -84,8 +84,11 @@
</tr>
[% END %]
</table>
[% END %]
[% END %]
[% ELSE %]
<h3>No [% terms.bugs %] were found that matched the search criteria.</h3>
[% END %]
</body>
</html>
......
......@@ -40,8 +40,8 @@
This search was scheduled by [% author.login %].
[% END %]
[% FOREACH query=queries %]
[% IF queries.size %]
[% FOREACH query=queries %]
[%+ query.title +%]
[%+ "-" FILTER repeat(query.title.length) %]
......@@ -60,6 +60,9 @@
[% END %]
[% END %]
[% END %]
[% ELSE %]
No [% terms.bugs %] were found that matched the search criteria.
[% END %]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment