{% extends 'project/project.jinja' %} {% from "_helpers.jinja" import render_pagination %} {% block breadcrumb %} {{ super() }}
  • /
  • Files
  • {% endblock %} {% block main %}
    {% if project.attachments %} {% for attachment in project.attachments %} {% if attachment.type == 'data' %} {% elif attachment.type == 'link' %} {% endif %} {% endfor %} {% else %} {% endif %}
    File ID Name (Mime Type) Uploaded by Description Download
    #{{ attachment.id }} {{ attachment.name }} ({{ guess_type(attachment.name, False)[0] }}) {{ attachment.uploaded_by.name if attachment.uploaded_by else '' }} {{ attachment.description or _('No Description') }} ({{ attachment.data_size }} bytes)
    There are no files!
    {% for task in project.children %} {% for attachment in task.attachments %} {% if attachment.type == 'data' %} {% elif attachment.type == 'link' %} {% endif %} {% endfor %} {% endfor %}
    File ID Name (Mime Type) Task Description Download
    #{{ attachment.id }} {{ attachment.name }} ({{ guess_type(attachment.name, False)[0] }}) #{{ task.id }}: {{ task.rec_name }} {{ attachment.description or _('No Description') }} ({{ attachment.data_size }} bytes)
    {% endblock %}