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

79 lines
3.1 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("History of %s%s-%s", Config("ITSMWorkOrder::Hook"), Data.ChangeNumber, Data.WorkOrderNumber) | html %] &ndash; [% Data.WorkOrderTitle | truncate(60) | 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("History Content") | html %]
</h2>
</div>
<div class="Content">
<table class="DataTable">
<thead>
<tr>
<th>[% Translate("Action") | html %]</th>
<th>[% Translate("Comment") | html %]</th>
<th>[% Translate("Details") | html %]</th>
<th>[% Translate("Workorder") | html %]</th>
<th>[% Translate("User") | html %]</th>
<th>[% Translate("Createtime") | html %]</th>
</tr>
</thead>
<tbody>
[% RenderBlockStart("Row") %]
<tr>
<td>
[% Data.HistoryType | html %]
</td>
<td>
[% Data.Content | truncate(100) | html %]
</td>
<td>
[% RenderBlockStart("NoHistoryZoom") %]
-
[% RenderBlockEnd("NoHistoryZoom") %]
[% RenderBlockStart("ShowHistoryZoom") %]
<a class="AsBlock" href="[% Env("Baselink") %]Action=AgentITSMWorkOrderHistoryZoom;HistoryEntryID=[% Data.HistoryEntryID %]">[% Translate("Show details") | html %]</a>
[% RenderBlockEnd("ShowHistoryZoom") %]
</td>
<td align="center">
[% RenderBlockStart("ShowWorkOrderZoom") %]
<a class="LinkITSMWorkOrderZoomView AsBlock" href="[% Env("Baselink") %]Action=AgentITSMWorkOrderZoom;WorkOrderID=[% Data.WorkOrderID %]">[% Translate("Show workorder") | html %]</a>
[% RenderBlockEnd("ShowWorkOrderZoom") %]
</td>
<td>
[% Data.UserFullname | html %]
</td>
<td>
[% Data.CreateTime | Localize("TimeLong") %]
</td>
</tr>
[% RenderBlockEnd("Row") %]
</tbody>
</table>
</div>
</div>
</div>
<div class="Footer">
</div>
</div>