NewTicketWizard.tt
2.4 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
# --
# Kernel/Output/HTML/Standard/NewTicketWizard.tt - template for new ticket wizard - SeTIC - UFSC - http://setic.ufsc.br/
# Rodrigo Gonçalves - rodrigo.g@ufsc.br
#
# Version 01/12/2015 - Support for OTRS 4.0.3
# Version 2017-12-19 - Support 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="btn-group pull-right">
[% RenderBlockStart("ToolBarPublic") %]
[% RenderBlockEnd("ToolBarPublic") %]
[% RenderBlockStart("ToolBarCustomer") %]
<a target="_new" href="/otrs/customer.pl?Action=CustomerTicketOverview;Subaction=MyTickets">
<button type="button" class="btn-lg btn-default">
<span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
[% Translate("Tickets") %]
</button>
</a>
[% RenderBlockEnd("ToolBarCustomer") %]
</div>
<div class="panel">
<div class="panel-heading ">
<h1>[% Translate("Tickets") | html %]</h1>
</div>
</div>
[% RenderBlockStart("MaintenancesPanel") %]
<div class="panel panel-warning">
<div class="panel-heading">
<span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span> <strong>[% Translate("The following maintenances are in progress") | html %]</strong>
</div>
<div class="panel-body">
<ol>
[% RenderBlockStart("MaintenanceLine") %]
<li>[% Data.Message %] ([% Translate("Started at: ") | html %] [% Data.StartDate %])</li>
[% RenderBlockEnd("MaintenanceLine") %]
</ol>
</div>
</div>
[% RenderBlockEnd("MaintenancesPanel") %]
<div class="panel panel-primary">
<div class="panel-heading">
<strong>[% Data.MsgChooseService %]</strong>
</div>
<div class="panel-body">
<label for="ServiceID">[% Translate("Service") | html %]:</label>
<span id="serviceDIV">
[% Data.ServiceStrg %]
</span>
</div>
[% RenderBlockStart("UnauthenticatedMessage") %]
[% RenderBlockEnd("UnauthenticatedMessage") %]
</div>
<div class="panel panel-primary" style="display: none" id="formPanel">
<div class="panel-heading">
<strong>[% Translate("Please fill the following form to open your ticket") | html %]</strong>
</div>
<div class="panel-body" id="formTicket">
</div>
</div>
<script src="[% Config("Frontend::RichTextPath") %]ckeditor.js" type="text/javascript"></script>