diff options
author | mkanat%bugzilla.org <> | 2009-08-06 17:02:47 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-08-06 17:02:47 +0200 |
commit | c048675731f016f0b4b7eb1b901ad0c3d8dd69dd (patch) | |
tree | ce860df6342dd3d04c4da9c340dcfbb73bf1c746 /template/en/default/attachment | |
parent | c427a6f710a60ffbca41b3cca62de949f1407059 (diff) | |
download | bugzilla-c048675731f016f0b4b7eb1b901ad0c3d8dd69dd.tar.gz bugzilla-c048675731f016f0b4b7eb1b901ad0c3d8dd69dd.tar.xz |
Bug 508737: Allow Bugzilla::Template::get_bug_link to take a Bugzilla::Bug object if one is available
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/attachment/show-multiple.html.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index f725f1076..c265ae567 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -26,7 +26,7 @@ [%# Define strings that will serve as the title and header of this page %] [% title = BLOCK %]Create New Attachment for [% terms.Bug %] #[% bug.bug_id %][% END %] [% header = BLOCK %]Create New Attachment for - [%+ "$terms.Bug $bug.bug_id" FILTER bug_link(bug.bug_id) FILTER none %][% END %] + [%+ "$terms.Bug $bug.bug_id" FILTER bug_link(bug) FILTER none %][% END %] [% subheader = BLOCK %][% bug.short_desc FILTER html %][% END %] [% PROCESS global/header.html.tmpl diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl index 36088c96c..1f8cab88a 100644 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -21,7 +21,7 @@ [% PROCESS global/variables.none.tmpl %] [% filtered_summary = bugsummary FILTER html %] [% header = BLOCK %]View All Attachments for - [%+ "$terms.Bug $bug.bug_id" FILTER bug_link(bug.bug_id) FILTER none %][% END %] + [%+ "$terms.Bug $bug.id" FILTER bug_link(bug) FILTER none %][% END %] [% title = BLOCK %] View All Attachments for [% terms.Bug %] [%+ bug.bug_id FILTER html %] |