#0832 Remove Delete Link
Is it possible to remove the Delete issue link?
We need to amke sure no issues can be deleted for auditing purposes.
I am able to change some of the menu items via the manage interface but this one isn't among them.
Thanks,
Greg.
9 months and 2 weeks and 6 days old
The short answer is no you can't. You have to override the template that includes it. Find it in the source code (zpt folder) and use showCheckoutableTemplates to check it out.
An alternative is to write a monkey patch.
Peter,
OK. I finally worked out that the easiest way for me to do this was to checkout and edit the form_delete.zpt and remove the active part of that file. I also replaced the text with a notice that deleting of issues is not allowed.
It took me a long to me to work out that using checkuotabletemplates the changes are only effective while the item is checked out. i.e. I was checking items out, editing them, retracting them and wondering why the changes weren't working. A clarification of the use of this tool may help.
Thanks,
Greg.
CheckoutableTemplates isn't for the faint-hearted. At least it makes things possible.
Peter,
Checkoutable templates is a great tool and an excellent addition to Issue Tracker. I was just pointing out that it's use isn't intuitive. i.e. Changes are only valid while the item is checked out.
So some metnion of this in the documentation would be useful.
Thanks,
Greg.