🛒 Lista Zakupów
{% if has_authorized_cookie and not is_blocked %}
{% if current_user.is_authenticated %}
Zalogowany:
{{ current_user.username }}
{% else %}
Przeglądasz jako
gość
{% endif %}
{% endif %}
{% if not is_blocked %}
{% if request.endpoint and request.endpoint != 'system_auth' %}
{% if current_user.is_authenticated and current_user.is_admin %}
⚙️ Panel admina
{% endif %}
{% if current_user.is_authenticated %}
🚪 Wyloguj
{% else %}
🔑 Zaloguj
{% endif %}
{% endif %}
{% endif %}