diff --git a/app/modules/employees/templates/employees/work_engagement_board.html b/app/modules/employees/templates/employees/work_engagement_board.html index 961becc..74bc829 100644 --- a/app/modules/employees/templates/employees/work_engagement_board.html +++ b/app/modules/employees/templates/employees/work_engagement_board.html @@ -175,7 +175,7 @@
! Blocked -
+ @@ -189,7 +189,7 @@
✕ N/A - + @@ -202,137 +202,154 @@ 🔒 Locked {% endif %} -
- Documents{% if task.i1_documents %} · {{ task.i1_documents|length }}{% endif %} -
-
-
-
Task Documents
-

Files stay linked to this task and engagement.

-
- Open full document view -
+ - {% if task.i1_documents %} -
- {% for doc in task.i1_documents[:5] %} - {% set latest = doc.versions[0] if doc.versions else none %} -
-
-
{{ doc.title }}
-
{{ latest.original_filename if latest else doc.document_type }}{% if latest %} · v{{ latest.version_no }}{% endif %}
-
- {% if latest %}Download{% endif %} -
- {% endfor %} + + + +
+
+ +
+ + + + +
+ {% else %} + + + + + + {% endif %} -
- Message / Clarification{% if task.i1_communications %} · {{ task.i1_communications|length }}{% endif %} -
-
-
-
Messages / Clarifications
-

Add a note, clarification or client/consultant communication.

-
- Open full timeline -
- - {% if task.i1_communications %} -
- {% for item in task.i1_communications[:5] %} -
-
- {{ item.comment_type.replace('_',' ').title() }} · {{ item.visibility.replace('_',' ').title() }} - {{ item.created_at_utc }} -
-
{{ item.message }}
-
By {{ item.created_by.full_name if item.created_by else 'System/User' }}
-
- {% endfor %} -
- {% else %} -
No message or clarification yet.
- {% endif %} - -
- - - - - -
-
+
+ +
-
-
- Details -
-
- - - - - {% set response_type = task.response_type or 'NONE' %} - {% if response_type != 'NONE' or task.response_required %} -
-
Checklist Response{% if task.response_required %} *{% endif %}
- {% if response_type in ['YES_NO_NA', 'YES_NO'] %} -
- - - {% if response_type == 'YES_NO_NA' %}{% endif %} -
- {% elif response_type == 'TEXT' %} - - {% elif response_type == 'NUMBER' %} - - {% elif response_type == 'DATE' %} - - {% endif %} - -
- {% else %} - - - - - - {% endif %} - -
- - -
- -
-
Documents and messages can be added directly from this checklist row.
- -
-
+
+
-
+ + + @@ -367,4 +384,30 @@ + + + {% endblock %}