diff --git a/templates/administrative/assignment/index.html.twig b/templates/administrative/assignment/index.html.twig index b485e9a..7f415b1 100644 --- a/templates/administrative/assignment/index.html.twig +++ b/templates/administrative/assignment/index.html.twig @@ -63,29 +63,31 @@
- {% if assignment.staffed %} - - - - {% elseif assignment.partlyStaffed %} - - - - {% elseif assignment.inProgress %} - - - + {% if assignment.status == 'draft' %} + {{ icon('hourglass', 'w-4 h-4') }} {% else %} - - - - {% endif %} - {% if assignment.status == 'closed' %} - {{ icon('locked', 'w-4 h-4 text-red-500') }} - {% elseif assignment.status == 'draft' %} - {{ icon('hourglass', 'w-4 h-4 text-yellow-500') }} - {% else %} - {{ icon('unlocked', 'w-4 h-4') }} + {% if assignment.staffed %} + + + + {% elseif assignment.partlyStaffed %} + + + + {% elseif assignment.inProgress %} + + + + {% else %} + + + + {% endif %} + {% if assignment.status == 'closed' %} + {{ icon('locked', 'w-4 h-4 text-red-500') }} + {% else %} + {{ icon('unlocked', 'w-4 h-4') }} + {% endif %} {% endif %}