To follow up with a late reply on this thread,
I wanted to do the same thing as Bill.
I poked around for a while but was not successful in adding a delete
button.
However, I did improve the situation; i added a delete link that
takes me to a "resolve" page with status preselected as "delete".
It was a simple change to the html/Elements/MyRequests file. Diff
below, or at http://people.internet2.edu/~danno/rt
--- MyRequests 2006-04-17 16:39:03.000000000 -0400
+++ MyRequests.orig 2005-02-01 09:20:40.000000000 -0500
@@ -47,17 +47,13 @@
title => loc("[_1] newest unowned tickets", $rows),
title_href => "Search/Results.html".$QueryString &>
<& /Elements/TicketList,
- Format => "'<a href=\"$RT::WebPath/Ticket/Display.html?
id=__id__\">__id__</a>/TITLE:#',
- '<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__
\">__Subject__</a>/TITLE:Subject',
- QueueName,
- ExtendedStatus,
- CreatedRelative,
- '<A HREF=\"$RT::WebPath/Ticket/Display.html?Action=Take&id=__id__
\">Take</a>/TITLE: '.'<A HREF=\"$RT::WebPath/Ticket/Update.html?
Action=Comment&DefaultStatus=deleted&id=__id__\">Delete</a>/
TITLE: ' ",
+ Format => "'<a href=\"$RT::WebPath/Ticket/Display.html?
id=__id__\">__id__</a>/TITLE:#', '<a href=\"$RT::WebPath/Ticket/
Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', QueueName,
ExtendedStatus, CreatedRelative, '<A HREF=\"$RT::WebPath/Ticket/
Display.html?Action=Take&id=__id__\">".loc('Take')."</a>/
TITLE: ' ",
Query => $Query,
OrderBy => 'Created',
Order => 'DESC',
ShowNavigation => 0,
Rows => $rows
+
&>
</&>
<%init>
On Apr 30, 2007, at 12:16 PM, William (Bill) Triest wrote:
Basically a lot of spam gets through our spam filtering and ends up
in rt. We hacked an older version of rt to have a delete button to
the right of the take button under RT at a glance so we could
easily delete spam. I've been trying to find "the right way" to do
add it back to our current version (3.6.3).
If you go to Customize "N" newest unowned tickets, you can add new
Columns. For the link option you have Display or Take. I think I
just need to add a delete option, and then add a Column (similar to
the loc(Take) that's currently in there). Is this correct? If so,
for the life of me I can't find what I need to edit it, and would
appreciate some one pointing me in the right direction.
--Bill Triest
Systems Specialist
Department of Chemistry
The Ohio State University
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly
Media. Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com