Commit a1082914 authored by Skia's avatar Skia

trombi: update people ordering

Signed-off-by: Skia's avatarSkia <skia@libskia.so>
parent 282d9cd1
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<a href="#">Export</a> <a href="#">Export</a>
<hr> <hr>
<div> <div>
{% for u in object.users.all() %} {% for u in object.users.order_by('user__nick_name') %}
<div class="ib" style="border: solid 1px grey; text-align: center"> <div class="ib" style="border: solid 1px grey; text-align: center">
{% set file = None %} {% set file = None %}
{% if u.profile_pict %} {% if u.profile_pict %}
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<hr> <hr>
{% endif %} {% endif %}
<div> <div>
{% for u in user.trombi_user.trombi.users.exclude(id=user.trombi_user.id) %} {% for u in user.trombi_user.trombi.users.exclude(id=user.trombi_user.id).order_by('user__nick_name') %}
<div class="ib" style="border: solid 1px grey; text-align: center"> <div class="ib" style="border: solid 1px grey; text-align: center">
{% set file = None %} {% set file = None %}
{% if u.profile_pict %} {% if u.profile_pict %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment