Fix wrong username in partition details

This commit is contained in:
augustin64 2023-11-23 21:22:16 +01:00
parent 85fd8d8228
commit eaaf4a979a

View File

@ -14,9 +14,9 @@
<td> <td>
{% if user is not none %} {% if user is not none %}
<div class="user-profile"><!-- Completely messy html for this --> <div class="user-profile"><!-- Completely messy html for this -->
<div class="table-username">{{ user.username }}</div> <div class="table-username">{{ partition_user.username }}</div>
<div class="user-profile-picture" style="background-color:{{ user.color }};" title="{{ user.username }}"> <div class="user-profile-picture" style="background-color:{{ partition_user.color }};" title="{{ partition_user.username }}">
{{ user.username[0] | upper }} {{ partition_user.username[0] | upper }}
</div> </div>
</div> </div>
{% else %} {% else %}