{% extends 'sales/base.html' %} {% load static %} {% load paginate %} {% load thumbnail %} {% block content %}
{% csrf_token %}
Filter Contacts
Clear
{% csrf_token %}
Filter Domain
Clear
{% csrf_token %}
Filter Contacts
Clear
Contacts - {% if show_pageitems %} {% show_pageitems %}{% else %} {{ contacts|length }}{% endif %}
{% if contacts|length > 0 %} {% endif %} {% if per_page %} {% paginate per_page contacts %} {% else %} {% paginate 10 contacts %} {% endif %} {% for contact in contacts %} {% endfor %}
ID Name Email Created by Created On Actions
{{ forloop.counter }} {{ contact.name }} {{contact.email}} {% if contact.created_by %} {% if contact.created_by.profile_pic %} {% thumbnail contact.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% else %} {% endif %} {{ contact.created_on_arrow }} {% if request.user.role == 'ADMIN' or request.user.is_superuser %} {% endif %}
{%ifequal contacts|length 0%}
No Contacts Found
{%endifequal%}
{% show_pages %}
Blocked Domain - {% if show_pageitems %} {% show_pageitems %}{% else %} {{ blocked_domains|length }}{% endif %}
{% if blocked_domains|length > 0 %} {% endif %} {% if per_page %} {% paginate per_page blocked_domains %} {% else %} {% paginate 10 blocked_domains %} {% endif %} {% for domain in blocked_domains %} {% endfor %}
ID Domain Created by Created On Actions
{{ forloop.counter }} {{ domain.domain }} {% if domain.created_by %} {% if domain.created_by.profile_pic %} {% thumbnail domain.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% else %} {% endif %} {{ domain.created_on_arrow }} {% if request.user.role == 'ADMIN' or request.user.is_superuser %} {% endif %}
{%ifequal blocked_domains|length 0%}
No Domains Found
{%endifequal%}
{% show_pages %}
Blocked Emails - {% if show_pageitems %} {% show_pageitems %}{% else %} {{ blocked_emails|length }}{% endif %}
{% if blocked_emails|length > 0 %} {% endif %} {% if per_page %} {% paginate per_page blocked_emails %} {% else %} {% paginate 10 blocked_emails %} {% endif %} {% for email in blocked_emails %} {% endfor %}
ID Email Created by Created On Actions
{{ forloop.counter }} {{ email.email }} {% if email.created_by %} {% if email.created_by.profile_pic %} {% thumbnail email.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% else %} {% endif %} {{ email.created_on_arrow }} {% if request.user.role == 'ADMIN' or request.user.is_superuser %} {% endif %}
{%ifequal blocked_emails|length 0%}
No Email Found
{%endifequal%}
{% show_pages %}

{% endblock %} {% block js_block %} {% endblock js_block %}