From 36323716c827a43a9c4b51e3471ee764d0e9cf53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 22 Jan 2023 23:47:14 +0100 Subject: [PATCH] Improved builds tab on project info page --- templates/Projects/info/_builds.html.twig | 10 +++++++--- translations/messages.en.xlf | 12 ++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/templates/Projects/info/_builds.html.twig b/templates/Projects/info/_builds.html.twig index beefd14f..5418a614 100644 --- a/templates/Projects/info/_builds.html.twig +++ b/templates/Projects/info/_builds.html.twig @@ -27,10 +27,14 @@
- + - +
- \ No newline at end of file + + +{% if project.buildPart %} +

{% trans %}project.builds.no_stocked_builds{% endtrans %}: {{ project.buildPart.amountSum }}

+{% endif %} \ No newline at end of file diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index f90a153b..e88d94cc 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -10387,5 +10387,17 @@ Element 3 Target lot + + + project.builds.number_of_builds + Build amount + + + + + project.builds.no_stocked_builds + Number of stocked builds + +