Fixed broken HTML markup (fixes #2867)

This commit is contained in:
Bernd Bestel 2026-01-31 23:48:17 +01:00
parent 2a124a3d47
commit 471f21e992
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
3 changed files with 29 additions and 22 deletions

View File

@ -17,6 +17,7 @@
- Fixed that German Umlauts and other special characters were removed from product names when looking up a barcode via the built-in Open Food Facts external barcode lookup plugin - Fixed that German Umlauts and other special characters were removed from product names when looking up a barcode via the built-in Open Food Facts external barcode lookup plugin
- Fixed that when using/scanning a barcode on the purchase page with a note attached (which prefills the note field) and when manually selecting another product afterwards, the note of the previously used barcode was incorrectly prefilled again - Fixed that when using/scanning a barcode on the purchase page with a note attached (which prefills the note field) and when manually selecting another product afterwards, the note of the previously used barcode was incorrectly prefilled again
- Fixed that the "next input focus handling" (jumping to the next input after entering a value) didn't work at some places (e.g. after entering a purchased date on the purchase page) - Fixed that the "next input focus handling" (jumping to the next input after entering a value) didn't work at some places (e.g. after entering a purchased date on the purchase page)
- Fixed that changing the stock setting "Due soon days" wasn't saved/applied
### Shopping list ### Shopping list
@ -33,7 +34,7 @@
### Chores ### Chores
- xxx - Fixed that changing the chore setting "Due soon days" wasn't saved/applied
### Calendar ### Calendar

View File

@ -17,14 +17,17 @@
@include('components.numberpicker', array( @include('components.numberpicker', array(
'id' => 'batteries_due_soon_days', 'id' => 'batteries_due_soon_days',
'additionalAttributes' => 'data-setting-key=" batteries_due_soon_days"', 'label'=> 'Due soon days', 'additionalAttributes' => 'data-setting-key="batteries_due_soon_days"',
'label'=> 'Due soon days',
'min' => 0, 'min' => 0,
'additionalCssClasses' => 'user-setting-control', 'additionalCssClasses' => 'user-setting-control',
'hint' => $__t('Set to 0 to hide due soon filters/highlighting') 'hint' => $__t('Set to 0 to hide due soon filters/highlighting')
)) ))
<a href="{{ $U('/batteriesoverview') }}" <a href="{{ $U('/batteriesoverview') }}"
class="btn btn-success">{{ $__t('OK') }}</a> class="btn btn-success">
{{ $__t('OK') }}
</a>
</div> </div>
</div> </div>
@stop @stop

View File

@ -13,31 +13,34 @@
<div class="row"> <div class="row">
<div class="col-lg-4 col-md-8 col-12"> <div class="col-lg-4 col-md-8 col-12">
<h4 ">{{ $__t('Chores overview') }}</h4> <h4>{{ $__t('Chores overview') }}</h4>
@include('components.numberpicker', array( @include('components.numberpicker', array(
'id' => 'chores_due_soon_days', 'id' => 'chores_due_soon_days',
'additionalAttributes' => 'data-setting-key=" chores_due_soon_days"', 'label'=> 'Due soon days', 'additionalAttributes' => 'data-setting-key="chores_due_soon_days"',
'min' => 0, 'label'=> 'Due soon days',
'additionalCssClasses' => 'user-setting-control', 'min' => 0,
'hint' => $__t('Set to 0 to hide due soon filters/highlighting') 'additionalCssClasses' => 'user-setting-control',
)) 'hint' => $__t('Set to 0 to hide due soon filters/highlighting')
))
<div class="form-group"> <div class="form-group">
<div class="custom-control custom-checkbox"> <div class="custom-control custom-checkbox">
<input type="checkbox" <input type="checkbox"
class="form-check-input custom-control-input user-setting-control" class="form-check-input custom-control-input user-setting-control"
id="chores_overview_swap_tracking_buttons" id="chores_overview_swap_tracking_buttons"
data-setting-key="chores_overview_swap_tracking_buttons"> data-setting-key="chores_overview_swap_tracking_buttons">
<label class="form-check-label custom-control-label" <label class="form-check-label custom-control-label"
for="chores_overview_swap_tracking_buttons"> for="chores_overview_swap_tracking_buttons">
{{ $__t('Swap track next schedule / track now buttons') }} {{ $__t('Swap track next schedule / track now buttons') }}
</label> </label>
</div>
</div> </div>
</div>
<a href="{{ $U('/choresoverview') }}" <a href="{{ $U('/choresoverview') }}"
class="btn btn-success">{{ $__t('OK') }}</a> class="btn btn-success">
{{ $__t('OK') }}
</a>
</div> </div>
</div> </div>
@stop @stop