{% if current_user %}
Profads
Campaign & Creator Hub
Dashboard
{% if current_user.creator_id %}
My Campaigns
{% elif current_user.brand_id %}
Campaigns
Invoices
Support
{% else %} {% if current_user.has_permission('campaign.view') %}
Campaigns
{% endif %} {% if current_user.has_permission('brand.manage') %}
Brands
{% endif %} {% if current_user.has_permission('creator.manage') %}
Creators
{% endif %} {% if current_user.has_permission('invoice.view') %}
Invoices
{% endif %} {% if current_user.has_permission('campaign.view') or current_user.has_permission('campaign.manage') %}
Support Tickets
{% endif %} {% if current_user.has_permission('campaign.manage') or current_user.has_permission('settings.manage') %}
Trending Now
{% endif %} {% if current_user.has_permission('user.view') %}
Users
{% endif %} {% if current_user.has_permission('role.manage') %}
Roles
{% endif %} {% if current_user.has_permission('master.manage') or current_user.has_permission('settings.manage') %}
Settings
Preferred Locations
Preferred Languages
Creator Segments
Creator Genres
Creator Categories
{% if current_user.has_permission('settings.manage') %}
Company Settings
{% endif %}
{% endif %} {% endif %}
Profads Workspace
Manage campaigns, approvals, creators, invoices, and support from one vibrant control panel.
Live Ops
Approvals
Reports
{% 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 %}
{% if unread_notification_count and unread_notification_count > 0 %}
{{ unread_notification_count }}
{% endif %}
Notifications
{% if header_notifications %} {% for n in header_notifications %}
{{ n.title }}
{{ n.message }}
{{ n.created_at.strftime('%d %b %Y %I:%M %p') if n.created_at else '' }}
{% endfor %}
View all
{% else %}
No notifications
{% 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 %}