{% extends "base.html" %} {% block content %}
No tasks
{% endfor %}No tasks
{% endfor %}No tasks
{% endfor %}No tasks
{% endfor %}No tasks
{% endfor %}No tasks
{% endfor %}No tasks
{% endfor %}No blocked tasks
{% endfor %}| Task | Type | Status | Priority | Assigned To | Due Date | Progress | Actions | ||
|---|---|---|---|---|---|---|---|---|---|
|
{{ task.title|truncate(30) }}
#{{ task.id }} |
{{ task.task_type or "General" }} | {% if task.status == 'New Request' %}📋{% elif task.status == 'Assigned' %}🔧{% elif task.status == 'Design' %}📐{% elif task.status == 'Material Planning' %}📦{% elif task.status == 'In Progress' %}⚙️{% elif task.status == 'QA/Review' %}✅{% elif task.status == 'Completed' %}🚀{% elif task.status == 'Blocked' %}🛑{% endif %} {{ task.status }} | {{ task.priority }} | {{ task.assigned_to or "Unassigned" }} | {% if task.due_date %} {{ task.due_date.strftime('%d %b %Y') }} {% if task.is_overdue %} {% endif %} {% else %} Not set {% endif %} |
|
{% if current_user.role in ["Admin", "Director"] or current_user.is_department_head %} {% if not current_user.is_department_head or current_user.department == task.department %} {% endif %} {% else %} - {% endif %} | ||
| No tasks found | |||||||||
No archived tasks
{% endfor %}