[Rt-commit] r9396 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools

ruz at bestpractical.com ruz at bestpractical.com
Mon Oct 22 15:05:34 EDT 2007


Author: ruz
Date: Mon Oct 22 15:05:22 2007
New Revision: 9396

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html

Log:
* Title is not an argument anymore

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html	Mon Oct 22 15:05:22 2007
@@ -196,7 +196,12 @@
 my (@IncidentActions, @ChildActions);
 my (@watchresults, @updateresults, @finalresults);  
 
-$Title = loc("Scripted Action: Create Investigations for Incident #[_1]", $incidentid);
+my $Title;
+if ( $incidentid ) {
+    $Title = loc("Scripted Action: Create Investigations for Incident #[_1]", $incidentid);
+} else {
+    $Title = loc("Scripted Action: Create Incidents and Investigations");
+}
 
 my $template = new RT::Template($session{'CurrentUser'});
 $template->LoadGlobalTemplate($TemplateName);
@@ -483,7 +488,6 @@
 $Requestors => undef
 $servers => RT->Config->Get('whois')
 $server => undef
-$Title => loc("Scripted Action: Create Incidents and Investigations")
 $current_tab => "RTIR/Tools/ScriptedAction.html"; 
 $current_subtab => undef
 $loop => 'address'


More information about the Rt-commit mailing list