Skip to content

Commit

Permalink
fix(plugins): fix feature state ribbon for dark
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 16, 2023
1 parent 260c6ce commit c56433b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div class="max-w-4xl xl:max-w-5xl 2xl:max-w-6xl mx-auto w-full text-xs md:text-sm">
<div class="max-w-4xl xl:max-w-5xl 2xl:max-w-6xl mx-auto w-full text-xs md:text-sm text-base-content dark:text-base-300">
{% 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 %}
<div class="bg-warning text-center py-2 text-base-content rounded-b">
<div class="bg-warning text-center py-2 rounded-b">
鈿狅笍
<span class="uppercase font-semibold">warning:</span>
the functionality of this plugin is not guaranteed to be stable and may change in the future
</div>
{% elif request.plugin.app_config.feature_state == request.plugin.app_config.FeatureState.DEPRECATED %}
<div class="bg-error text-center py-2 text-base-content rounded-b">
<div class="bg-error text-center py-2 rounded-b">
鈿狅笍
<span class="uppercase font-semibold">warning:</span>
the functionality of this plugin is deprecated and will be removed in the future
Expand Down
1 change: 0 additions & 1 deletion fiesta/templates/fiesta/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
</div>

{% if request.plugin and request.user.is_authenticated %}

{% include "plugins/feature_state_ribbon.html" %}
{% endif %}

Expand Down

0 comments on commit c56433b

Please sign in to comment.