Finish work on the new role group and make sure it only appears when the new layout is enabled
This commit is contained in:
parent
a4cacd7307
commit
54097c351e
9 changed files with 58 additions and 32 deletions
6
static/directives/old-role-group.html
Normal file
6
static/directives/old-role-group.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div class="btn-group btn-group-sm">
|
||||
<button ng-repeat="role in fullRoles"
|
||||
type="button" class="btn" ng-click="setRole(role.id)"
|
||||
ng-class="(currentRole == role.id) ? ('active btn-' + role.kind) : 'btn-default'"
|
||||
ng-disabled="readOnly">{{ role.title }}</button>
|
||||
</div>
|
Reference in a new issue