Hello all,

I found that someone has done this already and I have implemented it in
our RT setup:

http://lists.bestpractical.com/pipermail/rt-users/2005-December/036007.ht
ml

but it is not working and I just don't understand why. Here is what I
added to /opt/rt3/share/html/Ticket/Elements/Tabs

if ( $Ticket->CurrentUserHasRight('ModifyTicket') ) {
   if ( $Ticket->Status ne 'resolved' ) {
       $actions->{'B'} = {

path => "Ticket/Update.html?Action=Comment&DefaultStatus=resolved&id=" . $id,
           title => loc('Resolve') };
   }
   if ( $Ticket->Status ne 'open' ) {
$actions->{'C'} = { path => "Ticket/Display.html?Status=open&id=" . $id,
                           title => loc('Open it') };
   }
   # Spam stuff.
   if ( $Ticket->CurrentUserHasRight('DeleteTicket') ) {
       $actions->{'G'} = {
                  title => loc('Spam'),
path => "Ticket/Modify.html?id=$id&Status=deleted&Queue=16" };
   }
}

However, I don't see any change at all. What else do I have to do to get this working. Note that I'm
using RT 3.4.4.

--
Bernd

________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.

_______________________________________________
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

Reply via email to