summaryrefslogtreecommitdiffstats
path: root/template/default/attachment/list.atml
diff options
context:
space:
mode:
Diffstat (limited to 'template/default/attachment/list.atml')
-rwxr-xr-xtemplate/default/attachment/list.atml6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/default/attachment/list.atml b/template/default/attachment/list.atml
index 90306a65b..f8fe4c96d 100755
--- a/template/default/attachment/list.atml
+++ b/template/default/attachment/list.atml
@@ -61,7 +61,11 @@
</td>
<td valign="top">
- <a href="attachment.cgi?id=[% attachment.attachid %]&action=edit">Edit</a>
+ [% IF attachment.canedit %]
+ <a href="attachment.cgi?id=[% attachment.attachid %]&action=edit">Edit</a>
+ [% ELSE %]
+ None
+ [% END %]
</td>
</tr>
[% END %]