{% load repeat_tag %} {% load thumbnail %} {% if labelling.touristic_label.logo %} {% thumbnail labelling.touristic_label.logo 25x25 as logo_label_1x %} {% thumbnail labelling.touristic_label.logo 50x50 as logo_label_2x %} {% thumbnail labelling.touristic_label.logo 75x75 as logo_label_3x %} {{ labelling.touristic_label.name }}  {% endif %} {% if labelling.touristic_label.rating_unit %} {% thumbnail labelling.touristic_label.rating_unit.icon 20x20 as logo_rating_1x %} {% thumbnail labelling.touristic_label.rating_unit.icon 40x40 as logo_rating_2x %} {% thumbnail labelling.touristic_label.rating_unit.icon 60x60 as logo_rating_3x %} {% repeat labelling.rating %} *  {% endrepeat %} {% endif %}