mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
hide spaces in admin's price management and in plan edition if spaces are disabled
This commit is contained in:
parent
6e10377624
commit
6df0a4090e
@ -59,8 +59,8 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h3 translate>{{ 'edit_plan.spaces' }}</h3>
|
<h3 ng-hide="fablabWithoutSpaces" translate>{{ 'edit_plan.spaces' }}</h3>
|
||||||
<table class="table">
|
<table class="table" ng-hide="fablabWithoutSpaces">
|
||||||
<thead>
|
<thead>
|
||||||
<th translate>{{ 'edit_plan.space' }}</th>
|
<th translate>{{ 'edit_plan.space' }}</th>
|
||||||
<th translate>{{ 'edit_plan.hourly_rate' }}</th>
|
<th translate>{{ 'edit_plan.hourly_rate' }}</th>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<ng-include src="'<%= asset_path 'admin/pricing/machine_hours.html' %>'"></ng-include>
|
<ng-include src="'<%= asset_path 'admin/pricing/machine_hours.html' %>'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
<uib-tab heading="{{ 'pricing.spaces' | translate }}">
|
<uib-tab heading="{{ 'pricing.spaces' | translate }}" ng-hide="fablabWithoutSpaces">
|
||||||
<ng-include src="'<%= asset_path 'admin/pricing/spaces.html' %>'"></ng-include>
|
<ng-include src="'<%= asset_path 'admin/pricing/spaces.html' %>'"></ng-include>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user