Task Details

Back to Dashboard

{{ task.title }}

{{ task.get_status_display }} {{ task.get_priority_display }}
Pending
In Progress
Completed
{{ task.project.title }}
{{ task.assigned_by.get_full_name|default:"N/A" }}
{{ task.due_date|date:"F d, Y"|default:"No deadline" }}
{{ task.created_at|date:"F d, Y - g:i A" }}
{% if task.completed_at %}
{{ task.completed_at|date:"F d, Y - g:i A" }}
{% endif %}

Description

{{ task.description }}

{% if task.status == 'pending' %}
{% csrf_token %}
{% elif task.status == 'in_progress' %}
{% csrf_token %}
{% elif task.status == 'completed' %}
Task Completed!
Great job! This task was completed on {{ task.completed_at|date:"F d, Y" }}.
{% endif %}

Task Files

{% if task.status != 'completed' %} {% endif %}
{% if task.files.all %}
{% for file in task.files.all %}
{% if file.file.name|slice:"-4:" == '.pdf' %} {% elif file.file.name|slice:"-4:" == '.doc' or file.file.name|slice:"-5:" == '.docx' %} {% else %} {% endif %}
{{ file.file.name|slice:"11:" }}
{{ file.description|default:"No description" }}
Uploaded by {{ file.uploaded_by.get_full_name }} on {{ file.uploaded_at|date:"M d, Y - g:i A" }}
Download {% if file.uploaded_by == user %}
{% csrf_token %}
{% endif %}
{% endfor %}
{% else %}

No Files Uploaded Yet

Upload documents related to this task (PDF, DOC, DOCX)

{% endif %}

Project Information

{{ task.project.client.get_full_name }}
{{ task.project.project_manager.get_full_name|default:"Not assigned" }}
{{ task.project.get_status_display }}
${{ task.project.budget|default:"Not set" }}