# --
# AgentStatsOverview.dtl - provides HTML form for lists stats
# Copyright (C) 2001-2010 OTRS AG, http://otrs.org/
# --
# $Id: AgentStatsOverview.dtl,v 1.19 2010/11/18 11:36:56 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.
# --

<div class="MainBox AriaRoleMain LayoutFixedSidebar SidebarFirst">
    <h1>$Text{"Overview"}: $Text{"Stats"}</h1>

    <div class="SidebarColumn">
        <div class="WidgetSimple">
            <div class="Header">
                <h2>$Text{"Actions"}</h2>
            </div>
            <div class="Content">
                <ul class="ActionList">
                    <li>
                        <a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=Add" class="CallForAction Plus"><span>$Text{"Add"}</span></a>
                    </li>
                    <li>
                        <a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=Import" class="CallForAction"><span>$Text{"Import"}</span></a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="ContentColumn">
        <div class="WidgetSimple">
            <div class="Header">
                <h2>$Text{"List"}</h2>
            </div>
            <div class="Content">

                <table class="Sortable DataTable">
                    <thead>
                        <tr>
                            <th class="$QData{"CSSSortID"}">

                                <a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=Overview;Direction=$LQData{"LinkSortID"};OrderBy=ID;StartHit=$LQData{"StartHit"}">
                                    $Text{"$Config{"Stats::StatsHook"}"}
                                </a>
                            </th>
                            <th class="$QData{"CSSSortTitle"}">
                                <a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=Overview;Direction=$LQData{"LinkSortTitle"};OrderBy=Title;StartHit=$LQData{"StartHit"}">
                                    $Text{"Title"}
                                </a>
                            </th>
                            <th class="$QData{"CSSSortObject"}">
                                <a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=Overview;Direction=$LQData{"LinkSortObject"};OrderBy=Object;StartHit=$LQData{"StartHit"}">
                                    $Text{"Object"}
                                </a>
                            </th>
                            <th>
                                <span>$Text{"Description"}</span>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
<!-- dtl:block:Result -->
                        <tr>
                            <td>
                                <a href="$Env{"Baselink"}Action=$Env{"Action"};Subaction=View;StatID=$LQData{"StatID"}" class="AsBlock">
                                    $QData{"StatNumber"}
                                </a>
                            </td>
                            <td>$QData{"Title"}</td>
                            <td>$Text{"$Data{"ObjectName"}"}</td>
                            <td title="$QData{"Description"}">$QData{"Description","50"}</td>
                        </tr>
<!-- dtl:block:Result -->
                    </tbody>
                </table>

                <p class="SpacingTopSmall">
                    $Data{"ResultLong"}
                    $Data{"SiteNavBarLong"}
                </p>
            </div>
        </div>
    </div>

</div>
