Allow renaming the default shopping list (closes #1667)

This commit is contained in:
Bernd Bestel
2021-11-08 17:08:37 +01:00
parent edddfe234c
commit 3c656ba618
2 changed files with 4 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
- The "Below min. stock amount" filter on the stock overview page now also includes due-soon, overdue or already expired products - The "Below min. stock amount" filter on the stock overview page now also includes due-soon, overdue or already expired products
- The default shopping list (named "Shopping list"; localized) can now be renamed
- Fixed that the "Stay logged in permanently" checkbox on the login page had no effect (thanks @0) - Fixed that the "Stay logged in permanently" checkbox on the login page had no effect (thanks @0)

View File

@@ -55,7 +55,7 @@
href="{{ $U('/shoppinglist/new?embedded') }}"> href="{{ $U('/shoppinglist/new?embedded') }}">
{{ $__t('New shopping list') }} {{ $__t('New shopping list') }}
</a> </a>
<a class="btn btn-outline-dark responsive-button m-1 mt-md-0 mb-md-0 float-right show-as-dialog-link @if($selectedShoppingListId == 1) disabled @endif" <a class="btn btn-outline-dark responsive-button m-1 mt-md-0 mb-md-0 float-right show-as-dialog-link"
href="{{ $U('/shoppinglist/' . $selectedShoppingListId . '?embedded') }}"> href="{{ $U('/shoppinglist/' . $selectedShoppingListId . '?embedded') }}">
{{ $__t('Edit shopping list') }} {{ $__t('Edit shopping list') }}
</a> </a>
@@ -236,7 +236,8 @@
} }
@endphp @endphp
@endif @endif
<td data-order={{ $listItem->amount }}> <td data-order={{
$listItem->amount }}>
<span class="locale-number locale-number-quantity-amount">{{ $listItem->amount }}</span> @if(!empty($listItem->product_id)){{ $__n($listItem->amount, $listItem->qu_name, $listItem->qu_name_plural) }}@endif <span class="locale-number locale-number-quantity-amount">{{ $listItem->amount }}</span> @if(!empty($listItem->product_id)){{ $__n($listItem->amount, $listItem->qu_name, $listItem->qu_name_plural) }}@endif
</td> </td>
<td> <td>