{% extends "common/index_bootstrap.html.twig" %} {% import 'common/thumbnail.html.twig' as thumbnail %} {% import 'common/caption_templates/preview.html.twig' as caption %} {% block javascript %} {% endblock %} {% block stylesheet %} {% endblock %} {% block content %}
{% if first_item %}{{first_item.get_ord()}}{% endif %}
{% if first_item %}{{first_item.get_record().get_title|raw}}{% endif %}
{% set feed_element = first_item %} {% include 'lightbox/feed_options_box.html.twig' %}
{% if first_item %} {% if app['authentication'].getUser().ACL().has_access_to_subdef(first_item.get_record(), 'preview') %} {% set bask_prev = first_item.get_record().get_preview() %} {% else %} {% set bask_prev = first_item.get_record().get_thumbnail() %} {% endif %} {{thumbnail.format(bask_prev,bask_prev.get_width(),bask_prev.get_height(),'', false, false)}} {% endif %}
{% if first_item %}{{first_item.get_record().get_title}}{% endif %}
{% trans 'notice'%}
{% set business = app['authentication'].getUser().ACL().has_right_on_base(first_item.get_record().get_base_id(), 'canmodifrecord') %} {% if first_item %} {{caption.format_caption(first_item.get_record(), '', null, business)}} {% endif %}

{% include 'lightbox/feed_container.html.twig' %}
{% endblock %}