{% extends 'sales/base.html' %} {% load static %} {% load paginate %} {% load thumbnail %} {% block content %}
{% csrf_token %}
Filter Emails
Clear
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 reques.user.is_superuser %} {% endif %}
{%ifequal blocked_emails|length 0%}
No Email Found
{%endifequal%}
{% show_pages %}

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