From ddb5db354ac1b55ce99c9d0e977a2a63099f4c21 Mon Sep 17 00:00:00 2001
From: Frédéric Buclin
Date: Fri, 23 Jul 2010 00:46:02 +0200
Subject: Bug 398701: Replace |FILTER url_quote| by |FILTER uri| r/a=mkanat
---
template/en/default/admin/milestones/confirm-delete.html.tmpl | 4 ++--
template/en/default/admin/milestones/footer.html.tmpl | 10 +++++-----
template/en/default/admin/milestones/list.html.tmpl | 8 ++++----
3 files changed, 11 insertions(+), 11 deletions(-)
(limited to 'template/en/default/admin/milestones')
diff --git a/template/en/default/admin/milestones/confirm-delete.html.tmpl b/template/en/default/admin/milestones/confirm-delete.html.tmpl
index ea89b8021..068e8e254 100644
--- a/template/en/default/admin/milestones/confirm-delete.html.tmpl
+++ b/template/en/default/admin/milestones/confirm-delete.html.tmpl
@@ -52,8 +52,8 @@
[% IF milestone.bug_count %]
+ href="buglist.cgi?target_milestone=[% milestone.name FILTER uri %]&product=
+ [%- product.name FILTER uri %]">
[% milestone.bug_count FILTER none %]
[% ELSE %]
None
diff --git a/template/en/default/admin/milestones/footer.html.tmpl b/template/en/default/admin/milestones/footer.html.tmpl
index e91e5f9ad..1cae69e17 100644
--- a/template/en/default/admin/milestones/footer.html.tmpl
+++ b/template/en/default/admin/milestones/footer.html.tmpl
@@ -40,7 +40,7 @@
[% UNLESS no_add_milestone_link %]
Add a milestone.
+ [%- product.name FILTER uri %]">Add a milestone.
[% END %]
[% IF milestone.name && !no_edit_milestone_link %]
@@ -48,20 +48,20 @@
title="Edit Milestone '[% milestone.name FILTER html %]' of product '
[%- product.name FILTER html %]'"
href="editmilestones.cgi?action=edit&product=
- [%- product.name FILTER url_quote %]&milestone=
- [%- milestone.name FILTER url_quote %]">
+ [%- product.name FILTER uri %]&milestone=
+ [%- milestone.name FILTER uri %]">
'[% milestone.name FILTER html %]'.
[% END %]
[% UNLESS no_edit_other_milestones_link %]
Edit other milestones of product '[% product.name FILTER html %]'.
+ [%- product.name FILTER uri %]">'[% product.name FILTER html %]'.
[% END %]
Edit product '[% product.name FILTER html %]'.
+ [%- product.name FILTER uri %]">'[% product.name FILTER html %]'.
diff --git a/template/en/default/admin/milestones/list.html.tmpl b/template/en/default/admin/milestones/list.html.tmpl
index 9422855ac..56f621e1e 100644
--- a/template/en/default/admin/milestones/list.html.tmpl
+++ b/template/en/default/admin/milestones/list.html.tmpl
@@ -37,11 +37,11 @@
%]
[% edit_contentlink = BLOCK %]editmilestones.cgi?action=edit&product=
- [%- product.name FILTER url_quote %]&milestone=%%name%%[% END %]
+ [%- product.name FILTER uri %]&milestone=%%name%%[% END %]
[% delete_contentlink = BLOCK %]editmilestones.cgi?action=del&product=
- [%- product.name FILTER url_quote %]&milestone=%%name%%[% END %]
+ [%- product.name FILTER uri %]&milestone=%%name%%[% END %]
[% bug_count_contentlink = BLOCK %]buglist.cgi?target_milestone=%%name%%&product=
- [%- product.name FILTER url_quote %][% END %]
+ [%- product.name FILTER uri %][% END %]
[% columns = [
@@ -96,7 +96,7 @@
[% IF ! showbugcounts %]
-
+
Redisplay table with [% terms.bug %] counts (slower)
[% END %]
--
cgit v1.2.3-24-g4f1b