Overview
{% if task.title %}
{% endif %}
{% if task.priority %}
{% endif %}
{% if task.status %}
{% endif %}
{{ task.title }}
{{ task.priority }}
{{ task.status }}
{% if task.due_date %}
{% endif %}
{% if task.account %}
{% endif %}
{% if task.contacts.all %}
{% endif %}
{{ task.due_date }}
{{ task.account }}
{% for contact in task.contacts.all %}
{{ contact }}
{% endfor %}
{% if task.assigned_to.all %}
{% endif %}
{% for user in task.assigned_to.all %}
{% endfor %}
Created by {{ task.created_by }} on {{ task.created_on_arrow }}
Attachments
-
{% for attachment in attachments %}
-
{% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == attachment.created_by %}
{% 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
-
{% for comment in comments %}
-
{% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == comment.commented_by %}
{{ comment.comment }}
{{ comment.commented_by }}
{{ comment.commented_on_arrow }}
{% endfor %}
{% endif %}
Processing File...