aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2013-09-19 13:01:05 +1000
committerSimon Green <sgreen@redhat.com>2013-09-19 13:01:05 +1000
commitc14936b81e93e6543757529e233dc31b0d93f985 (patch)
treee4f8bb11b3ff9d0fd4f8217529f961af53f29d04 /template
parentb933a4e928489eb3fd91ddacfba041fdede20055 (diff)
downloadbugs-c14936b81e93e6543757529e233dc31b0d93f985.tar
bugs-c14936b81e93e6543757529e233dc31b0d93f985.tar.gz
bugs-c14936b81e93e6543757529e233dc31b0d93f985.tar.bz2
bugs-c14936b81e93e6543757529e233dc31b0d93f985.tar.xz
bugs-c14936b81e93e6543757529e233dc31b0d93f985.zip
Bug 365501 - admin/products/groupcontrol/updated uses p as br
r=simon, a=glob
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/products/groupcontrol/updated.html.tmpl26
1 files changed, 19 insertions, 7 deletions
diff --git a/template/en/default/admin/products/groupcontrol/updated.html.tmpl b/template/en/default/admin/products/groupcontrol/updated.html.tmpl
index 5ee066c86..1294754fb 100644
--- a/template/en/default/admin/products/groupcontrol/updated.html.tmpl
+++ b/template/en/default/admin/products/groupcontrol/updated.html.tmpl
@@ -18,24 +18,36 @@
[% PROCESS global/header.html.tmpl
title = title
%]
-<p>
+
[% IF changes._group_controls.now_na.size %]
[% FOREACH g = changes._group_controls.now_na %]
- Removing [% terms.bugs %] from group '[% g.name FILTER html %]' which
- no longer applies to this product<p>
- [% g.bug_count FILTER html %] [%+ terms.bugs %] removed<p>
+ <p>
+ Removing [% terms.bugs %] from group '[% g.name FILTER html %]' which is
+ no longer applicable to this product.<br>
+ [% IF g.bug_count == 1 %]
+ One [% terms.bug %] removed.
+ [% ELSE %]
+ [% g.bug_count FILTER html %] [%+ terms.bugs %] removed.
+ [% END %]
+ </p>
[% END %]
[% END %]
[% IF changes._group_controls.now_mandatory.size %]
[% FOREACH g = changes._group_controls.now_mandatory %]
+ <p>
Adding [% terms.bugs %] to group '[% g.name FILTER html %]' which is
- mandatory for this product<p>
- [% g.bug_count FILTER html %] [%+ terms.bugs %] added<p>
+ now mandatory for this product.<br>
+ [% IF g.bug_count == 1 %]
+ One [% terms.bug %] added.
+ [% ELSE %]
+ [% g.bug_count FILTER html %] [%+ terms.bugs %] added.
+ [% END %]
+ </p>
[% END %]
[% END %]
-Group control updates done<p>
+<p>Group control updated.</p>
[% PROCESS admin/products/footer.html.tmpl %]