QueueService.tt
3.65 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# --
# Kernel/Output/HTML/Standard/QueueService.tt - overview
#
# Copyright (C) (2014-2018) - SeTIC - UFSC - http://setic.ufsc.br/
#
# Version 2016-06-01 - Adjusts for OTRS 4
# Version 2018-01-03 - Adjusts 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("Services per queue") | html %]</h1>
[% BreadcrumbPath = [
{
Name => Translate('Services per queue'),
Link => Env("Action"),
},
]
%]
[% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]
<div class="SidebarColumn">
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Actions") | html %]</h2>
</div>
<div class="Content">
<ul class="ActionList">
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %]" class="CallForAction"><span>[% Translate("Go to overview") | html %]</span></a>
</li>
</ul>
</div>
</div>
[% RenderBlockStart("serviceFilter") %]
<div class="WidgetSimple">
<div class="Header">
<h2><label for="FilterServices">[% Translate("Services") | html %]</label></h2>
</div>
<div class="Content">
<input type="text" id="FilterUsers" class="W50pc" name="FilterUser" value="" title="[% Translate("Service") | html %]" />
</div>
</div>
[% RenderBlockEnd("serviceFilter") %]
[% RenderBlockStart("queueFilter") %]
<div class="WidgetSimple">
<div class="Header">
<h2><label for="FilterQueues">[% Translate("Queues") | html %]</label></h2>
</div>
<div class="Content">
<input type="text" id="FilterGroups" class="W50pc" name="FilterGroups" value="" title="[% Translate("Queue") | html %]"/>
</div>
</div>
[% RenderBlockEnd("queueFilter") %]
</div>
<div class="ContentColumn">
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Overview") | html %]</h2>
</div>
<div class="Content LayoutGrid ColumnsWithSpacing">
<div class="Size1of2">
<ul class="Tablelike" id="Services">
<li class="Header">[% Translate("Services") | html %]</li>
<li class="FilterMessage Hidden">[% Translate("No matches found.") | html %]</li>
[% RenderBlockStart("ListService") %]
<li><a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=ServiceEdit;ID=[% Data.ServiceID | uri %]" class="AsBlock">[% Data.ServiceName | html %]</a></li>
[% RenderBlockEnd("ListService") %]
</ul>
</div>
<div class="Size1of2">
<ul class="Tablelike" id="Queues">
<li class="Header">[% Translate("Queues") | html %]</li>
<li class="FilterMessage Hidden">[% Translate("No matches found.") | html %]</li>
[% RenderBlockStart("ListQueue") %]
<li><a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=QueueEdit;ID=[% Data.QueueID | uri %]" class="AsBlock">[% Data.QueueName | html %]</a></li>
[% RenderBlockEnd("ListQueue") %]
</ul>
</div>
<div class="Clear"></div>
</div>