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
|
# --
# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/
# --
# 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.
# --
[% RenderBlockStart("RichText") %]
<script src="[% Config("Frontend::RichTextPath") %]ckeditor.js" type="text/javascript"></script>
[% RenderBlockEnd("RichText") %]
<div class="MainBox ARIARoleMain FormScreen">
<h1>[% Translate("Create New Process Ticket") | html %]</h1>
<p class="AsteriskExplanation">[% Translate("All fields marked with an asterisk (*) are mandatory.") | html %]</p>
<div class="ContentColumn">
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" name="compose" id="NewProcessTicket" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="DisplayActivityDialog"/>
<input type="hidden" name="FormID" value="[% Data.FormID | html %]"/>
<fieldset class="TableLike">
[% RenderBlockStart("ProcessList") %]
<label class="Mandatory" for="ProcessEntityID"><span class="Marker">*</span>[% Translate("Process") | html %]:</label>
<div class="Field">
[% Data.ProcessList %]
<div id="ProcessEntityIDError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<div id="ProcessEntityIDServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div class="Spacing Clear"></div>
[% RenderBlockEnd("ProcessList") %]
</fieldset>
</form>
<div id="AJAXLoader" class="Spacing Center Hidden">
<span class="AJAXLoader" title="[% Translate("Loading") | html %]"></span>
</div>
<div id="ActivityDialogContent"></div>
</div>
</div>
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
Core.Agent.TicketProcess.Init();
//]]></script>
[% RenderBlockStart("PreSelectProcess") %]
<script type="text/javascript">//<![CDATA[
$('#ProcessEntityID').val('[% Data.ProcessID | html %]').trigger('change');
//]]></script>
[% RenderBlockEnd("PreSelectProcess") %]
[% END %]
|