{% if current_user %} {% endif %}
{% if current_user %}
{% if current_user.creator_id %} Creator Portal {% elif current_user.brand_id %} Brand Portal {% else %} Admin Workspace {% endif %}
{{ current_user.full_name or current_user.username }} {% if current_user.creator_id %} Creator {% elif current_user.brand_id %} Brand User {% else %} Internal User {% endif %}
{{ (current_user.full_name or current_user.username)[0:1]|upper }}
Logout
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}