<div class="dialog-header-confirm modal-header">
    <button class="close" ng-click="$ctrl.no()" type=button>&times;</button>
    <h4 class="modal-title">
        <span class="fas fa-question-circle"></span> 
        <span translate="ui-grid-st-confirm-deletion" translate-values="{{$ctrl.header.values}}"></span>
    </h4>
</div>
<div class="modal-body">
    <ul class="list-group">
        <li class="list-group-item list-group-item-action ui-grid-st-deletion-animation" 
            ng-repeat="row in $ctrl.data"
            ng-class="{'not-removable': row.notRemovable}"
            tooltip-enable="row.notRemovable" 
            tooltip-popup-delay="378" 
            uib-tooltip="{{$ctrl.config.verify.msg | translate}}">

            <span ng-if="!$ctrl.config.noLabel" translate="{{$ctrl.config.label || $ctrl.config.confirmDeletion}}"></span>: 
            <span ng-bind="$ctrl._get(row, $ctrl.config.confirmDeletion)"></span>
            <div class="loading-bar-spinner-list pull-right" ng-if="$ctrl.config.loading">
                <div class="spinner-icon"></div>
            </div>
            <a class="badge badge-danger" ng-if="$ctrl.config.deleteFromList">
                <span class="fas fa-times" ng-click="$ctrl.remove(row)"></span>
            </a>
        </ul>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" ng-click="$ctrl.yes()" type="button" ng-disabled="!$ctrl.hasRemovables" translate="DIALOGS_YES"></button>
    <button class="btn btn-default" ng-click="$ctrl.no()" type="button" translate="DIALOGS_NO"></button>
</div>