aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2021-07-02 09:53:19 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2021-07-02 09:53:19 +0200
commit4c1c4b93072cb3caef712658aa97cf4023a88c06 (patch)
tree0981c2bbaa4323caa32e3c46b78a29335a5c43b9
parentvarious fixes in the JavaScript functions to mark an article as read/unread a... (diff)
downloadnewspipe-4c1c4b93072cb3caef712658aa97cf4023a88c06.tar.gz
newspipe-4c1c4b93072cb3caef712658aa97cf4023a88c06.tar.bz2
newspipe-4c1c4b93072cb3caef712658aa97cf4023a88c06.zip
fixed alert messages
-rw-r--r--newspipe/templates/layout.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/newspipe/templates/layout.html b/newspipe/templates/layout.html
index 525eb426..4cb74de7 100644
--- a/newspipe/templates/layout.html
+++ b/newspipe/templates/layout.html
@@ -35,9 +35,9 @@
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
- <div class="alert alert-{{category}}" role="alert">
+ <div class="alert alert-{{category}} alert-dismissible fade show" role="alert">
{{ message }}
- <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <a type="button" data-bs-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></a>
</div>
{% endfor %}
{% endif %}
bgstack15