Remove obsolete banner

This commit is contained in:
c0ffeeca7 2023-05-12 17:30:38 +02:00
parent bd3863e510
commit 6ffbad2850

View File

@ -19,18 +19,20 @@ layout: default
{% endif %}
{% endfor %}
{% endfor %}
{% if active_alert != "" %}
<div class="integration-alert-container">
<a class="integration-alert" href="{{active_alert}}" target="_blank">
<svg preserveAspectRatio="xMidYMid meet" focusable="false" role="img" aria-hidden="true" viewBox="0 0 24 24" color="currentColor">
<g><path d="M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"></path></g>
</svg>
<div class="content">There is an active alert for this integration!</div>
<div class="learn-more">LEARN MORE</div>
</a>
</div>
{% unless page.url contains "/integrations/hassio" %}
{% if active_alert != "" %}
<div class="integration-alert-container">
<a class="integration-alert" href="{{active_alert}}" target="_blank">
<svg preserveAspectRatio="xMidYMid meet" focusable="false" role="img" aria-hidden="true" viewBox="0 0 24 24" color="currentColor">
<g><path d="M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"></path></g>
</svg>
<div class="content">There is an active alert for this integration!</div>
<div class="learn-more">LEARN MORE</div>
</a>
</div>
{% endif %}
{% endunless %}
{% endif %}
{% endif %}
<hr class="divider" />
{% endif %}
{{ content }}