update alert ui

This commit is contained in:
envoyr
2022-04-21 20:02:14 +02:00
parent d3ae4c5d72
commit 5752222baa
4 changed files with 11 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<div class="alert alert-{{ type|default("info") }} fade show pb-1" role="alert">
<div class="alert alert-{{ type|default("info") }} fade show" role="alert">
{% if heading is defined and heading is not empty %}
<h4 class="alert-heading">
{{ heading }}
@@ -14,7 +14,7 @@
</p>
{% endif %}
{% if redirect_link %}
<p class="mt-1 pb-3">
<p>
<a href="{{ redirect_link|raw }}" class="btn btn-{{ btntype }}">
{% if type == 'danger' %}
{{ lng('panel.back') }}