banned.html: fix ban dates lack of space

This commit is contained in:
Zankaria 2024-04-10 14:12:02 +02:00
parent 7805530e41
commit 9de120201d

View File

@ -31,7 +31,7 @@
{% endif %}
<p>
{% trans %}Your ban was filed on{% endtrans %}
<strong>{{ ban.created|date(config.ban_date) }}</strong>
<strong> {{ ban.created|date(config.ban_date) }}</strong>
{% if config.show_modname %}
{% if ban.username %}
{% trans %}by{% endtrans %} <strong> {{ ban.username }} </strong>
@ -44,9 +44,7 @@
{% trans %} has since expired. Refresh the page to continue.{% endtrans %}
{% elseif ban.expires %}
{% trans %}expires{% endtrans %} <span id="countdown">{{ ban.expires|until }}</span> {% trans %}from now, which is on{% endtrans %}
<strong>
{{ ban.expires|date(config.ban_date) }}
</strong>
<strong> {{ ban.expires|date(config.ban_date) }} </strong>
<script>
var secondsLeft = {{ ban.expires - time() }};
var end = new Date().getTime() + secondsLeft*1000;