{# templates/dashboard/brand.html #} {% extends "base.html" %} {% block content %}
Brand Command Center
Welcome back, {{ current_user.full_name or current_user.username }}
Track approvals, campaign movement, creators engaged, revenue, and upcoming go-live activity for {{ current_user.brand.name if current_user.brand else 'My Brand' }} — all from one place.
Brand
{{ current_user.brand.name if current_user.brand else 'My Brand' }}
Pending Approvals
{{ (pending_brand_count or 0) + (pending_script_count or 0) + (pending_content_count or 0) }}
Live Campaigns
{{ status_counts.get('GO_LIVE', 0) if status_counts else 0 }}
Overall Revenue Snapshot
₹ {{ "{:,.2f}".format((overall_revenue or 0)|float) }}
Received: ₹ {{ "{:,.2f}".format((total_received or 0)|float) }}
Outstanding: ₹ {{ "{:,.2f}".format((total_outstanding or 0)|float) }}
{% set revenue_total = (overall_revenue or 0)|float %} {% set received_pct = ((total_received or 0)|float / revenue_total * 100) if revenue_total > 0 else 0 %}
Collection progress against total generated revenue
My Pending Approvals
One-click jump to the first pending item in each approval queue.
{% if first_pending_brand %} Brand Approval {{ pending_brand_count or 0 }} {% else %} {% endif %} {% if first_pending_script %} Script Approval {{ pending_script_count or 0 }} {% else %} {% endif %} {% if first_pending_content %} Content Approval {{ pending_content_count or 0 }} {% else %} {% endif %}
Total Campaigns
{{ total_campaigns or 0 }}
All campaigns under your brand
{% set live_count = status_counts.get('GO_LIVE', 0) if status_counts else 0 %}
Live Campaigns
{{ live_count }}
Currently active and running
{% set pipeline = 0 %} {% if status_counts %} {% set pipeline = status_counts.get('SCRIPTING', 0) + status_counts.get('CONTENT', 0) %} {% endif %}
In Pipeline
{{ pipeline }}
Scripting + content stages
Creators Engaged
{{ total_creators|default(0) }}
Across all your campaigns
Trending Now
Latest social links, updates, and spotlight items shared by admin for your brand.
{% if trending_items %}
{% for item in trending_items %}
Trending Update
{% if item.created_at %}
{% if item.created_at.strftime is defined %} {{ item.created_at.strftime('%d %b %Y') }} {% else %} {{ item.created_at }} {% endif %}
{% endif %}
{% if item.thumbnail_url %}
{{ item.title }}
{% endif %}
{{ item.title }}
{{ item.description or 'No description provided.' }}
{% endfor %}
{% else %}
No trending updates right now
Admin shared updates, spotlight links, and trending content will appear here.
{% endif %}
My Campaigns
Search and track your campaigns quickly.
View full list
Clear
{% if brand_campaigns %}
{% for c in brand_campaigns %} {% endfor %}
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 %}
{% else %}

No campaigns found for your filters.

{% endif %}
Recent Campaigns
Latest activity from your brand campaigns.
View all
{% if recent_campaigns %}
{% for c in recent_campaigns %} {% endfor %}
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
{% else %}

No campaigns yet for this brand.

{% endif %}
Upcoming Go-Live
Scheduled creator content going live soon.
{% if not upcoming_go_live %}

No scheduled go-live posts yet.

{% else %}
{% for c in upcoming_go_live %} {% endfor %}
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 }})
{% endif %}
{% endblock %}