feat: remove unused assignment status, rename 'open' to 'published'
This commit is contained in:
@@ -66,9 +66,6 @@
|
||||
<td>
|
||||
<div class="flex flex-col items-center space-y-2">
|
||||
{% if assignment.status == 'draft' %}
|
||||
<svg viewBox="0 0 5 5" class="h-4 w-4 fill-current text-gray-100">
|
||||
<circle cx="3" cy="3" r="2" />
|
||||
</svg>
|
||||
{{ icon('edit', 'w-4 h-4') }}
|
||||
{% else %}
|
||||
{% if assignment.staffed %}
|
||||
@@ -88,11 +85,6 @@
|
||||
<circle cx="3" cy="3" r="2" />
|
||||
</svg>
|
||||
{% endif %}
|
||||
{% if assignment.status == 'closed' %}
|
||||
{{ icon('locked', 'w-4 h-4 text-red-500') }}
|
||||
{% else %}
|
||||
{{ icon('unlocked', 'w-4 h-4') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user