Align access control groups

This commit is contained in:
Johannes Zellner
2016-12-08 22:40:40 +01:00
parent 8bd0d7c143
commit 4993c5010b
2 changed files with 4 additions and 4 deletions

View File

@@ -102,9 +102,9 @@
Restrict to groups <span class="label label-danger" ng-show="appConfigure.accessRestrictionOption === 'groups' && !appConfigure.isAccessRestrictionValid()">Select at least one group</span>
</label>
</div>
<div ng-show="groups.length <= 1">No groups available. Create groups to restrict access to them first.</div>
<div ng-show="groups.length <= 1" style="margin-left: 20px;">No groups available. Create groups to restrict access to them first.</div>
<div>
<div>
<div style="margin-left: 20px;">
<span ng-repeat="group in groups | ignoreAdminGroup">
<button class="btn btn-default" type="button" ng-disabled="appConfigure.accessRestrictionOption !== 'groups'" ng-click="appConfigureToggleGroup(group);" ng-class="{ 'btn-primary': (appConfigure.accessRestriction.groups && appConfigure.accessRestriction.groups.indexOf(group.id) !== -1) }">{{ group.name }}</button>
</span>