# --
# AgentStatsDelete.dtl - provides HTML form for delete a Stats
# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
# --
# $Id: AgentStatsDelete.dtl,v 1.18 2012/11/20 15:18:51 mh 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">
    <div class="W33pc SpacingTopLarge SpacingBottomLarge CenterBox">
        <div class="WidgetSimple">
            <div class="Header">
                <h2>$Text{"Delete stat"}</h2>
            </div>
            <div class="Content">

                <form action="$Env{"CGIHandle"}" method="post" enctype="multipart/form-data">
                    <input type="hidden" name="Action" value="$Env{"Action"}"/>
                    <input type="hidden" name="Subaction" value="Delete"/>
                    <input type="hidden" name="Status" value="Action"/>
                    <input type="hidden" name="StatID" value="$QData{"StatID"}"/>

                    <fieldset class="TableLike">
                        <label>$Text{"$Config{"Stats::StatsHook"}"}:</label>
                        <div class="Value">$QData{"StatNumber"}</div>
                        <div class="Clear"></div>

                        <label>$Text{"Title"}:</label>
                        <div class="Value">$QData{"Title"}</div>
                        <div class="Clear"></div>
                    </fieldset>

                    <p class="Center">
                        $Text{"Do you really want to delete this stat?"}
                    </p>
                    <p class="Center SpacingTopSmall">
                        <button type="submit" name="Yes" value="$Text{"Yes"}">$Text{"Yes"}</button>
                        <button type="submit" name="No" value="$Text{"No"}">$Text{"No"}</button>
                        <a href="$Env{"Baselink"}$Env{"LastStatsView"}">$Text{"Back"}</a>
                    </p>
                </form>
            </div>
        </div>
    </div>
</div>
