diff options
author | mkanat%bugzilla.org <> | 2009-09-30 22:39:28 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-30 22:39:28 +0000 |
commit | 58787923c838e5a1fc90d3f98e27a443bb1e1122 (patch) | |
tree | 52c55649b3d9283985a5612393ad1a9276435f94 /template/en/default/attachment/list.html.tmpl | |
parent | 832be61ce419f06cc682e7afc07d9197592a6bf5 (diff) | |
download | bugs-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar bugs-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar.gz bugs-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar.bz2 bugs-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar.xz bugs-58787923c838e5a1fc90d3f98e27a443bb1e1122.zip |
Bug 509053: Implement Bugzilla->feature (feature_enabled in the templates), and use it to detect when PatchReader is available.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/attachment/list.html.tmpl')
-rw-r--r-- | template/en/default/attachment/list.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 04894ff8d..bd597e48b 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -117,7 +117,7 @@ function toggle_display(link) { <td valign="top"> <a href="attachment.cgi?id=[% attachment.id %]&action=edit">Details</a> - [% IF attachment.ispatch && patchviewerinstalled %] + [% IF attachment.ispatch && feature_enabled('patch_viewer') %] | <a href="attachment.cgi?id=[% attachment.id %]&action=diff">Diff</a> [% END %] [% Hook.process("action") %] |