From d6e7e1bd1c206b1b336f867ba6a51ed8c6e2fbb1 Mon Sep 17 00:00:00 2001 From: Edmund Wong Date: Wed, 19 May 2010 20:05:38 +0200 Subject: Bug 487106: Add explanation when a whining is empty r=Callek r=LpSolit a=LpSolit --- template/en/default/whine/mail.html.tmpl | 59 +++++++++++++++++--------------- 1 file changed, 31 insertions(+), 28 deletions(-) (limited to 'template/en/default/whine/mail.html.tmpl') diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl index a4f0edeef..ae4f00cfc 100644 --- a/template/en/default/whine/mail.html.tmpl +++ b/template/en/default/whine/mail.html.tmpl @@ -53,39 +53,42 @@ [% END %]

+[% IF queries.size %] + [% FOREACH query=queries %] -[% FOREACH query=queries %] +

[%+ query.title FILTER html %]

-

[%+ query.title FILTER html %]

- - - - - - - - - - - - - - [% FOREACH bug=query.bugs %] +
IDSevPriPltAssigneeStatusResolutionSummary
- - - - - - - - + + + + + + + + - [% END %] -
[% bug.bug_id %][% display_value("bug_severity", bug.bug_severity) FILTER html %][% display_value("priority", bug.priority) FILTER html %][% display_value("rep_platform", bug.rep_platform) FILTER html %][% bug.assigned_to FILTER html %][% display_value("bug_status", bug.bug_status) FILTER html %][% display_value("resolution", bug.resolution) FILTER html %][% bug.short_desc FILTER html %]IDSevPriPltAssigneeStatusResolutionSummary
-[% END %] + [% FOREACH bug=query.bugs %] + + [% bug.bug_id %] + [% display_value("bug_severity", bug.bug_severity) FILTER html %] + [% display_value("priority", bug.priority) FILTER html %] + [% display_value("rep_platform", bug.rep_platform) FILTER html %] + [% bug.assigned_to FILTER html %] + [% display_value("bug_status", bug.bug_status) FILTER html %] + [% display_value("resolution", bug.resolution) FILTER html %] + [% bug.short_desc FILTER html %] + + [% END %] + + [% END %] +[% ELSE %] + +

No [% terms.bugs %] were found that matched the search criteria.

+[% END %] -- cgit v1.2.3-24-g4f1b