Show a little optional checkbox to mark recipe ingredients as done (closes #1606)

This commit is contained in:
Bernd Bestel
2022-04-01 22:43:49 +02:00
parent ba289d6e6a
commit 8c1deefebf
7 changed files with 51 additions and 0 deletions

View File

@@ -28,6 +28,23 @@
</div>
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="checkbox"
class="form-check-input custom-control-input user-setting-control"
id="recipes_show_ingredient_checkbox"
data-setting-key="recipes_show_ingredient_checkbox">
<label class="form-check-label custom-control-label"
for="recipes_show_ingredient_checkbox">
{{ $__t('Show a little checkbox next to each ingredient to mark it as done') }}
<i class="fas fa-question-circle text-muted"
data-toggle="tooltip"
data-trigger="hover click"
title="{{ $__t('The ingredient is crossed out when clicked, the status is not saved, means reset when the page is reloaded') }}"></i>
</label>
</div>
</div>
<h4 class="mt-2">{{ $__t('Recipe card') }}</h4>
<div class="form-group">
<div class="custom-control custom-checkbox">