[Rt-commit] r5153 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR/Elements

ruz at bestpractical.com ruz at bestpractical.com
Wed May 3 17:23:41 EDT 2006


Author: ruz
Date: Wed May  3 17:23:39 2006
New Revision: 5153

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs

Log:
 r1397 at cubic-pc:  cubic | 2006-05-04 00:45:20 +0400
 * add 'Activate' tab for blocks


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs	Wed May  3 17:23:39 2006
@@ -195,6 +195,12 @@
                     title => loc('Quick Resolve'),
                 };
             } elsif ( $Type eq 'Block' ) {
+                if ( $Ticket->FirstCustomFieldValue('_RTIR_State') ne 'active' ) {
+                    $actions->{'Ab'} = {
+                        path  => "RTIR/Display.html?Status=open&id=$id",
+                        title => loc('Activate')
+                    };
+                }
                 $actions->{'Ac'} = {
                     path  => "RTIR/Update.html?Action=Comment&DefaultStatus=resolved&id=$id",
                     title => loc('Remove'),


More information about the Rt-commit mailing list