Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Added acl to certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
pantsel committed Oct 11, 2017
1 parent 91574dd commit 6fb8096
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions assets/js/app/certificates/certificates.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
data-ng-class="{'mdi-chevron-down': !sort.direction, 'mdi-chevron-up': sort.direction}"
></i>
</th>
<th width="1"></th>
<th width="1" ng-if="user.hasPermission($state.name.split('.')[0],'update')"></th>
<th width="1" ng-if="user.hasPermission($state.name.split('.')[0],'delete')"></th>
</tr>
<tr
dir-paginate="item in items.data | orderBy:sort.column:sort.direction | filter : filters.searchWord | itemsPerPage: itemsPerPage">
Expand All @@ -54,13 +55,13 @@
</span>
</td>
<td>{{moment().format("MMM DD YYYY @h:mm")}}</td>
<td>
<td ng-if="user.hasPermission($state.name.split('.')[0],'update')">
<button type="button" ng-click="openUploadCertsModal(item)" class="btn btn-primary btn-link">
<i class="mdi mdi-information-outline"></i>
details
</button>
</td>
<td width="1">
<td ng-if="user.hasPermission($state.name.split('.')[0],'delete')">
<button type="button" ng-click="deleteItem($index,item)" class="btn btn-danger btn-link">
<i class="mdi mdi-delete"></i>
Delete
Expand Down

0 comments on commit 6fb8096

Please sign in to comment.