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/templates/yuuno/main/banned.twig

31 lines
1.2 KiB
Twig
Raw Normal View History

2016-01-04 20:14:09 +00:00
{% extends 'global/master.twig' %}
{% block title %}You are banned!{% endblock %}
{% block content %}
2015-07-30 01:12:53 +00:00
<div class="content">
<div class="content-column news banned">
<div style="padding: 20px;">
2015-11-10 14:23:20 +00:00
<h1>You got dunked on!</h1>
2015-07-30 17:07:23 +00:00
{% if ban.reason %}
2015-07-30 01:12:53 +00:00
<h3>The following reason was supplied:</h3>
<p>
2015-07-30 17:07:23 +00:00
{{ ban.reason|raw }}
2015-07-30 01:12:53 +00:00
</p>
2015-07-30 17:07:23 +00:00
{% else %}
<h3>No reason was supplied.</h3>
{% endif %}
2015-07-30 01:12:53 +00:00
<br />
<h2>Additional information</h2>
<ul style="margin-left: 30px;">
2015-08-20 23:17:27 +00:00
<li>You were banned on {{ ban.issued|date(sakura.dateFormat) }}.</li>
<li>{% if ban.expires %}This ban expires on {{ ban.expires|date(sakura.dateFormat) }}.{% else %}<b>You are permanently banned.</b>{% endif %}</li>
2015-07-30 01:12:53 +00:00
{% if ban.expires %}
2016-02-27 16:46:16 +00:00
<li>You were banned by <a href="{{ route('user.profile', ban.issuer.id) }}" class="default">{{ ban.issuer.username }}</a>.</li>
2015-07-30 01:12:53 +00:00
{% endif %}
</ul>
</div>
</div>
</div>
{% endblock %}