Skip to content
Snippets Groups Projects
Commit 35d40dea authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

Small fixes

parent 946b0b48
No related branches found
No related tags found
Loading
......@@ -17,7 +17,7 @@
<strong>Mon inscription&nbsp;:</strong>
<ul>
<li>{% if user.profile.sleeps %}Inscrit pour dormir sur place{% else %}Ne dors pas sur place{% endif %}</li>
<li>{% if user.profile.mug %}Commande une tasse{% else %}Ne commande pas de tasse{% endif %}</li>
<!--<li>{% if user.profile.mug %}Commande une tasse{% else %}Ne commande pas de tasse{% endif %}</li>-->
<li>Inscrit à {{ user.profile.nb_meals }} repas.</li>
{% if settings.activities_allocated %}
{% if my_activities %}
......
......@@ -42,7 +42,7 @@ class InterludesParticipantAdmin(ExportCsvMixin, admin.ModelAdmin):
class ActivityListAdmin(ExportCsvMixin, admin.ModelAdmin):
"""option d'affichage des choix d'activités dans la vue django admin"""
list_display = ("activity", "participant", "priority", "accepted")
list_filter = ("activity", "participant",)
list_filter = ("activity", "participant__is_registered", "participant")
list_editable = ("accepted",)
ordering = ("activity", "priority", "participant",)
list_per_page = 200
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment