Use this listbox allow speed go to other Queue.
Diff:
Code: Select all
diff -ruN /opt/Paths/ORIGIN/AgentTicketOverviewNavBar.dtl /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOverviewNavBar.dtl
--- /opt/Paths/ORIGIN/AgentTicketOverviewNavBar.dtl 2010-02-06 09:42:17.000000000 +1000
+++ /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOverviewNavBar.dtl 2010-06-28 10:45:59.000000000 +1100
@@ -13,8 +13,20 @@
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr>
<td class="mainhead">
+ <table border="0" width="100%" cellspacing="0" cellpadding="3">
+ <tr>
+ <td class="mainhead">
$Env{"Box0"}$Text{"$QData{"TitleName"}"}: $Text{"$QData{"TitleValue"}"}$Env{"Box1"}
- </td>
+ </td>
+ <td align="right" width="10" class="mainhead">
+ <form action="$Env{"CGIHandle"}" method="get">
+ <input type="hidden" name="Action" value="AgentTicketQueue"/>
+ $Data{"MoveQueuesSpeed"}
+ </form>
+ </td>
+ </tr>
+ </table>
+ </td>
</tr>
<!-- dtl:block:OverviewNavBarMain -->
<tr>
diff -ruN /opt/otrs/Kernel/Output/HTML/LayoutTicket.pm.orig /opt/otrs/Kernel/Output/HTML/LayoutTicket.pm
--- /opt/otrs/Kernel/Output/HTML/LayoutTicket.pm.orig 2010-02-06 09:42:17.000000000 +1000
+++ /opt/otrs/Kernel/Output/HTML/LayoutTicket.pm 2010-06-28 11:22:15.000000000 +1100
@@ -985,7 +985,17 @@
Action => 'Action=' . $Env->{LayoutObject}->{Action},
Link => $Param{LinkPage},
);
-
+# ULiX: Start add block for SpeedNav
+ my $CustomQueue = $Self->{LayoutObject}->{LanguageObject}->Get($Self->{ConfigObject}->Get('Ticket::CustomQueue') || '???');
+ #my %AllQueues = $Self->{QueueObject}->GetAllQueues(UserID => $Self->{UserID}, Type => 'ro');
+ my %AllQueues = $Self->{TicketObject}->MoveList(UserID => $Self->{UserID},Type => 'ro',Action => $Env->{Action},);
+ $Self->{QueueObject}->{"QG::GetAllQueues::UserID::$Self->{UserID}"} = undef;
+ $AllQueues{0}=$CustomQueue;
+ $Param{'MoveQueuesSpeed'} = $Self->{LayoutObject}->AgentQueueListOption(
+ Name => 'QueueID',
+ Data => \%AllQueues,
+ SelectedID => $Env->{QueueID},
+ OnChangeSubmit => 'submit()',
+ );
+# ULiX: Stop add block for SpeedNav
$Env->{LayoutObject}->Block(
Name => 'OverviewNavBar',
Data => \%Param,