]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 419016 - Space between the votes text and period is visually unappealing and...
authorguy.pyrzak%gmail.com <>
Thu, 10 Apr 2008 21:53:26 +0000 (21:53 +0000)
committerguy.pyrzak%gmail.com <>
Thu, 10 Apr 2008 21:53:26 +0000 (21:53 +0000)
Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r=LpSolit a=LpSolit

template/en/default/bug/edit.html.tmpl

index d096bbbf26456fb56e011dcc2bed2e76e04fff15..ce2a7b50ef9374f01883e64bcb2519989b65d0be 100644 (file)
           [% IF bug.votes %] 
             with 
             <a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.bug_id %]">
-              [% bug.votes %] vote[%IF bug.votes > 1 %]s[% END %]
-            </a>. 
+              [% bug.votes %] 
+              [% IF bug.votes == 1 %]
+                vote
+              [% ELSE %]
+                votes
+              [% END %]</a> 
           [% END %]    
           (<a href="votes.cgi?action=show_user&amp;bug_id=
                   [% bug.bug_id %]#vote_[% bug.bug_id %]">vote</a>)
             <br> 
           [% END %]
         [% END %]
-        [% bug.cc.size || 0  FILTER html%]&nbsp;total users
+        [% bug.cc.size || 0  FILTER html %] 
+        [% IF bug.cc.size == 1 %]
+          user
+        [% ELSE %]
+          users
+        [% END %]
         [% IF user.id %]
           [% IF bug.cc.contains( user.email ) %]
             including you ([% INCLUDE user_identity user=> user FILTER collapse %])
           [% END %]
-        [% END %].
+        [% END %]
         <span id="cc_edit_area_showhide_container" class="bz_default_hidden">
           (<a href="#" id="cc_edit_area_showhide">edit</a>)
         </span>