vergabe-teilnahme/vergabe_teilnahme/templates/lose/partials/los_row.html

22 lines
881 B
HTML

{% load vergabe_tags %}
<tr class="hover:bg-slate-50">
<td class="py-2 pr-4 text-slate-500">{{ los.losnummer }}</td>
<td class="py-2 pr-4">
<a href="{% url 'ausschreibungen:lose:detail' ausschreibung.pk los.pk %}"
class="text-brand-600 hover:underline font-medium">{{ los.lostitel }}</a>
</td>
<td class="py-2 pr-4 text-slate-600">{{ los.zustaendiger|default:"—" }}</td>
<td class="py-2 pr-4">
{% if los.teilnahme is None %}
<span class="text-slate-400 text-xs">Offen</span>
{% elif los.teilnahme %}
<span class="text-green-600 text-xs font-medium">Ja</span>
{% else %}
<span class="text-red-600 text-xs font-medium">Nein</span>
{% endif %}
</td>
<td class="py-2 text-right">
<a href="{% url 'ausschreibungen:lose:bearbeiten' ausschreibung.pk los.pk %}"
class="btn-ghost text-xs">Bearbeiten</a>
</td>
</tr>