{% extends "base.html" %} {% block title %}{% if is_banned %}You are banned!{% else %}Not banned{% endif %}{% endblock %} {% block content %}
{% if method_html %}

Verify

Please verify first before checking the ban status of this IP.

{{ method_html|safe }}
{% elif is_banned %}

You are banned!

{% for ban in bans %} You have been banned from {% if ban.board is not none %}/{{ ban.board }}/{% else %}all boards{% endif %}:

{% if ban.reason %}{{ ban.reason }}{% else %}No reason available.{% endif %}

You were banned on {{ ban.date|formatted_time }}
{% if ban.length > 0 %} {% if ban.date + ban.length < now() %}
This ban has expired. Now that you've seen this message you can post again. {% else %} This ban will lift on {{ (ban.date + ban.length)|formatted_time }} which is {{ (ban.date + ban.length)|time_remaining }} from now. {% endif %} {% else %} This ban will not expire. {% endif %} {% if not loop.last %}
{% endif %} {% endfor %} {% else %}

You are not banned

{% endif %}
{% endblock %}