{% if data.size > 0 %} {% if embeddedStyles == true %} {% capture css %} {% render "../../../assets/styles/widgets/media-grid.css" %} {% render "../../../assets/styles/widgets/progress-bar.css" %} {% endcapture %} {% endif %} {% assign media = data | normalizeMedia %}

{% tablericon icon title %} {{ title }}

{% for item in media limit: count %} {% assign alt = item.alt | strip %}
{% if item.subtext %}
{% endif %}
{% if item.title %}
{{ item.title }}
{% endif %} {% if item.percentage %} {% render "partials/now/progress-bar.liquid", percentage:item.percentage %} {% endif %} {% if item.subtext %}
{{ item.subtext }}
{% endif %}
{%- capture loadingStrategy -%} {%- if loading -%} {{ loading }} {%- else -%} 'lazy' {%- endif -%} {%- endcapture -%} {{ item.image}}
{% endfor %}
{% endif %}