<div class="umb-dialog umb-pane" ng-controller="Umbraco.Editors.Media.DeleteController">
    <div class="umb-dialog-body" auto-scale="90">

        <div ng-show="success">
            <div class="alert alert-success">
                <strong>{{currentNode.name}}</strong>
                <localize key="actions_wasDeleted">was deleted</localize>
            </div>
            <button class="btn btn-primary" ng-click="close()">Ok</button>
        </div>

        <div ng-hide="success">
            <p class="abstract">
                <localize key="defaultdialogs_confirmdelete">Are you sure you want to delete</localize> <strong>{{currentNode.name}}</strong>?
            </p>

            <div class="umb-alert umb-alert--warning" ng-show="currentNode.trashed">
                <localize key="defaultdialogs_recycleBinWarning">When items are deleted from the recycle bin, they will be gone forever</localize>.
            </div>

            <umb-confirm on-confirm="performDelete" on-cancel="close" confirm-button-style="danger"></umb-confirm>
        </div>

    </div>
</div>
