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