feat: show job profile in teamers' recent assignments list

This commit is contained in:
Björn Fromme
2025-07-22 08:39:03 +02:00
parent 7aef767619
commit ca23b6f50b
@@ -23,6 +23,9 @@
<th> <th>
Einsatz Einsatz
</th> </th>
<th>
Jobprofil
</th>
<th> <th>
Gesamtnote Gesamtnote
</th> </th>
@@ -41,6 +44,9 @@
<br> <br>
{{ disposition.assignment.destination.hotel }} {{ disposition.assignment.destination.hotel }}
</td> </td>
<td>
{{ disposition.assignment.jobProfile.name }}
</td>
<td> <td>
{% if disposition.feedback %} {% if disposition.feedback %}
{{ disposition.feedback.averageRating|format_rating }} {{ disposition.feedback.averageRating|format_rating }}
@@ -51,12 +57,12 @@
<td> <td>
{% if disposition.feedback %} {% if disposition.feedback %}
<div class="divide-y"> <div class="divide-y">
<div class="pb-2"> <div class="pb-2">
{{ disposition.feedback.comment|default('-') }} {{ disposition.feedback.comment|default('-') }}
</div> </div>
<div class="pt-2"> <div class="pt-2">
{{ disposition.feedback.commentInternal|default('-') }} {{ disposition.feedback.commentInternal|default('-') }}
</div> </div>
</div> </div>
{% else %} {% else %}
- -
@@ -64,7 +70,7 @@
</td> </td>
</tr> </tr>
{% else %} {% else %}
<td colspan="7"> <td colspan="4">
Keine Daten... Keine Daten...
</td> </td>
{% endfor %} {% endfor %}
@@ -75,4 +81,4 @@
</div> </div>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}