<div ng-controller="alertasController" ng-init="carregarAlertas()">

    <div class="modal-header">
        <h3>Notificações</h3>
        <button class="btn btn-sm btn-default" ng-click="reativarAlertas()" ng-disabled="emExecucao == true">Reativar notificações ignoradas</button>
    </div>
    
    <div class="modal-body">
        
        <div class="table-responsive margem" style="height:270px; overflow:auto">
            <table class="table table-hover table-striped">
                <tr ng-repeat="info in lstItems" class="">
                    <td>
                        {{info.Descricao}}
                    </td>
                    <td style="text-align:right"><button class="btn btn-sm btn-default" ng-click="tratarDaNotificacao(info)" ng-show="info.NomeAccao!==''" ng-disabled="emExecucao == true">{{info.NomeAccao}}</button></td>
                    <td style="text-align:right"><button class="btn btn-sm btn-default" ng-click="ignoraAlerta(info)" ng-show="info.OpcaoIgnorar==true" ng-disabled="emExecucao == true">Ignorar</button></td>
                </tr>
            </table>
        </div>
    </div>
    <div class="modal-footer">
        <button class="btn btn-warning" ng-click="ok()">
            Fechar
        </button>
    </div>

</div>
