From a3cbf5618bb6133f8cd56d8b1d1414fe4c87e469 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Thu, 1 Sep 2005 21:02:26 +0000 Subject: Partial fix for bug 302669: rewrites Attachment.pm to provide a real Attachment class; r=lpsolit --- template/en/default/attachment/list.html.tmpl | 12 ++++++------ template/en/default/bug/show.xml.tmpl | 4 ++-- template/en/default/filterexceptions.pl | 4 ++-- template/en/default/global/user-error.html.tmpl | 11 +++++------ 4 files changed, 15 insertions(+), 16 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 4f66a5eb8..61b68ee53 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -37,7 +37,7 @@ [% IF !attachment.isprivate || canseeprivate %]
[% flag_type.name FILTER html %]
on [% terms.bug %]
[% bug_id FILTER html -%]
- [% IF attach_id %], attachment [% attach_id FILTER html %][% END %],
+ [% IF attachment %], attachment [% attachment.id FILTER html %][% END %],
but that [% terms.bug %] has been restricted to users in certain groups,
and the user you asked isn't in all the groups to which
the [% terms.bug %] has been restricted.
@@ -455,11 +455,10 @@
You asked [% requestee.identity FILTER html %]
for [% flag_type.name FILTER html %]
on
[%+ terms.bug %] [%+ bug_id FILTER html %],
- attachment [% attach_id FILTER html %], but that attachment is restricted
- to users
- in the [% Param("insidergroup") FILTER html %] group, and the user
- you asked isn't in that group. Please choose someone else to ask,
- or ask an administrator to add the user to the group.
+ attachment [% attachment.id FILTER html %], but that attachment
+ is restricted to users in the [% Param("insidergroup") FILTER html %] group,
+ and the user you asked isn't in that group. Please choose someone else
+ to ask, or ask an administrator to add the user to the group.
[% ELSIF error == "flag_type_cc_list_invalid" %]
[% title = "Flag Type CC List Invalid" %]
--
cgit v1.2.1