From 3303398f81ff111219d4a1ad9271ab4b02d6a2e2 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:58:14 +0100 Subject: [PATCH] modified: templates/user_giveaways.html --- templates/user_giveaways.html | 114 +++++++++++++++------------------- 1 file changed, 51 insertions(+), 63 deletions(-) diff --git a/templates/user_giveaways.html b/templates/user_giveaways.html index e538ae7..781902a 100644 --- a/templates/user_giveaways.html +++ b/templates/user_giveaways.html @@ -6,80 +6,68 @@ Your Won Giveaways {% include 'navigation.html' %}
- -
- Server Logo -
-

{{ g.guild_name }}

-

Your Won Giveaways on this server

-
-
+

Your Won Giveaways on Server {{ guild_id }}

+

Here you can view all the giveaways you've won on this server.

- -
- User Avatar -

{{ g.user_info['username'] }}

+
+ + + + + + + + + + + {% for giveaway in won_giveaways %} + + + + + + + {% endfor %} + +
NamePlatformStatusAction
{{ giveaway.name }}{{ giveaway.platform }} + {% if giveaway.aktiv %} + Redeemed + {% else %} + Not Redeemed + {% endif %} + + {% if giveaway.aktiv %} + View Key + {% else %} + Redeem + {% endif %} +
+ {% if won_giveaways|length == 0 %} +

You haven't won any giveaways on this server yet.

+ {% endif %}
- - - - - - - - - - - - - {% for giveaway in won_giveaways %} - - - - - - - {% endfor %} - -
NamePlatformStatusAction
{{ giveaway.name }}{{ giveaway.platform }} - {% if giveaway.aktiv %} - Redeemed - {% else %} - Not Redeemed - {% endif %} - - {% if giveaway.aktiv %} - - View Key - {% else %} - - Redeem - {% endif %} -