This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/templates/yuuno/errors/banned.tpl
2015-07-30 19:07:23 +02:00

27 lines
1.1 KiB
Smarty

{% include 'global/header.tpl' %}
<div class="content">
<div class="content-column news banned">
<div style="padding: 20px;">
<h1>You are banned!</h1>
{% if ban.reason %}
<h3>The following reason was supplied:</h3>
<p>
{{ ban.reason|raw }}
</p>
{% else %}
<h3>No reason was supplied.</h3>
{% endif %}
<br />
<h2>Additional information</h2>
<ul style="margin-left: 30px;">
<li>You were banned on {{ ban.issued|date(sakura.date_format) }}.</li>
<li>{% if ban.expires %}This ban expires on {{ ban.expires|date(sakura.date_format) }}.{% else %}<b>You are permanently banned.</b>{% endif %}</li>
{% if ban.expires %}
<li>You were banned by <a href="/u/{{ ban.issuer.id }}" class="default">{{ ban.issuer.username }}</a>.</li>
{% endif %}
</ul>
</div>
</div>
</div>
{% include 'global/footer.tpl' %}