From aa221fb39860458863c28333216349613a20d6c5 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Mon, 30 Sep 2019 21:44:29 +0200 Subject: [PATCH] Allow filtering of active users for resolved tickets (#40) --- templates/minecraft_manager/overview.html | 35 ++++++++++++++++------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/templates/minecraft_manager/overview.html b/templates/minecraft_manager/overview.html index e7424f0..527c158 100644 --- a/templates/minecraft_manager/overview.html +++ b/templates/minecraft_manager/overview.html @@ -3,22 +3,37 @@ {% block title %}Overview{% endblock %} {% block head %} + {% endblock %} {% block section %}
{% if request.user.is_staff %}
-
-

Admin Area

-

Resolved Tickets

-
- {% for staff in data.resolved %} -
-

{% if staff.active %}Active{% else %}Inactive{% endif %} {{ staff.username }}: {{ staff.tickets }}

+
+

Admin Area

+

Resolved Tickets

+ +
+ {% for staff in data.resolved %} +
+

{% if staff.active %}Active{% else %}Inactive{% endif %} {{ staff.username }}: {{ staff.tickets }}

+
+ {% endfor %}
- {% endfor %} -
-
+

{% endif %}