Don't load card dataset for tiny cards

This commit is contained in:
Gregoo 2025-02-03 17:38:54 +01:00
parent d8046ac174
commit 38e664b733

View File

@ -4,7 +4,7 @@
{% import 'macro/form.html' as form %}
<div {% if not solo %}id="set-{{ item.fields.id }}"{% endif %} class="card mb-3 flex-fill {% if solo %}card-solo{% endif %}"
{% if not solo %}
{% if not solo and not tiny %}
data-index="{{ index }}" data-number="{{ item.fields.set }}" data-name="{{ item.fields.name | lower }}" data-parts="{{ item.fields.number_of_parts }}"
data-year="{{ item.fields.year }}" data-theme="{{ item.theme.name | lower }}"
data-has-missing-instructions="{{ (not (item.instructions | length)) | int }}"