From 91c78ce00eca7ec7c64e56a1e2786a5be0fe4a70 Mon Sep 17 00:00:00 2001 From: A R R R Associates Date: Fri, 7 Aug 2026 15:53:24 +0530 Subject: [PATCH] Change staff My Work engagements to compact row layout --- .../templates/employees/self_work.html | 173 ++++++++++++------ 1 file changed, 119 insertions(+), 54 deletions(-) diff --git a/app/modules/employees/templates/employees/self_work.html b/app/modules/employees/templates/employees/self_work.html index c71b835..0510770 100644 --- a/app/modules/employees/templates/employees/self_work.html +++ b/app/modules/employees/templates/employees/self_work.html @@ -6,7 +6,7 @@

My Work

-

One card per assigned engagement. Start, continue, follow up or view the full workflow from here.

+

One row per assigned engagement. Start, continue, follow up or view the full workflow from here.

@@ -59,64 +59,129 @@ {{ column.cards|length }} -
- {% for card in column.cards %} -
-
-
-
{{ card.client_code or 'Client' }}
-

{{ card.client_name }}

-
- {% if card.is_overdue %}Overdue{% elif card.is_due_today %}Due today{% endif %} -
+
+ + + + + + + + + + + + + + {% for card in column.cards %} + + -
-
{{ card.service_name }}
-
FY {{ card.financial_year }} · Due {{ card.due_date or '-' }}
-
+ -
-
- My progress - {{ card.progress_percent }}% weighted -
-
-
-
-
{{ card.completed_count }} of {{ card.task_count }} assigned tasks completed
-
+ - {% if column.code == 'blocked' %} -
-
Pending reason
-
{{ card.blocked_reason }}
- {% if card.blocked_notes %}
{{ card.blocked_notes }}
{% endif %} - {% if card.follow_up_date %}
Follow-up: {{ card.follow_up_date }}
{% endif %} - {% if card.blocked_task_name %}
Task: {{ card.blocked_task_name }}
{% endif %} -
- {% elif card.next_task_name and column.code != 'completed' %} -
Next: {{ card.next_task_name }}
- {% endif %} + - {% if card.latest_comment %}

Latest: {{ card.latest_comment.message }}

{% endif %} + - {% if column.code == 'pending' %} - - - - - {% elif column.code == 'in_progress' %} - Continue - {% elif column.code == 'blocked' %} - Open / Follow Up - {% if card.manual_blocker %}{% endif %} - {% else %} - View - {% endif %} - - {% else %} -
No engagement cards in this section.
- {% endfor %} + + + + + {% else %} + + + + {% endfor %} + +
Client / ScopeServiceFY / DueProgressNext / PendingStatusAction
+
{{ card.client_code or 'Client' }}
+
{{ card.client_name }}
+ {% if card.scope_secondary %} +
{{ card.scope_secondary }}
+ {% endif %} + {% if card.scope_context %} +
{{ card.scope_context }}
+ {% endif %} +
+
{{ card.service_name }}
+ {% if card.period_label %} +
{{ card.period_label }}
+ {% endif %} +
+
FY {{ card.financial_year }}
+
Due {{ card.due_date or '-' }}
+
+
+
+ {{ card.progress_percent }}% + {{ card.completed_count }}/{{ card.task_count }} tasks +
+
+
+
+
Weighted progress
+
+
+ {% if column.code == 'blocked' %} +
+
{{ card.blocked_reason }}
+ {% if card.blocked_notes %}
{{ card.blocked_notes }}
{% endif %} + {% if card.follow_up_date %}
Follow-up: {{ card.follow_up_date }}
{% endif %} + {% if card.blocked_task_name %}
Task: {{ card.blocked_task_name }}
{% endif %} +
+ {% elif card.next_task_name and column.code != 'completed' %} +
{{ card.next_task_name }}
+ {% else %} + + {% endif %} + {% if card.latest_comment %} +
Latest: {{ card.latest_comment.message }}
+ {% endif %} +
+
+ {% if card.is_overdue %} + Overdue + {% elif card.is_due_today %} + Due today + {% endif %} + + {% if column.code == 'pending' %} + Pending + {% elif column.code == 'in_progress' %} + In Progress + {% elif column.code == 'blocked' %} + Blocked + {% else %} + Completed + {% endif %} +
+
+
+ {% if column.code == 'pending' %} +
+ + +
+ {% elif column.code == 'in_progress' %} + Continue + {% elif column.code == 'blocked' %} + Open / Follow Up + {% if card.manual_blocker %} +
+ + +
+ {% endif %} + {% else %} + View + {% endif %} +
+
+ No engagements in this section. +
+
{% endfor %}