From 6a9faf1fa7e20c5d88709bd3d4ff5307783e1509 Mon Sep 17 00:00:00 2001 From: karbassi Date: Wed, 7 Sep 2022 13:28:01 -0500 Subject: [PATCH] Add show-hide button to admin page --- coderdojochi/templates/dashboard/admin.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/coderdojochi/templates/dashboard/admin.html b/coderdojochi/templates/dashboard/admin.html index d76de3c6..00609976 100644 --- a/coderdojochi/templates/dashboard/admin.html +++ b/coderdojochi/templates/dashboard/admin.html @@ -257,6 +257,15 @@

Classes {{ sessions|length }} {% endfor %} + {% if sessions.count > 5 %} + + + + + + + + {% endif %} {% else %} @@ -264,6 +273,7 @@

Classes {{ sessions|length }} +{% comment %}
@@ -363,6 +373,7 @@

Meetings {{ meetings|length }}No upcoming meetings.

{% endif %}

+{% endcomment %} {% endblock %} {% block footer_base %}{% endblock %}