From bee1f304240ef668c53a8712d57b3e70061461f2 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 30 Oct 2010 01:44:27 +0200 Subject: Bug 608437: Unused variables passed to flag/list.html.tmpl a=LpSolit (module owner) --- template/en/default/attachment/createformcontents.html.tmpl | 2 +- template/en/default/attachment/edit.html.tmpl | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'template') diff --git a/template/en/default/attachment/createformcontents.html.tmpl b/template/en/default/attachment/createformcontents.html.tmpl index a1e168bec..f7b86f884 100644 --- a/template/en/default/attachment/createformcontents.html.tmpl +++ b/template/en/default/attachment/createformcontents.html.tmpl @@ -86,7 +86,7 @@ [% IF flag_types && flag_types.size > 0 %] - [% PROCESS "flag/list.html.tmpl" bug_id=bugid attach_id=attachid %]
+ [% PROCESS "flag/list.html.tmpl" %]
[% END %] diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index f124df43f..fc7977848 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -262,10 +262,7 @@ [% END %]
[% IF attachment.flag_types.size > 0 %] - - [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id - attach_id = attachment.id - flag_types = attachment.flag_types + [% PROCESS "flag/list.html.tmpl" flag_types = attachment.flag_types read_only_flags = !can_edit %] -- cgit v1.2.3-24-g4f1b