From 3c656ba6187f06d822566dc4b3e7e1e66f62b354 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Mon, 8 Nov 2021 17:08:37 +0100 Subject: [PATCH] Allow renaming the default shopping list (closes #1667) --- changelog/65_UNRELEASED_xxxx-xx-xx.md | 1 + views/shoppinglist.blade.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/changelog/65_UNRELEASED_xxxx-xx-xx.md b/changelog/65_UNRELEASED_xxxx-xx-xx.md index 0e97145e..07adfd5b 100644 --- a/changelog/65_UNRELEASED_xxxx-xx-xx.md +++ b/changelog/65_UNRELEASED_xxxx-xx-xx.md @@ -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 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) diff --git a/views/shoppinglist.blade.php b/views/shoppinglist.blade.php index 683de96f..dabe99dd 100644 --- a/views/shoppinglist.blade.php +++ b/views/shoppinglist.blade.php @@ -55,7 +55,7 @@ href="{{ $U('/shoppinglist/new?embedded') }}"> {{ $__t('New shopping list') }} - {{ $__t('Edit shopping list') }} @@ -236,7 +236,8 @@ } @endphp @endif - amount }}> + amount }}> {{ $listItem->amount }} @if(!empty($listItem->product_id)){{ $__n($listItem->amount, $listItem->qu_name, $listItem->qu_name_plural) }}@endif