{# templates/dashboard/brand.html #} {% extends "base.html" %} {% block content %}
| ID | Title | Status | Value | Created | Action |
|---|---|---|---|---|---|
| #{{ c.id }} | {{ c.title }} | {% set st = c.status %} {% if st == 'CREATE' %} Create {% elif st == 'SHORTLIST' %} Shortlist {% elif st == 'APPROVED' %} Approved {% elif st == 'SCRIPTING' %} Scripting {% elif st == 'CONTENT' %} Content {% elif st == 'GO_LIVE' %} Go Live {% elif st == 'REPORT' %} Report {% else %} {{ st }} {% endif %} | ₹ {{ "{:,.2f}".format((brand_campaign_value_map.get(c.id, c.total_budget or 0))|float) }} | {% if c.created_at and c.created_at.strftime is defined %} {{ c.created_at.strftime('%d %b %Y') }} {% else %} {{ c.created_at }} {% endif %} | {% if c.status == 'SHORTLIST' %} Brand Approval {% elif c.status == 'SCRIPTING' %} Script Approval {% elif c.status == 'CONTENT' %} Content Approval {% elif c.status == 'REPORT' %} Performance Report {% elif c.status == 'GO_LIVE' %} Open {% else %} Open {% endif %} |
No campaigns found for your filters.
{% endif %}| Title | Status | Created | Actions |
|---|---|---|---|
| {{ c.title }} | {{ c.status }} | {% if c.created_at and c.created_at.strftime is defined %} {{ c.created_at.strftime('%d %b %Y') }} {% else %} {{ c.created_at }} {% endif %} | Open |
No campaigns yet for this brand.
{% endif %}No scheduled go-live posts yet.
{% else %}| Date | Creator | Deliverable |
|---|---|---|
| {{ c.go_live_date }} |
{{ c.creator.name if c.creator else '-' }} {% if c.creator and c.creator.handle %} @{{ c.creator.handle }} {% endif %} |
{{ c.campaign_deliverable.platform.name }} – {{ c.campaign_deliverable.deliverable_type.name }} (Unit {{ c.unit_index }}) |