]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365501 - admin/products/groupcontrol/updated uses p as br
authorSunil Joshi <joshi_sunil@in.com>
Thu, 19 Sep 2013 03:01:05 +0000 (13:01 +1000)
committerSimon Green <sgreen@redhat.com>
Thu, 19 Sep 2013 03:01:05 +0000 (13:01 +1000)
r=simon, a=glob

template/en/default/admin/products/groupcontrol/updated.html.tmpl

index 5ee066c861ef9aa549b974ee4527a8325c901202..1294754fb2fd8bd9d0bc3aca2559cee819f3d14e 100644 (file)
 [% 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 %]