From cee6c0ef11a7b4e5a8bcc5a19ae71ea52141e504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 22 Feb 2026 22:03:46 +0100 Subject: [PATCH] Added a "create from label scan button to navbar" --- templates/_navbar.html.twig | 9 +++++++++ translations/messages.en.xlf | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/templates/_navbar.html.twig b/templates/_navbar.html.twig index 54be3fd0..57331370 100644 --- a/templates/_navbar.html.twig +++ b/templates/_navbar.html.twig @@ -60,6 +60,15 @@ {% endif %} + + {% if is_granted("@tools.label_scanner") %} +
  • + + + {% trans %}parts.create_from_scan.title{% endtrans %} + +
  • + {% endif %} {% endif %} {% if is_granted('@parts.import') %} diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 31bc3884..b786957a 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -12563,5 +12563,11 @@ Buerklin-API Authentication server: Create [part] from barcode + + + parts.create_from_scan.title + Create [part] from label scan + +