{% extends 'sales/base.html' %} {% load static %} {% load paginate %} {% load common_tags %} {% load thumbnail %} {% block extralinks %} {% endblock %} {% block content %}
{% csrf_token %}
Filters
Clear
Tasks - {% if show_pageitems %} {% show_pageitems %}{% else %} {{tasks|length}}{% endif %}
{% if tasks|length > 0 %} {% endif %} {% if per_page %} {% paginate per_page tasks %} {% else%} {% paginate 10 tasks %} {% endif %} {% for task in tasks %} {% if task.due_date %} {% if task.due_date < today and task.status != 'completed' %} {% if task.due_date %} {% else %} {% endif %} {% else %} {% if task.due_date %} {% else %} {% endif %} {% endif %} {% else %} {% if task.due_date %} {% else %} {% endif %} {% endif %} {% endfor %}
S.No Title Created By Status Priority Due Date Assigned To Created On Actions
{{ forloop.counter }} {% if task.title %}{{ task.title }}{% endif %} {% if task.created_by %} {% if task.created_by.profile_pic %} {% thumbnail task.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} Micro profile pic {% endif %} {% else %} None {% endif %} {{task.status}} {{task.priority}}{{task.due_date}}-{% with task_users=task.get_team_and_assigned_users %} {% for user in task_users %} {% if user.profile_pic %} {% thumbnail user.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% empty %} None {% endfor %} {% endwith %} {{task.created_on_arrow}} {% if request.user|view_edit_condition:task %} {% endif %} {% if request.user|delete_condition:task %} {% endif %}
{{ forloop.counter }} {% if task.title %}{{ task.title }}{% endif %} {% if task.created_by %} {% if task.created_by.profile_pic %} {% thumbnail task.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} Micro profile pic {% endif %} {% else %} None {% endif %} {{task.status}} {{task.priority}}{{task.due_date}}- {% with task_users=task.get_team_and_assigned_users %} {% for user in task_users %} {% if user.profile_pic %} {% thumbnail user.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% empty %} None {% endfor %} {% endwith %} {{task.created_on_arrow}} {% if request.user|view_edit_condition:task %} {% endif %} {% if request.user|delete_condition:task %} {% endif %}
{{ forloop.counter }} {% if task.title %}{{ task.title }}{% endif %} {% if task.created_by %} {% if task.created_by.profile_pic %} {% thumbnail task.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} Micro profile pic {% endif %} {% else %} None {% endif %} {{task.status}} {{task.priority}}{{task.due_date}}-{% with task_users=task.get_team_and_assigned_users %} {% for user in task_users %} {% if user.profile_pic %} {% thumbnail user.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% empty %} None {% endfor %} {% endwith %} {{task.created_on_arrow}} {% if request.user|view_edit_condition:task %} {% endif %} {% if request.user|delete_condition:task %} {% endif %}
{% ifequal tasks|length 0 %}
No Tasks Found
{% endifequal %}
{% show_pages %}

{% for task in tasks %} {% endfor %} {% endblock %} {% block js_block %} {% endblock js_block %}