🛒
Lista
Zakupów
{% if has_authorized_cookie %} {% if current_user.is_authenticated %}
Zalogowany:
{{ current_user.username }}
{% else %}
Przeglądasz jako
gość
{% endif %} {% endif %}
{% if 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 %}
{% block content %}{% endblock %}
{% if request.endpoint != 'system_auth' %} {% endif %} {% block scripts %}{% endblock %}