Restore review step visibility and dependency locking

This commit is contained in:
A R R R Associates
2026-08-11 13:22:54 +05:30
parent 70bd5da065
commit b464f11625
2 changed files with 111 additions and 13 deletions
@@ -130,6 +130,9 @@
<div class="flex flex-wrap items-center gap-2">
<span class="text-xs font-semibold text-slate-400">#{{ task.sequence_no }}</span>
<h4 class="font-semibold text-slate-900">{{ task.task_name }}</h4>
{% if task.i1_read_only %}
<span class="rounded-full bg-slate-100 px-2 py-1 text-[11px] font-semibold text-slate-600">Read Only</span>
{% endif %}
{% if task.i1_review_label %}
{% if task.i1_review_label == 'Approved' %}
<span class="rounded-full bg-emerald-50 px-2 py-1 text-[11px] font-semibold text-emerald-700">◆ Approved</span>
@@ -159,7 +162,9 @@
</div>
<div class="flex flex-wrap items-center gap-2 lg:justify-end">
{% if not task.i1_approval_blocker and not task.is_locked and not (task.subscription and task.subscription.is_locked) %}
{% if task.i1_read_only %}
<span class="rounded-xl bg-slate-100 px-3 py-2 text-sm font-semibold text-slate-500">Review step</span>
{% elif not task.i1_approval_blocker and not task.is_locked and not (task.subscription and task.subscription.is_locked) %}
{% if status not in ['completed', 'not_applicable'] %}
{% if task.i1_quick_complete %}
<form method="post" action="/employee/work/engagements/{{ board.engagement_id }}/tasks/{{ task.id }}/quick-action">