UNPKG

zettapi_client

Version:

Admin panel and client-side CRUD operations in angular to use with zettapi_server rest api to get started quickly in any CMS project.

30 lines (29 loc) 1.28 kB
<div class="col-sm-12"> <div class="table-responsive"> <table ng-table="table.params" class="table table-striped table-condensed"> <tr ng-repeat="item in $data"> <td data-title="'Activo'" sortable="'active'">{{item.active ? 'Sim' : 'Não'}}</td> <td data-title="'Alerta'" sortable="'name'">{{item.name}}</td> <td data-title="'De'"> <small ng-if="item.fromSelf">Próprio </small> <small ng-if="item.fromCoordinator">Chefia </small> <small>{{from.email.join()}}</small> </td> <td data-title="'Para'"> <small ng-if="item.toSelf">Próprio </small> <small ng-if="item.toCoordinator">Chefia </small> <small>{{to.email.join()}}</small> </td> <td data-title="'CC'"> <small ng-if="item.ccSelf">Próprio </small> <small ng-if="item.ccCoordinator">Chefia </small> <small>{{cc.email.join()}}</small> </td> <td data-title="'Anexo(s)'"><i ng-if="item.attachments ? item.attachments.length > 0 : false" class="fa fa-paperclip"></i></td> <td class="text-right"> <entity-modal entity="{{entity}}" item="item" lookup="lookup"></entity-modal> </td> </tr> </table> </div> </div>