{% if g.user.role_download() %}
{{ _('Download') }}
{% endif %}
{% if g.user.is_authenticated %}
{% if (g.user.role_edit_shelfs() and shelf.is_public ) or not shelf.is_public %}
{% for number in range((entry.ratings[0].rating/2)|int(2)) %}
{% if loop.last and loop.index < 5 %}
{% for numer in range(5 - loop.index) %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{{_('Do you really want to delete the shelf?')}}
{{_('Shelf will be lost for everybody and forever!')}}{{_('Ok')}}