From f0730c910593cb99f286036c59003ab16e7452ce Mon Sep 17 00:00:00 2001 From: kitt Date: Tue, 21 Nov 2023 12:17:14 -0500 Subject: [PATCH] random color things fix --- .idea/misc.xml | 2 +- .idea/splashcat.iml | 2 +- .../templates/splatnet_assets/mask_image.html | 2 +- splatnet_assets/templatetags/mask_id.py | 13 +++++++++++-- templates/splashcat/home.html | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 5bf1a069..d5dcc7df 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/.idea/splashcat.iml b/.idea/splashcat.iml index d0578b45..c312ab67 100644 --- a/.idea/splashcat.iml +++ b/.idea/splashcat.iml @@ -17,7 +17,7 @@ - + diff --git a/splatnet_assets/templates/splatnet_assets/mask_image.html b/splatnet_assets/templates/splatnet_assets/mask_image.html index 071909ba..af45f3f8 100644 --- a/splatnet_assets/templates/splatnet_assets/mask_image.html +++ b/splatnet_assets/templates/splatnet_assets/mask_image.html @@ -1,5 +1,5 @@ {% load mask_id %} -{% get_color uploader %} +{% get_color uploader use_random_color %} {% with object|mask_id as mask_id %} Recent Battles
{% cache 60 home_global_recent_battles %} {% for battle in recent_battles %} - {% include "users/includes/battle-card.html" with battle=battle display_uploader=True %} + {% include "users/includes/battle-card.html" with battle=battle display_uploader=True use_random_color=True %} {% endfor %} {% endcache %}