Files
scripts/Perl OTRS/Kernel/Output/HTML/Templates/Standard/AgentITSMWorkOrderAddFromTemplate.tt
2024-10-14 00:08:40 +02:00

61 lines
2.9 KiB
Plaintext

# --
# Copyright (C) 2001-2019 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
<div class="LayoutPopup ARIARoleMain">
<div class="Header">
<h1>[% Translate("Add Workorder to %s%s", Config("ITSMChange::Hook"), Data.ChangeNumber) | html %] &ndash; [% Data.ChangeTitle | html %]</h1>
<p>
<a href="#" class="CancelClosePopup">[% Translate("Cancel & close") | html %]</a>
</p>
</div>
<div class="Content">
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("Select Workorder Template") | html %]</h2>
</div>
<div class="Content">
<form action="[% Env("CGIHandle") %]" method="post" name="template" enctype="multipart/form-data" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="CreateFromTemplate"/>
<input type="hidden" name="ChangeID" value="[% Data.ChangeID | html %]"/>
<fieldset class="TableLike FixedLabelSmall">
<label class="Mandatory" for="TemplateID"><span class="Marker">* </span>[% Translate("Template") | html %]:</label>
<div class="Field">
[% Data.TemplateSelectionString %]
<div id="TemplateIDError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<div id="TemplateIDServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<label for="MoveTimeType">[% Translate("Time type") | html %]:</label>
<div class="Field">
[% Data.MoveTimeTypeSelectionString %]
<div id="MoveTimeTypeServerError" class="TooltipErrorMessage"><p>[% Translate("Invalid time type.") | html %]</p></div>
</div>
<label>[% Translate("New time") | html %]:</label>
<div class="Field">
[% Data.MoveTimeSelectionString %]
</div>
<div class="Field SpacingTop">
<button class="Primary CallForAction" id="SubmitTemplate" name="SubmitTemplate" title="[% Translate("Create") | html %]" type="submit" value="[% Translate("Create") | html %]"><span><i class="fa fa-check-square-o"></i> [% Translate("Create") | html %]</span></button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>