diff --git a/combo/apps/wcs/templates/combo/wcs/card-field-as-title.html b/combo/apps/wcs/templates/combo/wcs/card-field-as-title.html index 9a562200..8478420d 100644 --- a/combo/apps/wcs/templates/combo/wcs/card-field-as-title.html +++ b/combo/apps/wcs/templates/combo/wcs/card-field-as-title.html @@ -1,11 +1,9 @@ {% if item.field_content == "label" %} - {% if value or item.empty_value != '@skip@' %} - <{{ title_tag }}>{{ field.label }}{{ title_tag }}> - {% endif %} + <{{ title_tag }}>{{ field.label }}{{ title_tag }}> {% elif item.field_content == "value" %} {% if value or item.empty_value == '@empty@' %} <{{ title_tag }}>{% include "combo/wcs/card-field-value.html" with mode="inline" %}{{ title_tag }}> - {% elif item.empty_value != '@skip@' and item.empty_value != '@empty@' %} + {% else %} {% with item.empty_value as value %} <{{ title_tag }}>{% include "combo/wcs/card-field-value.html" with mode="inline" %}{{ title_tag }}> {% endwith %} diff --git a/combo/apps/wcs/templates/combo/wcs/card.html b/combo/apps/wcs/templates/combo/wcs/card.html index 16085ffd..513d14f8 100644 --- a/combo/apps/wcs/templates/combo/wcs/card.html +++ b/combo/apps/wcs/templates/combo/wcs/card.html @@ -16,8 +16,8 @@ {% with cell.get_custom_schema as custom_schema %}