forked from leftypol/leftypol
banned.html: fix ban dates lack of space
This commit is contained in:
parent
7805530e41
commit
9de120201d
1 changed files with 2 additions and 4 deletions
|
@ -44,9 +44,7 @@
|
||||||
{% trans %} has since expired. Refresh the page to continue.{% endtrans %}
|
{% trans %} has since expired. Refresh the page to continue.{% endtrans %}
|
||||||
{% elseif ban.expires %}
|
{% elseif ban.expires %}
|
||||||
{% trans %}expires{% endtrans %} <span id="countdown">{{ ban.expires|until }}</span> {% trans %}from now, which is on{% endtrans %}
|
{% trans %}expires{% endtrans %} <span id="countdown">{{ ban.expires|until }}</span> {% trans %}from now, which is on{% endtrans %}
|
||||||
<strong>
|
<strong> {{ ban.expires|date(config.ban_date) }} </strong>
|
||||||
{{ ban.expires|date(config.ban_date) }}
|
|
||||||
</strong>
|
|
||||||
<script>
|
<script>
|
||||||
var secondsLeft = {{ ban.expires - time() }};
|
var secondsLeft = {{ ban.expires - time() }};
|
||||||
var end = new Date().getTime() + secondsLeft*1000;
|
var end = new Date().getTime() + secondsLeft*1000;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue