27 lines
783 B
HTML
27 lines
783 B
HTML
|
<vn-data-viewer
|
||
|
data="data"
|
||
|
class="vn-w-xs">
|
||
|
<vn-card>
|
||
|
<vn-table>
|
||
|
<vn-tbody>
|
||
|
<vn-tr ng-repeat="row in data | orderBy:'user.name'">
|
||
|
<vn-td>{{::row.user.name}}</vn-td>
|
||
|
<vn-td shrink>
|
||
|
<vn-icon-button
|
||
|
icon="delete"
|
||
|
translate-attr="{title: 'Remove'}"
|
||
|
ng-click="removeConfirm.show(row)">
|
||
|
</vn-icon-button>
|
||
|
</vn-td>
|
||
|
</vn-tr>
|
||
|
</vn-tbody>
|
||
|
</vn-table>
|
||
|
</vn-card>
|
||
|
</vn-data-viewer>
|
||
|
<vn-confirm
|
||
|
vn-id="removeConfirm"
|
||
|
message="User will be removed from alias"
|
||
|
question="Are you sure you want to continue?"
|
||
|
on-accept="$ctrl.onRemove($data)">
|
||
|
</vn-confirm>
|