AgentsPerQueue.tt
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# --
# ResponsibilityMatrix.tt - provides HTML for ResponsibilityMatrix
#
# Copyright (C) 2014 SeTIC - UFSC - http://setic.ufsc.br/
# Rodrigo Goncalves - rodrigo.g@ufsc.br
#
# Version 2015-01-15 - Adjustments for OTRS 4
# Version 2018-01-25 - Refactoring for OTRS 6
#
#
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
#
<div class="MainBox ARIARoleMain LayoutFixedSidebar SidebarFirst"><h1>[% Translate("Agents per queue") | html %]</h1>
[% BreadcrumbPath = [
{
Name => Translate('Agents per queue matrix'),
Link => Env("Action"),
},
]
%]
[% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]
</div>
<table class="DataTable SpacingTop" style="width: 80%; margin-left: 10%; margin-bottom: 50px;">
<thead>
<tr>
<th ROWSPAN="1" style="text-align: center; vertical-align: middle">[% Translate("ID") | html %]</th>
<th ROWSPAN="1" style="text-align: center; vertical-align: middle">[% Translate("Agent") | html %]</th>
<th ROWSPAN="1" style="text-align: center; vertical-align: middle">[% Translate("Paths") | html %]</th>
<th ROWSPAN="1" style="text-align: center; vertical-align: middle">[% Translate("Queues") | html %]</th>
</tr>
</thead>
<tbody>
[% RenderBlockStart("QueuesPerAgent") %]
<tr><td>[% Data.ID %]</td><td>[% Data.Agent %]</td>
<td>
<div style="width:100%; max-height:200px; overflow:auto">[% Data.Paths %]</div>
</td>
<td>
<div style="width:100%; max-height:200px; overflow:auto">[% Data.Queues %]</div>
</td>
</tr>
[% RenderBlockEnd("QueuesPerAgent") %]
</tbody>
</table>