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

63 lines
2.6 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.
# --
<fieldset class="TableLike FixedLabel">
[% RenderBlockStart("ContentSmallCustomerIDStatusEscalatedTickets") %]
<label>[% Translate("Escalated tickets") | html %]:</label>
<div class="Field">
<a href="[% Env("Baselink") %]Action=AgentTicketSearch;Subaction=Search;EscalationTimeSearchType=TimePoint;TicketEscalationTimePointStart=Before;TicketEscalationTimePointFormat=minute;TicketEscalationTimePoint=1;CustomerIDRaw=[% Data.CustomerID | uri %]">
[% Data.Count | html %]
</a>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallCustomerIDStatusEscalatedTickets") %]
[% RenderBlockStart("ContentSmallCustomerIDStatusOpenTickets") %]
<label>[% Translate("Open tickets") | html %]:</label>
<div class="Field">
<a href="[% Env("Baselink") %]Action=AgentTicketSearch;Subaction=Search;StateType=Open;CustomerIDRaw=[% Data.CustomerID | uri %]">
[% Data.Count | html %]
</a>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallCustomerIDStatusOpenTickets") %]
[% RenderBlockStart("ContentSmallCustomerIDStatusClosedTickets") %]
<label>[% Translate("Closed tickets") | html %]:</label>
<div class="Field">
<a href="[% Env("Baselink") %]Action=AgentTicketSearch;Subaction=Search;StateType=Closed;CustomerIDRaw=[% Data.CustomerID | uri %]">
[% Data.Count | html %]
</a>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallCustomerIDStatusClosedTickets") %]
[% RenderBlockStart("ContentSmallCustomerIDStatusAllTickets") %]
<label>[% Translate("All tickets") | html %]:</label>
<div class="Field">
<a href="[% Env("Baselink") %]Action=AgentTicketSearch;Subaction=Search;CustomerIDRaw=[% Data.CustomerID | uri %]">
[% Data.Count | html %]
</a>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallCustomerIDStatusAllTickets") %]
[% RenderBlockStart("ContentSmallCustomerIDStatusArchivedTickets") %]
<label>[% Translate("Archived tickets") | html %]:</label>
<div class="Field">
<a href="[% Env("Baselink") %]Action=AgentTicketSearch;Subaction=Search;CustomerIDRaw=[% Data.CustomerID | uri %];SearchInArchive=ArchivedTickets">
[% Data.Count | html %]
</a>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("ContentSmallCustomerIDStatusArchivedTickets") %]
</fieldset>