[Rt-commit] r7223 - in rtir/branches/2.3-EXPERIMENTAL/html/RTIR: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Mar 13 08:46:19 EDT 2007
Author: ruz
Date: Tue Mar 13 08:46:14 2007
New Revision: 7223
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html
Log:
* send DisplayPath and ForwardPath to the history comp
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html Tue Mar 13 08:46:14 2007
@@ -203,13 +203,14 @@
</td>
</tr>
</table>
-<& /Ticket/Elements/ShowHistory ,
- Ticket => $Ticket,
- Collapsed => $ARGS{'Collapsed'},
- ShowHeaders => $ARGS{'ShowHeaders'},
- UpdatePath => RT->Config->Get('WebPath') ."/RTIR/Update.html",
-&>
-
+<& /Ticket/Elements/ShowHistory,
+ Ticket => $Ticket,
+ Collapsed => $ARGS{'Collapsed'},
+ ShowHeaders => $ARGS{'ShowHeaders'},
+ DisplayPath => RT->Config->Get('WebPath') ."/RTIR/Display.html?id=$id",
+ UpdatePath => RT->Config->Get('WebPath') ."/RTIR/Update.html",
+ ForwardPath => RT->Config->Get('WebPath') ."/RTIR/Forward.html",
+&>
<%INIT>
my ($name);
my $Ticket = new RT::Ticket( $session{'CurrentUser'} );
@@ -228,6 +229,7 @@
my $Type = RT::IR::TicketType( Queue => $QueueObj );
return $m->comp( '/Ticket/Display.html', %ARGS ) unless $Type;
+
if ($Type eq 'Block' && RT->Config->Get('RTIR_DisableBlocksQueue') ) {
Abort(loc("Blocks queue is disabled via config file"));
}
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html Tue Mar 13 08:46:14 2007
@@ -231,14 +231,14 @@
% }
</td></tr></table>
-<& /Ticket/Elements/ShowHistory ,
- Ticket => $TicketObj,
- Collapsed => $ARGS{'Collapsed'},
+<& /Ticket/Elements/ShowHistory,
+ Ticket => $TicketObj,
+ Collapsed => $ARGS{'Collapsed'},
ShowHeaders => $ARGS{'ShowHeaders'},
- UpdatePath => RT->Config->Get('WebPath') ."/RTIR/Update.html",
-&>
-
-
+ DisplayPath => RT->Config->Get('WebPath') ."/RTIR/Display.html?id=$id",
+ UpdatePath => RT->Config->Get('WebPath') ."/RTIR/Update.html",
+ ForwardPath => RT->Config->Get('WebPath') ."/RTIR/Forward.html",
+&>
<%INIT>
if ($SelectedTicket) {
$id = $SelectedTicket;
More information about the Rt-commit
mailing list