summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/list.html.tmpl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-10-01 00:39:28 +0200
committermkanat%bugzilla.org <>2009-10-01 00:39:28 +0200
commit58787923c838e5a1fc90d3f98e27a443bb1e1122 (patch)
tree52c55649b3d9283985a5612393ad1a9276435f94 /template/en/default/attachment/list.html.tmpl
parent832be61ce419f06cc682e7afc07d9197592a6bf5 (diff)
downloadbugzilla-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar.gz
bugzilla-58787923c838e5a1fc90d3f98e27a443bb1e1122.tar.xz
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.tmpl2
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 %]&amp;action=edit">Details</a>
- [% IF attachment.ispatch && patchviewerinstalled %]
+ [% IF attachment.ispatch && feature_enabled('patch_viewer') %]
| <a href="attachment.cgi?id=[% attachment.id %]&amp;action=diff">Diff</a>
[% END %]
[% Hook.process("action") %]