# --
# AgentDashboardCustomerIDStatus.dtl - provides HTML for global dashboard
# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
# --
# $Id: AgentDashboardCustomerIDStatus.dtl,v 1.8 2012/12/03 10:22:09 mg Exp $
# --
# 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.
# --


<fieldset class="TableLike FixedLabel">

<!-- dtl:block:ContentSmallCustomerIDStatusEscalatedTickets -->
    <label>$Text{"Escalated tickets"}:</label>
    <div class="Field">
        <a href="$Env{"Baselink"}Action=AgentTicketSearch;Subaction=Search;EscalationTimeSearchType=TimePoint;TicketEscalationTimePointStart=Before;TicketEscalationTimePointFormat=minute;TicketEscalationTimePoint=1;CustomerID=$LQData{"CustomerID"}">
            $QData{"Count"}
        </a>
    </div>
    <div class="Clear"></div>
<!-- dtl:block:ContentSmallCustomerIDStatusEscalatedTickets -->

<!-- dtl:block:ContentSmallCustomerIDStatusOpenTickets -->
    <label>$Text{"Open tickets"}:</label>
    <div class="Field">
        <a href="$Env{"Baselink"}Action=AgentTicketSearch;Subaction=Search;StateType=Open;CustomerID=$LQData{"CustomerID"}">
            $QData{"Count"}
        </a>
    </div>
    <div class="Clear"></div>
<!-- dtl:block:ContentSmallCustomerIDStatusOpenTickets -->

<!-- dtl:block:ContentSmallCustomerIDStatusClosedTickets -->
    <label>$Text{"Closed tickets"}:</label>
    <div class="Field">
        <a href="$Env{"Baselink"}Action=AgentTicketSearch;Subaction=Search;StateType=Closed;CustomerID=$LQData{"CustomerID"}">
            $QData{"Count"}
        </a>
    </div>
    <div class="Clear"></div>
<!-- dtl:block:ContentSmallCustomerIDStatusClosedTickets -->

<!-- dtl:block:ContentSmallCustomerIDStatusAllTickets -->
    <label>$Text{"All tickets"}:</label>
    <div class="Field">
        <a href="$Env{"Baselink"}Action=AgentTicketSearch;Subaction=Search;CustomerID=$LQData{"CustomerID"}">
            $QData{"Count"}
        </a>
    </div>
    <div class="Clear"></div>
<!-- dtl:block:ContentSmallCustomerIDStatusAllTickets -->

<!-- dtl:block:ContentSmallCustomerIDStatusArchivedTickets -->
    <label>$Text{"Archived tickets"}:</label>
    <div class="Field">
        <a href="$Env{"Baselink"}Action=AgentTicketSearch;Subaction=Search;CustomerID=$LQData{"CustomerID"};SearchInArchive=ArchivedTickets">
            $QData{"Count"}
        </a>
    </div>
    <div class="Clear"></div>
<!-- dtl:block:ContentSmallCustomerIDStatusArchivedTickets -->

</fieldset>