{% set bubbles = demi_getAccoTeaserBadges(accommodation) %}
{% set isBestPrice = false %}
{% set minPriceProductSets = accommodationItem.getMinPriceProductSets() %}
{% if minPriceProductSets is iterable %}
{% for minPriceProcuct in minPriceProductSets %}
{% set isBestPrice = minPriceProcuct.getIsBestPrice()%}
{% endfor %}
{% endif %}
{% if accommodation.getBestPrice() or isBestPrice or bubbles | length > 0 %}
<ul class="list-inline list-inline--gutter-3 mb-1">
{% if accommodation.getBestPrice() or isBestPrice %}
<li class="list-inline-item">
<span class="badge badge-primary">
<span class="demi-icon demi-icon-thumb-up"></span>
{{ "demi.list.bestprice" | trans}}
</span>
</li>
{% endif %}
{% if bubbles | length > 0 %}
{% for bubble in bubbles %}
<li class="list-inline-item">
<span class="badge badge-primary">{{ bubble }}</span>
</li>
{% endfor %}
{% endif %}
</ul>
{% endif %}