NewTicketWizard.tt 2.4 KB
# --
# 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>