diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-14 01:32:32 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-14 01:32:32 +0100 |
commit | 217beee45f5ba22aea80c8a61a639b55fe53293c (patch) | |
tree | e7865b6ac2b112cb6f5e22f6cb5d4e7aa77fe3f8 /extensions/Voting/template/en | |
parent | f276a11f82d1670eea4014f4d87b289d4b7921ca (diff) | |
download | bugzilla-217beee45f5ba22aea80c8a61a639b55fe53293c.tar.gz bugzilla-217beee45f5ba22aea80c8a61a639b55fe53293c.tar.xz |
Bug 498309: Speed up show_bug.cgi when there are many comments by caching
field-descs globally for all template calls
r=LpSolit, a=LpSolit
Diffstat (limited to 'extensions/Voting/template/en')
-rw-r--r-- | extensions/Voting/template/en/default/hook/global/field-descs-end.none.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/Voting/template/en/default/hook/global/field-descs-end.none.tmpl b/extensions/Voting/template/en/default/hook/global/field-descs-end.none.tmpl index 2fd798084..1becab4da 100644 --- a/extensions/Voting/template/en/default/hook/global/field-descs-end.none.tmpl +++ b/extensions/Voting/template/en/default/hook/global/field-descs-end.none.tmpl @@ -18,5 +18,6 @@ # Max Kanat-Alexander <mkanat@bugzilla.org> #%] -[% field_descs.votes = "Votes" %] - +[% IF in_template_var %] + [% vars.field_descs.votes = "Votes" %] +[% END %] |