Don't load card dataset for tiny cards
This commit is contained in:
parent
d8046ac174
commit
38e664b733
@ -4,7 +4,7 @@
|
|||||||
{% import 'macro/form.html' as form %}
|
{% 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 %}"
|
<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-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-year="{{ item.fields.year }}" data-theme="{{ item.theme.name | lower }}"
|
||||||
data-has-missing-instructions="{{ (not (item.instructions | length)) | int }}"
|
data-has-missing-instructions="{{ (not (item.instructions | length)) | int }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user