diff options
author | gerv%gerv.net <> | 2003-07-04 06:31:13 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2003-07-04 06:31:13 +0200 |
commit | 44b48df3901d829e1423749136d142964ccb4a3e (patch) | |
tree | f87659c97f6c97654cde63005c514a5504913631 /template/en/default/bug/votes | |
parent | 7b35e1a271f27612cba91216d50e5f497dd0c69a (diff) | |
download | bugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.gz bugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.xz |
Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave.
Diffstat (limited to 'template/en/default/bug/votes')
-rw-r--r-- | template/en/default/bug/votes/delete-all.html.tmpl | 10 | ||||
-rw-r--r-- | template/en/default/bug/votes/list-for-bug.html.tmpl | 10 | ||||
-rw-r--r-- | template/en/default/bug/votes/list-for-user.html.tmpl | 12 |
3 files changed, 19 insertions, 13 deletions
diff --git a/template/en/default/bug/votes/delete-all.html.tmpl b/template/en/default/bug/votes/delete-all.html.tmpl index c50b0cb1c..d5ebae349 100644 --- a/template/en/default/bug/votes/delete-all.html.tmpl +++ b/template/en/default/bug/votes/delete-all.html.tmpl @@ -20,16 +20,18 @@ #%] [%# INTERFACE: - # This template has no interface. + # This template has no interface. #%] - + +[% PROCESS global/variables.none.tmpl %] + [% PROCESS global/header.html.tmpl title = "Remove your votes?" %] <p> - You are about to remove all of your bug votes. Are you sure you wish to - remove your vote from every bug you've voted on? + You are about to remove all of your [% terms.bug %] votes. Are you sure you wish to + remove your vote from every [% terms.bug %] you've voted on? </p> <form action="votes.cgi" method="post"> diff --git a/template/en/default/bug/votes/list-for-bug.html.tmpl b/template/en/default/bug/votes/list-for-bug.html.tmpl index 32a786aa8..b4d1ed586 100644 --- a/template/en/default/bug/votes/list-for-bug.html.tmpl +++ b/template/en/default/bug/votes/list-for-bug.html.tmpl @@ -24,14 +24,16 @@ # users: list of hashes. May be empty. Each hash has two members: # name: string. The login name of the user whose vote is attached # count: integer. The number of times that user has votes for this bug. - # total: integer. The total number of votes for this bug. + # total: integer. The total number of votes for this bug. #%] - + +[% PROCESS global/variables.none.tmpl %] + [% PROCESS global/header.html.tmpl title = "Show Votes" - h2 = "Bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>" + h2 = "$terms.Bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>" %] - + <table cellspacing="4"> <tr> <th>Who</th> diff --git a/template/en/default/bug/votes/list-for-user.html.tmpl b/template/en/default/bug/votes/list-for-user.html.tmpl index 0c1e30e6e..bcb5956ea 100644 --- a/template/en/default/bug/votes/list-for-user.html.tmpl +++ b/template/en/default/bug/votes/list-for-user.html.tmpl @@ -19,6 +19,8 @@ # Contributor(s): Gervase Markham <gerv@gerv.net> #%] +[% PROCESS global/variables.none.tmpl %] + [% PROCESS global/header.html.tmpl title = "Show Votes" h2 = voting_user.name @@ -42,7 +44,7 @@ <table cellspacing="4"> <tr> <td></td> - <th>Bug #</th> + <th>[% terms.Bug %] #</th> <th>Summary</th> <th>Votes</th> </tr> @@ -63,7 +65,7 @@ <td> <font size="-1"> (Note: only [% product.maxperbug %] vote - [% "s" IF product.maxperbug != 1 %] allowed per bug in + [% "s" IF product.maxperbug != 1 %] allowed per [% terms.bug %] in this product.) </font> </td> @@ -90,7 +92,7 @@ <input type="checkbox" name="[% bug.id %]" value="1" [% " checked" IF bug.count %]> [% ELSE %] - <input name="[% bug.id %]" value="[% bug.count %]" + <input name="[% bug.id %]" value="[% bug.count %]" size="2"> [% END %] [% ELSE %] @@ -125,7 +127,7 @@ change the checkbox [% END %] and then click <b>Change My Votes</b>. - [% END %] + [% END %] </form> [% ELSE %] <p> @@ -134,7 +136,7 @@ [% ELSE %] This user is [% END %] - currently not voting on any bugs. + currently not voting on any [% terms.bugs %]. </p> [% END %] |