mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
hide disabled groups
This commit is contained in:
parent
189665e53b
commit
33b146d243
@ -37,7 +37,7 @@
|
|||||||
<i class="fa fa-times"></i>
|
<i class="fa fa-times"></i>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<div class="buttons" ng-show="!rowform.$visible" ng-hide="group.slug === 'admins'">
|
<div class="buttons" ng-hide="rowform.$visible || group.slug === 'admins'">
|
||||||
<button class="btn btn-default" ng-click="rowform.$show()">
|
<button class="btn btn-default" ng-click="rowform.$show()">
|
||||||
<i class="fa fa-edit"></i> <span class="hidden-xs hidden-sm" translate>{{ 'edit' }}</span>
|
<i class="fa fa-edit"></i> <span class="hidden-xs hidden-sm" translate>{{ 'edit' }}</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:20%" translate>{{ 'pricing.machines' }}</th>
|
<th style="width:20%" translate>{{ 'pricing.machines' }}</th>
|
||||||
<th style="width:20%" ng-repeat="group in groups">
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
||||||
<span class="text-u-c text-sm">{{group.name}}</span>
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:20%" translate>{{ 'pricing.spaces' }}</th>
|
<th style="width:20%" translate>{{ 'pricing.spaces' }}</th>
|
||||||
<th style="width:20%" ng-repeat="group in groups">
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
||||||
<span class="text-u-c text-sm">{{group.name}}</span>
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:20%" translate>{{ 'pricing.trainings' }}</th>
|
<th style="width:20%" translate>{{ 'pricing.trainings' }}</th>
|
||||||
<th style="width:20%" ng-repeat="group in groups">
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
||||||
<span class="text-u-c text-sm">{{group.name}}</span>
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user