From c56433b0794b36b7fdc23a6a3b63b92ed0a86f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kol=C3=A1=C5=99?= Date: Thu, 16 Nov 2023 12:10:28 +0100 Subject: [PATCH] fix(plugins): fix feature state ribbon for dark --- .../plugins/templates/plugins/feature_state_ribbon.html | 6 +++--- fiesta/templates/fiesta/base.html | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fiesta/apps/plugins/templates/plugins/feature_state_ribbon.html b/fiesta/apps/plugins/templates/plugins/feature_state_ribbon.html index b7da6ae5..a91b81c1 100644 --- a/fiesta/apps/plugins/templates/plugins/feature_state_ribbon.html +++ b/fiesta/apps/plugins/templates/plugins/feature_state_ribbon.html @@ -1,14 +1,14 @@ -
+
{% if request.plugin.app_config.feature_state == request.plugin.app_config.FeatureState.STABLE %} {% elif request.plugin.app_config.feature_state == request.plugin.app_config.FeatureState.EXPERIMENTAL %} -
+
⚠️ warning: the functionality of this plugin is not guaranteed to be stable and may change in the future
{% elif request.plugin.app_config.feature_state == request.plugin.app_config.FeatureState.DEPRECATED %} -
+
⚠️ warning: the functionality of this plugin is deprecated and will be removed in the future diff --git a/fiesta/templates/fiesta/base.html b/fiesta/templates/fiesta/base.html index 40e56372..db3445e8 100644 --- a/fiesta/templates/fiesta/base.html +++ b/fiesta/templates/fiesta/base.html @@ -76,7 +76,6 @@
{% if request.plugin and request.user.is_authenticated %} - {% include "plugins/feature_state_ribbon.html" %} {% endif %}