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
|
@ -31,7 +31,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>
|
<p>
|
||||||
{% trans %}Your ban was filed on{% endtrans %}
|
{% 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 config.show_modname %}
|
||||||
{% if ban.username %}
|
{% if ban.username %}
|
||||||
{% trans %}by{% endtrans %} <strong> {{ ban.username }} </strong>
|
{% trans %}by{% endtrans %} <strong> {{ ban.username }} </strong>
|
||||||
|
@ -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