diff --git a/templates/macro/accordion.html b/templates/macro/accordion.html index 1830ca4..c622c86 100644 --- a/templates/macro/accordion.html +++ b/templates/macro/accordion.html @@ -1,4 +1,4 @@ -{% macro header(title, id, parent, size=none, total=none, quantity=none, expanded=false, icon=none, class=none, danger=none, image=none, alt=none) %} +{% macro header(title, id, parent, quantity=none, expanded=false, icon=none, class=none, danger=none, image=none, alt=none) %} {% if danger %} {% set icon='alert-fill' %} {% endif %} @@ -11,12 +11,8 @@ {% endif %} {{ title }} - {% if size and total %} - ({{ total }} total | {{ size }} unique) - {% elif size and quantity %} - (x{{ quantity }} | {{ size }} unique) - {% elif size %} - ({{ size }}) + {% if quantity %} + (x{{ quantity }}) {% endif %} @@ -33,7 +29,7 @@ {% macro cards(card_collection, title, id, parent, target, icon=none) %} {% set size=card_collection | length %} {% if size %} - {{ header(title, id, parent, size=size, icon=icon) }} + {{ header(title, id, parent, icon=icon) }}
{% if image %} diff --git a/templates/set/card.html b/templates/set/card.html index 1469fd0..d639516 100644 --- a/templates/set/card.html +++ b/templates/set/card.html @@ -40,7 +40,7 @@ {% if solo %}