mirror of
https://github.com/grocy/grocy.git
synced 2025-08-26 23:40:21 +00:00
Make track now / next schedule buttons on /choresoverview swappable (closes #2424)
This commit is contained in:
@@ -13,17 +13,31 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-12">
|
||||
<h4 ">{{ $__t('Chores overview') }}</h4>
|
||||
|
||||
@include('components.numberpicker', array(
|
||||
'id' => 'chores_due_soon_days',
|
||||
'additionalAttributes' => 'data-setting-key="chores_due_soon_days"',
|
||||
'label' => 'Due soon days',
|
||||
'min' => 0,
|
||||
'additionalCssClasses' => 'user-setting-control',
|
||||
'hint' => $__t('Set to 0 to hide due soon filters/highlighting')
|
||||
))
|
||||
'additionalAttributes' => 'data-setting-key=" chores_due_soon_days"', 'label'=> 'Due soon days',
|
||||
'min' => 0,
|
||||
'additionalCssClasses' => 'user-setting-control',
|
||||
'hint' => $__t('Set to 0 to hide due soon filters/highlighting')
|
||||
))
|
||||
|
||||
<a href="{{ $U('/choresoverview') }}"
|
||||
class="btn btn-success">{{ $__t('OK') }}</a>
|
||||
<div class="form-group">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox"
|
||||
class="form-check-input custom-control-input user-setting-control"
|
||||
id="chores_overview_swap_tracking_buttons"
|
||||
data-setting-key="chores_overview_swap_tracking_buttons">
|
||||
<label class="form-check-label custom-control-label"
|
||||
for="chores_overview_swap_tracking_buttons">
|
||||
{{ $__t('Swap track next schedule / track now buttons') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="{{ $U('/choresoverview') }}"
|
||||
class="btn btn-success">{{ $__t('OK') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
Reference in New Issue
Block a user