{% extends 'base.html.twig' %} {% block body %}

{{ advertisingEntity.file }}


{# -------------------------------------------------------------------------------------------------------------- #} {# buttons #} {# -------------------------------------------------------------------------------------------------------------- #}
{{ button }}
{% if adjacentAdvertisingIds.next < 0 and adjacentAdvertisingIds.previous > 0 %}
{% elseif adjacentAdvertisingIds.next > 0 and adjacentAdvertisingIds.previous < 0 %}
{% elseif adjacentAdvertisingIds.next > 0 and adjacentAdvertisingIds.previous > 0 %}
{% endif %}
{# -------------------------------------------------------------------------------------------------------------- #} {# textarea #} {# -------------------------------------------------------------------------------------------------------------- #} {% if advertisingEntity.status != 'abgenommen' %}
{% endif %} {# -------------------------------------------------------------------------------------------------------------- #} {# comment list #} {# -------------------------------------------------------------------------------------------------------------- #} {% if comments|length > 0 %} {# desktop version >= 768px #} {% include 'advertising/responsive/show/desktop.html.twig' %} {# mobile version < 768px #} {% include 'advertising/responsive/show/mobile.html.twig' %} {% endif %} {# -------------------------------------------------------------------------------------------------------------- #} {# buttons #} {# -------------------------------------------------------------------------------------------------------------- #}
{% trans %}button_back{% endtrans %}
{% trans %}button_save{% endtrans %}
{# -------------------------------------------------------------------------------------------------------------- #} {# different types of advertising #} {# -------------------------------------------------------------------------------------------------------------- #} {% if 'image' in fileDataContainer.mime %}
{% elseif fileDataContainer.mime == 'application/x-shockwave-flash' %}
{% elseif fileDataContainer.mime == 'video/mp4' %}
{% elseif fileDataContainer.mime == 'text/html' %}
{% trans %}info_html_popup{% endtrans %}
{% else %}
{% trans %}info_file_download{% endtrans %}
{% trans %}button_download{% endtrans %}
{% endif %} {% endblock %}