Make track now / next schedule buttons on /choresoverview swappable (closes #2424)

This commit is contained in:
Bernd Bestel
2025-01-14 19:43:12 +01:00
parent 11d28622e8
commit 9cac3b2311
6 changed files with 42 additions and 11 deletions

View File

@@ -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