{% extends "base.html" %} {% block content %}

Campaigns

Manage all campaigns, track status, and access detailed workflows.

{# Internal users only – no brand user, no creator #} {% if not current_user.brand_id and not current_user.creator_id %} Create Campaign {% endif %}
{% if campaigns %} {% for c in campaigns %} {% endfor %} {% else %} {% endif %}
ID Brand Title Nature Location Language Segment Genre Category Platforms Status Actions
#{{ c.id }} {{ c.brand.name if c.brand else '-' }}
{{ c.title }} {% set st = c.status or '' %} {% if st %} {% endif %}
{{ c.nature }} {% if c.preferred_location %} {% for item in c.preferred_location.split(',') %} {{ item.strip() }} {% endfor %} {% else %}-{% endif %} {% if c.preferred_language %} {% for item in c.preferred_language.split(',') %} {{ item.strip() }} {% endfor %} {% else %}-{% endif %} {% if c.creator_segment %} {% for item in c.creator_segment.split(',') %} {{ item.strip() }} {% endfor %} {% else %}-{% endif %} {% if c.creator_genre %} {% for item in c.creator_genre.split(',') %} {{ item.strip() }} {% endfor %} {% else %}-{% endif %} {% if c.creator_category %} {% for item in c.creator_category.split(',') %} {{ item.strip() }} {% endfor %} {% else %}-{% endif %} {% for link in c.platform_links %} {{ link.platform.name }} {% endfor %} {% if c.status == 'CREATE' %} Create {% elif c.status == 'SHORTLIST' %} Shortlist {% elif c.status == 'APPROVED' %} Approved {% elif c.status == 'SCRIPTING' %} Scripting {% elif c.status == 'CONTENT' %} Content {% elif c.status == 'GO_LIVE' %} Go Live {% endif %}
{% if not current_user.brand_id and c.status in ['APPROVED','CONTENT','GO_LIVE'] %} Creator Payouts {% endif %} {% if c.status == 'GO_LIVE' %} Performance Report Export PDF {% endif %} {% if not current_user.brand_id %} Shortlist {% if c.status in ['SHORTLIST','APPROVED','SCRIPTING','CONTENT'] %} Costing {% endif %} {% if c.status == 'SHORTLIST' %} Brand Approval {% endif %} {% if c.status in ['APPROVED','SCRIPTING'] %} Scripting {% endif %} {% if c.status in ['SCRIPTING','APPROVED','CONTENT'] %} Script Approval {% endif %} {% if c.status == 'CONTENT' %} Content {% endif %} {% if c.status in ['CONTENT','GO_LIVE'] %} Content Approval {% endif %} {% if c.status == 'GO_LIVE' %} Update Metrics {% endif %} {% if current_user.has_permission('invoice.manage') and c.status in ['APPROVED','CONTENT','GO_LIVE'] %} Generate Invoice {% endif %} {% endif %}
No campaigns found.
{% endblock %}