{% extends 'sales/base.html' %} {% load static %} {% load thumbnail %} {% block breadcrumb %} {% block extralinks %} {% endblock extralinks %} {% endblock breadcrumb %} {% block content %}
Overview
{% if event.name %}
{% endif %} {% if event.event_type %}
{% endif %} {% if event.start_date %}
{% endif %} {% if event.end_date %}
{% endif %}
{% with contacts=event.contacts.all %} {% if contacts %} {% for contact in contacts %} {% endfor %} {% else %} {% endif %} {% endwith %}
{% with users=event.assigned_to.all %} {% if users %} {% for user in users %} {% endfor %} {% else %} {% endif %} {% endwith %}
{% if event.start_time %}
{% endif %} {% if event.end_time %}
{% endif %}
{% if event.description %}
{% endif %} {% if event.date_of_meeting %}
{% endif %}
Created by {{ event.created_by }} created on {{ event.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 %}