<div data-ng-include="'views/header.html'"></div><div class="container"><div my-title title="{{'CIRCULARES' | translate}}"></div><div>{{Legenda}}</div><div class="row"><div class="col-md-12"><div my-no-data-warning warning="{{'NAO_EXISTEM_CIRCULARES' | translate}}" data-ng-if="showNoData"></div><div style="padding:2px;" data-ng-if="!showNoData"><table class="table table-bordered table-condensed table-responsive" style="margin:1px;"><thead><tr><th width="65%" class="text-center" translate="ASSUNTO"></th><th width="10%" class="text-center" translate="INICIO"></th><th width="10%" class="text-center" translate="TERMO"></th><th width="5%" class="text-center"><i class="fa fa-eye"></i></th><th width="5%" class="text-center"><i class="fa fa-download"></i></th><th width="5%" class="text-center"></th></tr></thead><tr class="clickable" data-ng-repeat="item in circulares"><td style="vertical-align: middle">{{ item.Circular.Assunto }}</td><td class="text-center" style="vertical-align: middle">{{ item.Circular.DisponivelDe | date:'dd/MM/yyyy' }}</td><td class="text-center" style="vertical-align: middle">{{ item.Circular.DisponivelAte | date:'dd/MM/yyyy' }}</td><td class="text-center" style="vertical-align: middle"><i class="fa fa-check" data-ng-if="item.Lida"></i></td><td class="text-center"><i class="fa fa-file dropdown-toggle" data-toggle="dropdown" data-display="static" aria-haspopup="true" aria-expanded="false" data-ng-if="item.Ficheiros && item.Ficheiros.length === 1" data-ng-repeat="file in item.Ficheiros" data-ng-click="downloadCircular(file.IDFicheiro)"></i><div class="btn-group" data-ng-if="item.Ficheiros && item.Ficheiros.length > 1"><i class="fa fa-file dropdown-toggle" data-toggle="dropdown" data-display="static" aria-haspopup="true" aria-expanded="false"></i><div class="dropdown-menu dropdown-menu-lg-right"><button type="button" class="btn-link" style="text-align: left; display: block" data-ng-repeat="file in item.Ficheiros" data-ng-click="downloadCircular(file.IDFicheiro)">{{ file.NomeDoFicheiro }}</button></div></div></td><td class="text-center"><a translate="CONSULTAR" data-ng-click="openDetails(item.Circular.Id)"></a></td></tr></table></div></div></div><div my-reports reports="relatorios"></div></div><div data-ng-include="'views/footer.html'"></div>