From 9eba06fcfdb08256f0d765d6420e91f431b2f353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Tue, 20 Feb 2024 16:57:43 +0100 Subject: [PATCH] Add conditional rendering for deactivated state in country template.html --- src/common/core/country/ui/template.html | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/common/core/country/ui/template.html b/src/common/core/country/ui/template.html index 0f8524025..f0a4e478a 100644 --- a/src/common/core/country/ui/template.html +++ b/src/common/core/country/ui/template.html @@ -8,6 +8,7 @@ />
+ {% if is_used %}
+ {% else %} +
+
+
Deactivated
+ + + +
+ +
+

+ This plugin need to be activated to get metrics. +

+
+
+ + {% endif %}
{% endblock %}