From c8f050531ed1c343e6999454b0a268bea30a0974 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Thu, 21 Nov 2019 00:32:43 +0100 Subject: [PATCH] Add support for exporting signups to AddOns like Exorsus Raid Tools. --- drakul/raids/templates/raids/raid_detail.html | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drakul/raids/templates/raids/raid_detail.html b/drakul/raids/templates/raids/raid_detail.html index f4f3dc8..87626f4 100644 --- a/drakul/raids/templates/raids/raid_detail.html +++ b/drakul/raids/templates/raids/raid_detail.html @@ -32,11 +32,34 @@ {% endif %}
+ + {% regroup responses by get_status_display as status_responses_list %} {% for status, status_responses in status_responses_list %} {% with status=status|default_if_none:"No Response" %}
-
{{ status }} ({{ status_responses | length }})
+
+ {{ status }} ({{ status_responses | length }}) + Export +
{% regroup status_responses by get_role_display as role_responses_list %} {% for role, role_responses in role_responses_list %} @@ -89,3 +112,15 @@
{% endblock content %} + + +{% block scripts %} + +{% endblock scripts %} \ No newline at end of file