{% extends 'sales/base.html' %} {% load static %} {% load paginate %} {% load thumbnail %} {% block extralinks %} {% endblock %} {% block content %}
Filters
Clear
Teams - {% if show_pageitems %} {% show_pageitems %}{% else %} {{ teams|length }}{% endif %}
{% if teams|length > 0 %} {% endif %} {% if per_page %} {% paginate per_page teams %} {% else %} {% paginate 10 teams %} {% endif %} {% for team in teams %} {% endfor %}
ID Team Name Team Description Assigned To Created by Created On Actions
{{ forloop.counter }} {{ team.name }} {% if team.description %} {{ team.description }} {% else %} None {% endif %} {% with users=team.users.all %} {% for user in users %} {% if user.profile_pic %} {% thumbnail user.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% empty %} None {% endfor %} {% endwith %} {% if team.created_by %} {% if team.created_by.profile_pic %} {% thumbnail team.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% else %} None {% endif %} {{ team.created_on_arrow }} {% if request.user == team.created_by or request.user.role == 'ADMIN' or reques.user.is_superuser %} {% endif %}
{%ifequal teams|length 0%}
No Teams Found
{%endifequal%}
{% show_pages %}
{% for team_obj in teams %} {% endfor %} {% endblock %} {% block js_block %} {% endblock js_block %}