{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{{ task.title }} - PX360{% endblock %} {% block content %}
{% trans "Back to project" %}

{{ project.name }}

{{ task.title }}

{% if can_edit %} {% trans "Edit" %} {% endif %}
{{ task.get_status_display }} {{ task.assigned_to.get_full_name|default:"-" }} {% if task.due_date %} {% trans "Due" %}: {{ task.due_date|date:"Y-m-d" }} {% endif %}

{% trans "Description" %}

{{ task.description|default:"-" }}

{% include "partials/notes_panel.html" with notes=notes content_type_id=content_type_id object_id=object_id %}

{% trans "Attachments" %} ({{ attachments|length }})

{% if can_contribute %}
{% csrf_token %}
{% else %}

{% trans "Only project contributors can upload attachments." %}

{% endif %}
{% for att in attachments %}
{{ att.filename }}

{{ att.uploaded_by.get_full_name|default:"-" }} · {{ att.created_at|date:"M d, Y h:i A" }} {% if att.file_size %} · {{ att.file_size|filesizeformat }}{% endif %} {% if att.description %} · {{ att.description }}{% endif %}

{% if can_contribute %} {% endif %}
{% empty %}

{% trans "No attachments yet" %}

{% endfor %}
{% endblock %} {% block extra_js %} {% endblock %}