From 1afb5b3bb0ac579fdd1616f701b27038feb5a375 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 4 Apr 2007 20:52:41 +0000 Subject: Bug 376497: validateID() should return an attachment object - Patch by Frédéric Buclin a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/attachment/updated.html.tmpl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'template/en/default/attachment/updated.html.tmpl') diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl index a66b74e17..fac376fdc 100644 --- a/template/en/default/attachment/updated.html.tmpl +++ b/template/en/default/attachment/updated.html.tmpl @@ -21,8 +21,7 @@ #%] [%# INTERFACE: - # bugid: integer. ID of the bug we are updating. - # attachid: integer. ID of the attachment we just attached. + # attachment: object of the attachment we just attached. #%] [% PROCESS global/variables.none.tmpl %] @@ -33,11 +32,11 @@
Changes to - attachment [% attachid %] - of [% "$terms.bug $bugid" FILTER bug_link(bugid) %] submitted + attachment [% attachment.id %] + of [% "$terms.bug $attachment.bug_id" FILTER bug_link(attachment.bug_id) FILTER none %] submitted
- [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %] + [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = attachment.bug_id %] [%# Links to more information about the changed bug. %] [% Hook.process("links") %]
-- cgit v1.2.3-24-g4f1b