From fcd8d205d3255d24ae7e8c8e157a545aaadfdfd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Wed, 18 Jan 2023 23:15:31 +0100 Subject: [PATCH] Added an alert to the build tab, when a part has a status other than "in_production". --- templates/Projects/info/_builds.html.twig | 6 ++++++ translations/messages.en.xlf | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/templates/Projects/info/_builds.html.twig b/templates/Projects/info/_builds.html.twig index 170edbb9..394aecd4 100644 --- a/templates/Projects/info/_builds.html.twig +++ b/templates/Projects/info/_builds.html.twig @@ -2,6 +2,12 @@ {% import "components/projects.macro.html.twig" as project_macros %} +{% if project.status is not empty and project.status != "in_production" %} + +{% endif %} +