1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-21 15:54:22 +01:00

reorganized settings/reservations

This commit is contained in:
Sylvain 2020-05-25 16:10:40 +02:00
parent 3135abcee6
commit 2b0eb47730

View File

@ -43,32 +43,38 @@
</div> </div>
<div class="section-separator"></div> <div class="section-separator"></div>
<div class="row"> <div class="row">
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_move_their_reservations' }}</h3> <div class="col-md-6">
<boolean-setting name="booking_move_enable" settings="allSettings" label="app.admin.settings.reservations_shifting" classes="m-l"></boolean-setting> <div class="row">
</div> <h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_move_their_reservations' }}</h3>
<div class="row" ng-show="allSettings.booking_move_enable === 'true'"> <boolean-setting name="booking_move_enable" settings="allSettings" label="app.admin.settings.reservations_shifting" classes="m-l"></boolean-setting>
<number-setting name="booking_move_delay" </div>
settings="allSettings" <div class="row" ng-show="allSettings.booking_move_enable === 'true'">
label="app.admin.settings.prior_period_hours" <number-setting name="booking_move_delay"
classes="col-md-4" settings="allSettings"
fa-icon="fa-clock-o" label="app.admin.settings.prior_period_hours"
min="0" classes="col-md-8"
required="allSettings.booking_move_enable === 'true'"> fa-icon="fa-clock-o"
</number-setting> min="0"
</div> required="allSettings.booking_move_enable === 'true'">
<div class="row"> </number-setting>
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_cancel_their_reservations' }}</h3> </div>
<boolean-setting name="booking_cancel_enable" settings="allSettings" label="app.admin.settings.reservations_cancelling" classes="m-l"></boolean-setting> </div>
</div> <div class="col-md-6">
<div class="row" ng-show="allSettings.booking_cancel_enable === 'true'"> <div class="row">
<number-setting name="booking_cancel_delay" <h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_cancel_their_reservations' }}</h3>
settings="allSettings" <boolean-setting name="booking_cancel_enable" settings="allSettings" label="app.admin.settings.reservations_cancelling" classes="m-l"></boolean-setting>
label="app.admin.settings.prior_period_hours" </div>
classes="col-md-4" <div class="row" ng-show="allSettings.booking_cancel_enable === 'true'">
fa-icon="fa-clock-o" <number-setting name="booking_cancel_delay"
min="0" settings="allSettings"
required="allSettings.booking_cancel_enable === 'true'"> label="app.admin.settings.prior_period_hours"
</number-setting> classes="col-md-8"
fa-icon="fa-clock-o"
min="0"
required="allSettings.booking_cancel_enable === 'true'">
</number-setting>
</div>
</div>
</div> </div>
<div class="section-separator"></div> <div class="section-separator"></div>
<div class="row"> <div class="row">