{% import "../macros/staff-nav.html" as staff_nav %} {% extends "base.html" %} {% block title %}Bany{% endblock %} {% block content %}

Bany

{% call staff_nav::staff_nav(tcx.perms) %}

Bany

{% for ban in bans %} {% endfor %}
IP Nástěnka Důvod Udělil Odvolatelný Odvolání Udělěn Vyprší
{{ ban.ip_range.network() }}-{{ ban.ip_range.broadcast() }} {% if let Some(board) = ban.board %}/{{ board }}/{% else %}Všechny{% endif %}
{{ ban.reason }}
{{ ban.issued_by }} {% if ban.appealable %}Ano{% else %}Ne{% endif %} {% if let Some(appeal) = ban.appeal %}
{{ appeal }}
{% else %}-{% endif %}
{{ ban.created|czech_datetime }} {% if let Some(expires) = ban.expires %}{{ expires|czech_humantime }}{% else %}Nikdy{% endif %}
{% if tcx.perms.owner() || tcx.perms.bans() %} {% endif %}

{% endblock %}