summaryrefslogtreecommitdiffstats
path: root/template/default/attachment
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-02-26 15:13:33 +0100
committerbbaetz%student.usyd.edu.au <>2002-02-26 15:13:33 +0100
commit8e03a8495526725e59ab07586afbb4130ad5f7cd (patch)
treed7faf0eda197e277cede26105763fb78a22b8bcf /template/default/attachment
parentaa8bcb0d7a825d53a26e200c52dec2fa2f585ab1 (diff)
downloadbugzilla-8e03a8495526725e59ab07586afbb4130ad5f7cd.tar.gz
bugzilla-8e03a8495526725e59ab07586afbb4130ad5f7cd.tar.xz
Bug 97729 - uploaders need to be able to obsolete their own attachments
r=jake, justdave
Diffstat (limited to 'template/default/attachment')
-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 %]