{% load i18n %} {% load lfc_tags %}

{% trans "Images" %}

{% ifportalhasperm manage_portal %} {% if obj.images.all %}
{% csrf_token %} {% for image in obj.images.all %} {% endfor %}
{% trans 'Image' %} {% trans 'Title' %} {% trans 'Caption' %} {% trans 'Description' %} {% trans 'Position' %} {% trans 'Manage' %}
{{ image.title }} {{ image.description|truncatewords_html:15|safe }} {% if not forloop.first %} {% endif %} {% if not forloop.last %} {% else %} {% endif %}
{% else %} {% trans 'There are no images' %} {% endif %}

{% trans 'Add images' %}

{% csrf_token %}
{% else %} {% if obj.images.all %} {% for image in obj.images.all %} {% endfor %}
{% trans 'Image' %} {% trans 'Title' %}
{{ image.title }} {{ image.title }}
{% else %} {% trans 'There are no images' %} {% endif %} {% endifportalhasperm %}