[Bps-public-commit] r9544 - RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Elements/Tabs

ruz at bestpractical.com ruz at bestpractical.com
Fri Nov 2 16:20:35 EDT 2007


Author: ruz
Date: Fri Nov  2 16:20:35 2007
New Revision: 9544

Modified:
   RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Elements/Tabs/Default

Log:
* indent

Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Elements/Tabs/Default
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Elements/Tabs/Default	(original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Elements/Tabs/Default	Fri Nov  2 16:20:35 2007
@@ -10,22 +10,21 @@
 }
 
 if (my $Lock = $Ticket->Locked()) {
-    if ($Lock->Content->{'User'} == $session{'CurrentUser'}->id) {
-        $actions->{'Lock'} = { 
-                    path  => "Ticket/Display.html?Lock=remove&id=" . $Ticket->Id,
-                    title => loc('Unlock') 
-                    };
+    if ( $Lock->Content->{'User'} == $session{'CurrentUser'}->id ) {
+        $actions->{'Lock'} = {
+            path  => "Ticket/Display.html?Lock=remove&id=" . $Ticket->Id,
+            title => loc('Unlock') 
+        };
     } else {
-        $actions->{'Lock'} = { 
-                    path  => "Ticket/Display.html?Lock=break&id=" . $Ticket->Id,
-                    title => loc('Break lock') 
-                    };
-
+        $actions->{'Lock'} = {
+            path  => "Ticket/Display.html?Lock=break&id=" . $Ticket->Id,
+            title => loc('Break lock') 
+        };
     }
 } else {
-    $actions->{'Lock'} = { 
-                    path  => "Ticket/Display.html?Lock=add&id=" . $Ticket->Id,
-                    title => loc('Lock') 
-                    };
+    $actions->{'Lock'} = {
+        path  => "Ticket/Display.html?Lock=add&id=". $Ticket->Id,
+        title => loc('Lock') 
+    };
 }
 </%INIT>



More information about the Bps-public-commit mailing list