From 5b4c1505b7772a69dea52295f729ec8073b2e48e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 16 Feb 2026 18:29:34 +0100 Subject: [PATCH] Fixed visual bug of tags column in parts lot --- templates/parts/info/_part_lots.html.twig | 34 ++++++++++++----------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/templates/parts/info/_part_lots.html.twig b/templates/parts/info/_part_lots.html.twig index cfb7190b..70e5dc4e 100644 --- a/templates/parts/info/_part_lots.html.twig +++ b/templates/parts/info/_part_lots.html.twig @@ -41,35 +41,37 @@ {{ lot.amount | format_amount(part.partUnit, {'decimals': 5}) }} {% endif %} - - {% if lot.owner %} - + +
+ {% if lot.owner %} + {{ helper.user_icon_link(lot.owner) }} - {% endif %} - {% if lot.expirationDate %} - + {% endif %} + {% if lot.expirationDate %} + {{ lot.expirationDate | format_date() }}
- {% endif %} - {% if lot.expired %} - + {% endif %} + {% if lot.expired %} + {% trans %}part_lots.is_expired{% endtrans %} - {% endif %} - {% if lot.needsRefill %} - + {% endif %} + {% if lot.needsRefill %} + {% trans %}part_lots.need_refill{% endtrans %} - {% endif %} - {% if lot.lastStocktakeAt %} - + {% endif %} + {% if lot.lastStocktakeAt %} + {{ lot.lastStocktakeAt | format_datetime("short") }} - {% endif %} + {% endif %} +