summaryrefslogtreecommitdiffstats
path: root/template/en/default/whine/mail.html.tmpl
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2013-02-20 16:07:49 +0000
committerColin Guthrie <colin@mageia.org>2014-09-15 20:44:40 +0100
commitba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189 (patch)
treeece0d9c9d8fa1eff83f8527397da6b2c8c755dd6 /template/en/default/whine/mail.html.tmpl
parent48a4cb57974b7f1932c3fe31825c02e4dc4ab30c (diff)
downloadbugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar.gz
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar.bz2
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.tar.xz
bugzilla-ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189.zip
Add 4.0 branch
Diffstat (limited to 'template/en/default/whine/mail.html.tmpl')
-rw-r--r--template/en/default/whine/mail.html.tmpl59
1 files changed, 31 insertions, 28 deletions
diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl
index a4f0ede..ae4f00c 100644
--- a/template/en/default/whine/mail.html.tmpl
+++ b/template/en/default/whine/mail.html.tmpl
@@ -53,39 +53,42 @@
[% END %]
</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%">
- <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 %]
+ <table width="100%">
<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>
+ <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>
- [% 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>
</html>