Open Leads - {% if show_pageitems %} {% show_pageitems %}{% else %}
{{ open_leads|length }}{% endif %}
ID | Title | Created By | Source | Status | Assigned To | Tags | Created On | Actions |
---|---|---|---|---|---|---|---|---|
{{ forloop.counter }} | {{ lead.title }} |
{% if lead.created_by.profile_pic %}
{% thumbnail lead.created_by.profile_pic "40x40" crop="center" as im %}
![]() |
{{ lead.source }} | {{ lead.get_status_display }} |
{% with lead_users=lead.assigned_to.all %}
{% for user in lead_users %}
{% if user.profile_pic %}
{% thumbnail user.profile_pic "40x40" crop="center" as im %}
![]() |
{% with tags=lead.tags.all %} {% if tags %} {% for tag in tags %} {{ tag.name }} {% endfor %} {% else %} No Tags {% endif %} {% endwith %} | {{ lead.created_on }} | {% if request.user == lead.created_by or request.user.role == "ADMIN" or request.user.is_superuser %} {% endif %} |
No Open Lead Records Found
{%endifequal%}
{% show_pages %}
Closed Leads - {% if show_pageitems %} {% show_pageitems %}{% else %}
{{ close_leads|length }}{% endif %}
ID | Title | Source | Status | Assigned User | Tags | Created On | Actions |
---|---|---|---|---|---|---|---|
{{ forloop.counter }} | {{ lead.title }} | {{ lead.source }} | {{ lead.get_status_display }} |
{% with lead_users=lead.assigned_to.all %}
{% for user in lead_users %}
{{ user.email }} {% empty %} None {% endfor %} {% endwith %} |
{% with tags=lead.tags.all %} {% if tags %} {% for tag in tags %} {{ tag.name }} {% endfor %} {% else %} No Tags {% endif %} {% endwith %} | {{ lead.created_on }} | {% if request.user == lead.created_by %} {% endif %} |
No Closed Lead Records Found
{%endifequal%}
{% show_pages %}