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,39 +53,42 @@ ...@@ -53,39 +53,42 @@
[% END %] [% END %]
</p> </p>
[% IF queries.size %]
[% FOREACH query=queries %]
[% FOREACH query=queries %] <h2>[%+ query.title FILTER html %]</h2>
<h2>[%+ query.title FILTER html %]</h2> <table width="100%">
<table width="100%">
<tr>
<th align="left">ID</th>
<th align="left">Sev</th>
<th align="left">Pri</th>
<th align="left">Plt</th>
<th align="left">Assignee</th>
<th align="left">Status</th>
<th align="left">Resolution</th>
<th align="left">Summary</th>
</tr>
[% FOREACH bug=query.bugs %]
<tr> <tr>
<td align="left"><a href="[%+ urlbase FILTER html %]show_bug.cgi?id= <th align="left">ID</th>
[%- bug.bug_id %]">[% bug.bug_id %]</a></td> <th align="left">Sev</th>
<td align="left">[% display_value("bug_severity", bug.bug_severity) FILTER html %]</td> <th align="left">Pri</th>
<td align="left">[% display_value("priority", bug.priority) FILTER html %]</td> <th align="left">Plt</th>
<td align="left">[% display_value("rep_platform", bug.rep_platform) FILTER html %]</td> <th align="left">Assignee</th>
<td align="left">[% bug.assigned_to FILTER html %]</td> <th align="left">Status</th>
<td align="left">[% display_value("bug_status", bug.bug_status) FILTER html %]</td> <th align="left">Resolution</th>
<td align="left">[% display_value("resolution", bug.resolution) FILTER html %]</td> <th align="left">Summary</th>
<td align="left">[% bug.short_desc FILTER html %]</td>
</tr> </tr>
[% END %]
</table>
[% END %]
[% FOREACH bug=query.bugs %]
<tr>
<td align="left"><a href="[%+ urlbase FILTER html %]show_bug.cgi?id=
[%- bug.bug_id %]">[% bug.bug_id %]</a></td>
<td align="left">[% display_value("bug_severity", bug.bug_severity) FILTER html %]</td>
<td align="left">[% display_value("priority", bug.priority) FILTER html %]</td>
<td align="left">[% display_value("rep_platform", bug.rep_platform) FILTER html %]</td>
<td align="left">[% bug.assigned_to FILTER html %]</td>
<td align="left">[% display_value("bug_status", bug.bug_status) FILTER html %]</td>
<td align="left">[% display_value("resolution", bug.resolution) FILTER html %]</td>
<td align="left">[% bug.short_desc FILTER html %]</td>
</tr>
[% END %]
</table>
[% END %]
[% ELSE %]
<h3>No [% terms.bugs %] were found that matched the search criteria.</h3>
[% END %]
</body> </body>
</html> </html>
......
...@@ -40,13 +40,13 @@ ...@@ -40,13 +40,13 @@
This search was scheduled by [% author.login %]. This search was scheduled by [% author.login %].
[% END %] [% END %]
[% IF queries.size %]
[% FOREACH query=queries %] [% FOREACH query=queries %]
[%+ query.title +%] [%+ query.title +%]
[%+ "-" FILTER repeat(query.title.length) %] [%+ "-" FILTER repeat(query.title.length) %]
[% FOREACH bug=query.bugs %] [% FOREACH bug=query.bugs %]
[% terms.Bug +%] [%+ bug.bug_id %]: [% terms.Bug +%] [%+ bug.bug_id %]:
[%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%] [%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
Priority: [%+ display_value("priority", bug.priority) -%] Priority: [%+ display_value("priority", bug.priority) -%]
...@@ -55,11 +55,14 @@ ...@@ -55,11 +55,14 @@
Assignee: [%+ bug.assigned_to %] Assignee: [%+ bug.assigned_to %]
Status: [%+ display_value("bug_status", bug.bug_status) %] Status: [%+ display_value("bug_status", bug.bug_status) %]
[%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%] [%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%]
[%- END %] [%- END %]
Summary: [% bug.short_desc %] Summary: [% bug.short_desc %]
[% END %] [% 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