{% extends "base.html" %} {% block title %}Uživatel {{ g.user.full_name() }}{% endblock %} {% block body %}

Práva

{% if g.user.is_admin %}

Správce systému {% endif %} {% if g.user.is_org %}

Organizátor s následujícími rolemi:
Role Oblast Roč. Kat. Kolo {% for role in roles %}
{{ roles_by_type[role.role].name }} {{ role.place.name }} {{ role.year or '–' }} {{ role.category or '–' }} {{ role.seq or '–' }} {% endfor %}
{% endif %} {% if not g.user.is_admin and not g.user.is_org %}

Běžný uživatel {% endif %} {% endblock %}