diff options
author | lpsolit%gmail.com <> | 2007-04-04 22:52:41 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-04-04 22:52:41 +0200 |
commit | 1afb5b3bb0ac579fdd1616f701b27038feb5a375 (patch) | |
tree | fbe744149ea8bb87949f4357b007f6a356415194 /template/en/default/attachment/created.html.tmpl | |
parent | 52c8d09da827fbbbc4e7c34eb6c92d1408c64fb0 (diff) | |
download | bugzilla-1afb5b3bb0ac579fdd1616f701b27038feb5a375.tar.gz bugzilla-1afb5b3bb0ac579fdd1616f701b27038feb5a375.tar.xz |
Bug 376497: validateID() should return an attachment object - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
Diffstat (limited to 'template/en/default/attachment/created.html.tmpl')
-rw-r--r-- | template/en/default/attachment/created.html.tmpl | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/template/en/default/attachment/created.html.tmpl b/template/en/default/attachment/created.html.tmpl index e6037bcba..515463989 100644 --- a/template/en/default/attachment/created.html.tmpl +++ b/template/en/default/attachment/created.html.tmpl @@ -20,10 +20,7 @@ #%] [%# INTERFACE: - # bugid: integer. ID of the bug we just attached an attachment to. - # attachid: integer. ID of the attachment just created. - # description: string. Description of the attachment just created. - # contenttype: string. The Content Type we attached it as. + # attachment: object of the attachment just created. # contenttypemethod: string. How we got the content type of the attachment. # Possible values: autodetect, list, manual. #%] @@ -36,11 +33,12 @@ <dl> <dt> - <a title="[% description FILTER html %]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a> - to [% "$terms.bug $bugid" FILTER bug_link(bugid) %] created + <a title="[% attachment.description FILTER html %]" + href="attachment.cgi?id=[% attachment.id %]&action=edit">Attachment #[% attachment.id %]</a> + to [% "$terms.bug $attachment.bug_id" FILTER bug_link(attachment.bug_id) FILTER none %] created </dt> <dd> - [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = bugid %] + [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = attachment.bug_id %] [% IF convertedbmp %] <p> <b>Note:</b> [% terms.Bugzilla %] automatically converted your BMP image file to a @@ -50,9 +48,9 @@ [% IF contenttypemethod == 'autodetect' %] <p> <b>Note:</b> [% terms.Bugzilla %] automatically detected the content type - <em>[% contenttype %]</em> for this attachment. If this is - incorrect, correct the value by - editing the attachment's <a href="attachment.cgi?id=[% attachid %]&action=edit">details</a>. + <em>[% attachment.contenttype FILTER html %]</em> for this attachment. If this is + incorrect, correct the value by editing the attachment's + <a href="attachment.cgi?id=[% attachment.id %]&action=edit">details</a>. </p> [% END %] @@ -62,8 +60,8 @@ </dl> <p> -<a href="attachment.cgi?bugid=[% bugid %]&action=enter">Create - Another Attachment to [% terms.Bug %] #[% bugid %]</a> +<a href="attachment.cgi?bugid=[% attachment.bug_id %]&action=enter">Create + Another Attachment to [% terms.Bug %] #[% attachment.bug_id %]</a> </p> [% PROCESS global/footer.html.tmpl %] |