From: Frédéric Buclin Date: Fri, 27 Aug 2010 19:53:10 +0000 (+0200) Subject: Bug 398701: Replace |FILTER url_quote| by |FILTER uri|, including extensions/Voting X-Git-Tag: bugzilla-4.1.1~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e244627ee131c348f6ca7e821ca64b6aa2119ac9;p=thirdparty%2Fbugzilla.git Bug 398701: Replace |FILTER url_quote| by |FILTER uri|, including extensions/Voting r/a=mkanat --- diff --git a/extensions/Voting/template/en/default/hook/admin/products/updated-changes.html.tmpl b/extensions/Voting/template/en/default/hook/admin/products/updated-changes.html.tmpl index 139fc641bd..af2b1c1028 100644 --- a/extensions/Voting/template/en/default/hook/admin/products/updated-changes.html.tmpl +++ b/extensions/Voting/template/en/default/hook/admin/products/updated-changes.html.tmpl @@ -59,7 +59,7 @@ [% IF changes.too_many_votes.size %] [% FOREACH detail = changes.too_many_votes %] →removed votes for [% terms.bug %] + [%- detail.id FILTER uri %]"> [%- detail.id FILTER html %] from [% detail.name FILTER html %]
[% END %] [% ELSE %] @@ -72,7 +72,7 @@ [% IF changes.too_many_total_votes.size %] [% FOREACH detail = changes.too_many_total_votes %] →removed votes for [% terms.bug %] + [%- detail.id FILTER uri %]"> [%- detail.id FILTER html %] from [% detail.name FILTER html %]
[% END %] [% ELSE %] diff --git a/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl b/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl index 606f981ee7..fea82601a8 100644 --- a/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl +++ b/extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl @@ -26,7 +26,7 @@ [% IF bug.votes %] with + [%- bug.id FILTER uri %]"> [%- bug.votes %] [% IF bug.votes == 1 %] vote @@ -35,7 +35,7 @@ [% END %] [% END %] (vote) + [%- bug.id FILTER uri %]#vote_ + [%- bug.id FILTER uri %]">vote) [% END %] diff --git a/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl b/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl index 03434a5053..0aa7072b74 100644 --- a/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl @@ -45,7 +45,7 @@ + [%- voter.id FILTER uri %]"> [% voter.login_name FILTER email FILTER html %] diff --git a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl index 8000792243..f2ac160f85 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -93,7 +93,7 @@ [% product.name FILTER html %] ([% terms.bug %] list) + [%- product.bug_ids.join(",") FILTER uri %]">([% terms.bug %] list) [% IF product.maxperbug < product.maxvotes AND @@ -149,7 +149,7 @@ [% IF canedit %] or - view all + view all as [% terms.bug %] list

@@ -163,7 +163,7 @@ [% END %] and then click Change My Votes. [% ELSE %] - View all + View all as [% terms.bug %] list [% END %]