mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-22 15:32:22 +00:00
🐛 Fix WEI tables
This commit is contained in:
parent
1abb40953f
commit
377397b319
@ -38,7 +38,6 @@ class NoteAdmin(PolymorphicParentModelAdmin):
|
||||
|
||||
# Organize notes by registration date
|
||||
date_hierarchy = 'created_at'
|
||||
ordering = ['name']
|
||||
|
||||
# Search by aliases
|
||||
search_fields = ['alias__name']
|
||||
|
@ -103,7 +103,7 @@ class WEIMembershipTable(tables.Table):
|
||||
|
||||
team = tables.LinkColumn(
|
||||
'wei:manage_bus_team',
|
||||
args=[A('bus.pk')],
|
||||
args=[A('team.pk')],
|
||||
)
|
||||
|
||||
def render_year(self, record):
|
||||
|
@ -14,11 +14,11 @@
|
||||
\huge{Liste des inscrits \og {{ wei.name }} \fg{}}
|
||||
|
||||
{% if bus %}
|
||||
\LARGE{Bus {{ bus.name }}}
|
||||
\LARGE{Bus {{ bus.name|safe }}}
|
||||
|
||||
|
||||
{% if team %}
|
||||
\Large{Équipe {{ team.name }}}
|
||||
\Large{Équipe {{ team.name|safe }}}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
\end{center}
|
||||
|
Loading…
Reference in New Issue
Block a user