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.
10 lines • 568 B
HTML
<p>
<span ng-if="!containerItem.document">{{containerItem.name}}</span>
<a ng-if="!!containerItem.document" ng-href="api/document/download/{{containerItem.document._id ? containerItem.document._id : containerItem.document}}" target="_blank">
<i class="fa fa-download" aria-hidden="true"></i> {{containerItem.name}}
</a>
<span ng-if="containerItem.cid">(cid: {{containerItem.cid}})</span>
</p>
<p ng-if="containerItem.created_at">
{{'api.containers.attachments.view.since' | translate}} {{containerItem.created_at | date: 'yyyy-MM-dd'}}
</p>