salix/modules/account/front/role/descriptor/index.html

28 lines
712 B
HTML

<vn-descriptor-content
module="account"
base-state="account.role"
description="$ctrl.role.name">
<slot-menu>
<vn-item
ng-click="deleteRole.show()"
name="deleteRole"
translate>
Delete
</vn-item>
</slot-menu>
<slot-body>
<div class="attributes">
<vn-label-value
label="Description"
value="{{$ctrl.role.description}}">
</vn-label-value>
</div>
</slot-body>
</vn-descriptor-content>
<vn-confirm
vn-id="delete-role"
on-accept="$ctrl.onDelete()"
question="Are you sure you want to continue?"
message="Role will be removed">
</vn-confirm>