From 38e81eb20af8dc0d652b5f8b927db620db52c62b Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 12 Jun 2018 14:49:44 +0100 Subject: [Jams] User ID and avatar on approvals page --- templates/staff/jams/participants.html | 62 +++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 28 deletions(-) (limited to 'templates') diff --git a/templates/staff/jams/participants.html b/templates/staff/jams/participants.html index ff2b4a7d..8dc9ce03 100644 --- a/templates/staff/jams/participants.html +++ b/templates/staff/jams/participants.html @@ -7,35 +7,38 @@ {% endblock %} {% block content %} {% macro card_header(app) %} -

- - - {{ app.username }}#{{ app.discriminator }} -

- - {% if jam.state in ["announced", "preparing"] %} - {% if app.approved %} - - - {% else %} - - +
+

+ + + + {{ app.username }}#{{ app.discriminator }} +

+ + {% if jam.state in ["announced", "preparing"] %} + {% if app.approved %} + + + {% else %} + + + {% endif %} {% endif %} - {% endif %} - - - - - + + + + + +
{% endmacro %}
@@ -57,6 +60,10 @@
{% endif %}
+ + User ID: {{ app.user_id }} + + {% for response in app.answers %}
{{ questions[response.question].title }} @@ -86,7 +93,6 @@ } } - {% if jam.state in ["announced", "preparing"] %} for (let elem of document.getElementsByClassName("approve-button")) { elem.onclick = function() { -- cgit v1.2.3