WIP for moving everything into models

This commit is contained in:
2024-09-01 23:08:15 +02:00
parent 8f68b38116
commit 717adb2df9
5 changed files with 210 additions and 284 deletions

View File

@ -63,8 +63,6 @@
<hr>
<div>
<h3 class="mb-2">{{ drop.name }}</h3>
{% if drop.benefits.all %}
{% for benefit in drop.benefits.all %}
<img src="{{ benefit.image_url }}" alt="{{ benefit.name }} image"
class="img-fluid rounded mb-2">
@ -79,9 +77,6 @@
{% empty %}
<div>No benefits available for this drop.</div>
{% endfor %}
{% else %}
<p>No benefits available for this drop.</p>
{% endif %}
</div>
{% empty %}
<div>No time-based drops available for this campaign.</div>