forked from MarseyWorld/MarseyWorld
cachebust badges
parent
3074c51ce0
commit
08aa0096ad
|
@ -26,7 +26,7 @@ class BadgeDef(Base):
|
|||
@property
|
||||
@lazy
|
||||
def path(self):
|
||||
return f"{SITE_FULL_IMAGES}/i/{SITE_NAME}/badges/{self.id}.webp?b=11"
|
||||
return f"{SITE_FULL_IMAGES}/i/{SITE_NAME}/badges/{self.id}.webp?b=12"
|
||||
|
||||
class Badge(Base):
|
||||
|
||||
|
|
|
@ -1308,7 +1308,7 @@ def bid_list(v, bid):
|
|||
|
||||
name = name[0]
|
||||
|
||||
href = f'{SITE_FULL_IMAGES}/i/{SITE_NAME}/badges/{bid}.webp?b=11'
|
||||
href = f'{SITE_FULL_IMAGES}/i/{SITE_NAME}/badges/{bid}.webp?b=12'
|
||||
|
||||
page = get_page()
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<td>{% include "user_in_table.html" %}</td>
|
||||
<td data-sort="{{user.patron}}">
|
||||
{% if user.patron > 1 %}
|
||||
<img class="contain" alt="2{{user.patron}}" loading="lazy" width=29.33 height=32 src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{user.patron}}.webp?b=11" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.patron_tooltip}}">
|
||||
<img class="contain" alt="2{{user.patron}}" loading="lazy" width=29.33 height=32 src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{user.patron}}.webp?b=12" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.patron_tooltip}}">
|
||||
{% endif %}
|
||||
</td>
|
||||
<td data-sort="{{user.lifetimedonated}}">${{user.lifetimedonated}}</td>
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
<span {% if c.distinguished %}class="mod {% if SITE_NAME == 'rDrama' %}mod-rdrama{% endif %}"{% endif %}>👻</span>
|
||||
{% else %}
|
||||
{% if FEATURES['PATRON_ICONS'] and c.author.switched.patron > 1 and c.author.switched.lifetimedonated_visible %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{c.author.switched.patron}}.webp?b=11" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.switched.patron_tooltip}}" alt="{{c.author.switched.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{c.author.switched.patron}}.webp?b=12" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.switched.patron_tooltip}}" alt="{{c.author.switched.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and c.author.switched.house %}
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if FEATURES['PATRON_ICONS'] and u.patron > 1 and u.lifetimedonated_visible %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=11" class="ml-3 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=12" class="ml-3 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and u.house %}
|
||||
|
@ -364,7 +364,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if FEATURES['PATRON_ICONS'] and u.patron > 1 and u.lifetimedonated_visible %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=11" class="ml-2 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{u.patron}}.webp?b=12" class="ml-2 patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.patron_tooltip}}" alt="{{u.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and u.house %}
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
<span {% if p.distinguished %}class="mod {% if SITE_NAME == 'rDrama' %}mod-rdrama{% endif %}"{% endif %}>👻</span>
|
||||
{% else %}
|
||||
{% if FEATURES['PATRON_ICONS'] and p.author.switched.patron > 1 and p.author.switched.lifetimedonated_visible %}
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{p.author.switched.patron}}.webp?b=11" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.switched.patron_tooltip}}" alt="{{p.author.switched.patron_tooltip}}">
|
||||
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/badges/2{{p.author.switched.patron}}.webp?b=12" class="patron-img" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.switched.patron_tooltip}}" alt="{{p.author.switched.patron_tooltip}}">
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['HOUSES'] and p.author.switched.house %}
|
||||
|
|
Loading…
Reference in New Issue