{% extends 'sales/base.html' %} {% load static %} {% load thumbnail %} {% block breadcrumb %} {% block extralinks %} {% endblock extralinks %} {% endblock breadcrumb %} {% block content %}
Overview
{% if task.title %}
{% endif %} {% if task.priority %}
{% endif %} {% if task.status %}
{% endif %}
{% if task.due_date %}
{% endif %} {% if task.account %}
{% endif %} {% if task.contacts.all %}
{% for contact in task.contacts.all %} {% endfor %}
{% endif %}
{% if task.assigned_to.all %}
{% for user in task.assigned_to.all %} {% endfor %}
{% endif %}
Created by {{ task.created_by }} on {{ task.created_on_arrow }}
Attachments
{% csrf_token %}

    {% for attachment in attachments %}
  • {% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == attachment.created_by %}
    {% endif %}
    {% if attachment.attachment %} {% if 'image' in attachment.file_type %} {% thumbnail attachment.attachment "80x80" crop="center" as im %} {% endthumbnail %} {% endif %} {% endif %}
      {{attachment.file_name}} Download
    Uploaded by :{{ attachment.created_by }}
    {{ attachment.created_on_arrow }}
  • {% endfor %}
Comments
{% csrf_token %}

    {% for comment in comments %}
  • {% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == comment.commented_by %}
    {% endif %}
    {{ comment.comment }}
    {{ comment.commented_by }}
    {{ comment.commented_on_arrow }}
  • {% endfor %}

Processing File...

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