Skip to content
Snippets Groups Projects
Verified Commit 102b0d68 authored by ornanovitch's avatar ornanovitch
Browse files

fix: make the alert easier to read

parent 3cee099b
No related branches found
No related tags found
1 merge request!50Resolve "Activation de la 2FA avec TOTP et interface utilisateurice"
......@@ -82,7 +82,9 @@
<section class="content">
<div class="container-fluid">
{% for category, message in get_flashed_messages(with_categories=True) or [] %}
<div class="alert alert-{{ category or "info" }}">{{ message }}</div>
<div class="col-md-6 col">
<div class="alert alert-{{ category or "info" }}">{{ message }}</div>
</div>
{% endfor %}
{% if current_user.time_to_deletion and current_user.time_to_deletion() %}
<div class="alert alert-warning">{% trans %}Your account has no active profile, it will be deleted in{% endtrans %} {{ utils.babel.dates.format_timedelta(current_user.time_to_deletion()) }}</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment