diff options
author | lpsolit%gmail.com <> | 2008-09-08 21:21:24 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-09-08 21:21:24 +0000 |
commit | 4dd427ea99673391d923db9682836d344f178b54 (patch) | |
tree | 15cac366546a970dfbe8a0ed7163976f09dfbfb2 /template/en | |
parent | 1d66aab134be7002268c4da177bbf4870ac90d6d (diff) | |
download | bugs-4dd427ea99673391d923db9682836d344f178b54.tar bugs-4dd427ea99673391d923db9682836d344f178b54.tar.gz bugs-4dd427ea99673391d923db9682836d344f178b54.tar.bz2 bugs-4dd427ea99673391d923db9682836d344f178b54.tar.xz bugs-4dd427ea99673391d923db9682836d344f178b54.zip |
Bug 453743: Decrease the number of calls to the DB about flags when viewing a bug - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 49c28aa64..8d0422065 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -29,7 +29,7 @@ Attachment [% attachment.id %] Details for [%+ "$terms.Bug ${attachment.bug_id}" FILTER bug_link(attachment.bug_id) FILTER none %] [% END %] -[% subheader = BLOCK %][% bugsummary FILTER html %][% END %] +[% subheader = BLOCK %][% attachment.bug.short_desc FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title @@ -250,9 +250,11 @@ <br> </small> - [% IF flag_types.size > 0 %] + [% IF attachment.flag_types.size > 0 %] [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id - attach_id = attachment.id %]<br> + attach_id = attachment.id + flag_types = attachment.flag_types + %]<br> [% END %] <div id="smallCommentFrame"> |