diff --git a/localization/strings.pot b/localization/strings.pot
index 7f190871..989ec81b 100644
--- a/localization/strings.pot
+++ b/localization/strings.pot
@@ -2470,3 +2470,9 @@ msgstr ""
msgid "Round up quantity amounts to the nearest whole number"
msgstr ""
+
+msgid "Stock actions"
+msgstr ""
+
+msgid "List actions"
+msgstr ""
diff --git a/public/viewjs/shoppinglist.js b/public/viewjs/shoppinglist.js
index 6eb85b6b..3cbe5f19 100644
--- a/public/viewjs/shoppinglist.js
+++ b/public/viewjs/shoppinglist.js
@@ -82,7 +82,7 @@ $(".status-filter-message").on("click", function()
$("#delete-selected-shopping-list").on("click", function()
{
- var objectName = $("#selected-shopping-list option:selected").text();
+ var objectName = $("#selected-shopping-list option:selected").attr("data-shoppinglist-name");
var objectId = $("#selected-shopping-list").val();
bootbox.confirm({
diff --git a/views/shoppinglist.blade.php b/views/shoppinglist.blade.php
index d074b436..5be83ffe 100644
--- a/views/shoppinglist.blade.php
+++ b/views/shoppinglist.blade.php
@@ -51,37 +51,47 @@
id="related-links">
@if(GROCY_FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS)
-
-
- {{ $__t('New shopping list') }}
-
-
- {{ $__t('Edit shopping list') }}
-
-
- {{ $__t('Delete shopping list') }}
-
+
@else
@endif
-
- {{ $__t('Print') }}
-
-
- {{ $__t('Add all list items to stock') }}
-
- @if(!boolval($userSettings['shopping_list_auto_add_below_min_stock_amount']))
-
- {{ $__t('Add products that are below defined min. stock amount') }}
-
+
+ @if(GROCY_FEATURE_FLAG_STOCK)
+
@endif
-
- {{ $__t('Add overdue/expired products') }}
-
diff --git a/views/stockoverview.blade.php b/views/stockoverview.blade.php
index 9aa19c2b..44bfa899 100755
--- a/views/stockoverview.blade.php
+++ b/views/stockoverview.blade.php
@@ -35,13 +35,7 @@
href="{{ $U('/stockentries') }}">
{{ $__t('Stock entries') }}
- @if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)
-
- {{ $__t('Location Content Sheet') }}
-
- @endif
- @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
+ @if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING || GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
@endif