diff options
author | bbaetz%student.usyd.edu.au <> | 2002-02-26 15:13:33 +0100 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-02-26 15:13:33 +0100 |
commit | 8e03a8495526725e59ab07586afbb4130ad5f7cd (patch) | |
tree | d7faf0eda197e277cede26105763fb78a22b8bcf /template | |
parent | aa8bcb0d7a825d53a26e200c52dec2fa2f585ab1 (diff) | |
download | bugzilla-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')
-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 %] |