From e52d8dfd0a70dd2a99054cc9be675b5be5b4fa9e Mon Sep 17 00:00:00 2001 From: kitt Date: Thu, 27 Jul 2023 22:04:18 -0400 Subject: [PATCH] update user links --- templates/splashcat/sponsor.html | 26 +------------------ .../splashcat/uploaders_information.html | 25 +----------------- users/templates/users/includes/user-link.html | 6 ++--- 3 files changed, 5 insertions(+), 52 deletions(-) diff --git a/templates/splashcat/sponsor.html b/templates/splashcat/sponsor.html index 3af5ba85..e3f043c5 100644 --- a/templates/splashcat/sponsor.html +++ b/templates/splashcat/sponsor.html @@ -76,31 +76,7 @@

Current Sponsors

{% for sponsor in current_sponsors %} - -
- {% if sponsor.profile_picture %} - {{ sponsor.display_name }} - {% endif %} -
-
- {{ sponsor.display_name }} - {% if sponsor.display_sponsor_badge %} - Splashcat Sponsor - {% endif %} -
-
@{{ sponsor.username }}
-
-
- {% with sponsor.get_splashtag as splashtag %} - {% if splashtag %} - {% include "includes/splashtag.html" with splashtag=splashtag %} - {% endif %} - {% endwith %} -
+ {% include "users/includes/user-link.html" with user=sponsor show_splashtag=True %} {% endfor %}
{% endif %} diff --git a/templates/splashcat/uploaders_information.html b/templates/splashcat/uploaders_information.html index 7935108b..a92a8f00 100644 --- a/templates/splashcat/uploaders_information.html +++ b/templates/splashcat/uploaders_information.html @@ -24,29 +24,6 @@

Developed by cesaregarza as the original uploader for Splashcat. DataZipcaster supports importing from multiple sources, including SplatNet 3. {% with developers.Joy as developer %} - -
- {% if developer.profile_picture %} - {{ developer.display_name }} - {% endif %} -
-
- {{ developer.display_name }} - {% if developer.display_sponsor_badge %} - Splashcat Sponsor - {% endif %} -
-
@{{ developer.username }}
-
-
- {% with developer.get_splashtag as splashtag %} - {% if splashtag %} - {% include "includes/splashtag.html" with splashtag=splashtag %} - {% endif %} - {% endwith %} -
+ {% include "users/includes/user-link.html" with user=developer show_splashtag=True %} {% endwith %} {% endblock %} \ No newline at end of file diff --git a/users/templates/users/includes/user-link.html b/users/templates/users/includes/user-link.html index 59685d06..1a6878b7 100644 --- a/users/templates/users/includes/user-link.html +++ b/users/templates/users/includes/user-link.html @@ -1,8 +1,8 @@ {% load static %} - -