Revised the indent of the flashed success messages in the base template of the test site.

This commit is contained in:
依瑪貓 2023-05-19 18:04:08 +08:00
parent b397515457
commit 08fdf59844

View File

@ -121,10 +121,10 @@ First written: 2023/1/27
{% if messages %} {% if messages %}
{% for category, message in messages %} {% for category, message in messages %}
{% if category == "success" %} {% if category == "success" %}
<div class="alert alert-success alert-dismissible fade show" role="alert"> <div class="alert alert-success alert-dismissible fade show" role="alert">
{{ message }} {{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> </div>
{% elif category == "error" %} {% elif category == "error" %}
<div class="alert alert-danger alert-dismissible fade show" role="alert"> <div class="alert alert-danger alert-dismissible fade show" role="alert">
<strong>{{ _("Error:") }}</strong> {{ message }} <strong>{{ _("Error:") }}</strong> {{ message }}