diff options
author | bbaetz%student.usyd.edu.au <> | 2002-02-26 14:13:33 +0000 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-02-26 14:13:33 +0000 |
commit | 8e03a8495526725e59ab07586afbb4130ad5f7cd (patch) | |
tree | d7faf0eda197e277cede26105763fb78a22b8bcf /template/default/attachment | |
parent | aa8bcb0d7a825d53a26e200c52dec2fa2f585ab1 (diff) | |
download | bugs-8e03a8495526725e59ab07586afbb4130ad5f7cd.tar bugs-8e03a8495526725e59ab07586afbb4130ad5f7cd.tar.gz bugs-8e03a8495526725e59ab07586afbb4130ad5f7cd.tar.bz2 bugs-8e03a8495526725e59ab07586afbb4130ad5f7cd.tar.xz bugs-8e03a8495526725e59ab07586afbb4130ad5f7cd.zip |
Bug 97729 - uploaders need to be able to obsolete their own attachments
r=jake, justdave
Diffstat (limited to 'template/default/attachment')
-rwxr-xr-x | template/default/attachment/list.atml | 6 |
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 %] |