{% extends 'sales/base.html' %} {% load static %} {% load paginate %} {% load thumbnail %} {% block extralinks %} {% endblock %} {% block content %}
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 reques.user.is_superuser %} {% endif %}
{%ifequal contacts|length 0%}
No Contacts Found
{%endifequal%}
{% show_pages %}
{% endblock %} {% block js_block %} {% endblock js_block %}