summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment/list.html.tmpl')
-rw-r--r--template/en/default/attachment/list.html.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index fc5852923..598f8172b 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -69,8 +69,12 @@
<td valign="top">
[% IF attachment.canedit %]
<a href="attachment.cgi?id=[% attachment.attachid %]&amp;action=edit">Edit</a>
- [% ELSE %]
- None
+ [% END %]
+ [% IF attachment.ispatch %]
+ [% IF attachment.canedit %]
+ |
+ [% END %]
+ <a href="attachment.cgi?id=[% attachment.attachid %]&amp;action=diff">Diff</a>
[% END %]
</td>
</tr>