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

41 lines
1.4 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.
# --
[% RenderBlockStart("NoWorkOrderInCondition") %]
<fieldset class="TableLike W300px">
<label>[% Translate("Title") | html %]:</label>
<p class="Value">
[% Data.WorkOrderTitle | html %]
</p>
<div class="Clear"></div>
</fieldset>
<p class="SpacingTop Center">
[% Translate("Do you really want to delete this workorder?") | html %]
</p>
[% RenderBlockEnd("NoWorkOrderInCondition") %]
[% RenderBlockStart("WorkOrderInCondition") %]
<p>
[% Translate("You can not delete this Workorder. It is used in at least one Condition!") | html %]
</p>
<p class="SpacingTop SpacingBottom">
[% Translate("This Workorder is used in the following Condition(s)") | html %]:
</p>
<ul>
[% RenderBlockStart("WorkOrderInConditionRow") %]
<li class="Indent SpacingBottomSmall">
<a href="[% Env("Baselink") %]Action=AgentITSMChangeConditionEdit;ChangeID=[% Data.ChangeID | uri %];ConditionID=[% Data.ConditionID | uri %]" class="AsPopupDialog">
[% Data.Name | html %]
</a>
</li>
[% RenderBlockEnd("WorkOrderInConditionRow") %]
</ul>
[% RenderBlockEnd("WorkOrderInCondition") %]