forked from MarseyWorld/MarseyWorld
specify height for treasure images
parent
d4435a2a27
commit
68918ea4a9
|
@ -235,13 +235,13 @@
|
|||
|
||||
{% if c.treasure_amount and c.treasure_amount != '0' %}
|
||||
{% if c.treasure_amount.startswith('l') %}
|
||||
<img class="treasure" alt="treasure" src="/i/treasure_tickets.webp" width="20" />
|
||||
<img class="treasure" loading="lazy" alt="treasure" src="/i/treasure_tickets.webp" width="20" height="20">
|
||||
<em>Found {{c.treasure_amount.replace('l', '')}} Lottershe Tickets!</em>
|
||||
{% elif '-' in c.treasure_amount %}
|
||||
<img class="treasure" alt="treasure" src="/i/treasure_mimic.webp" width="20" />
|
||||
<img class="treasure" loading="lazy" alt="treasure" src="/i/treasure_mimic.webp" width="20" height="20">
|
||||
<em>A Mimic Ate {{c.treasure_amount.replace('-', '')}} Coins!</em>
|
||||
{% else %}
|
||||
<img class="treasure" alt="treasure" src="/i/treasure_coins.webp" width="20" />
|
||||
<img class="treasure" loading="lazy" alt="treasure" src="/i/treasure_coins.webp" width="20" height="20">
|
||||
<em>Found {{c.treasure_amount}} Coins!</em>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue