{% extends "base.html.twig" %}{% block pageTitle %} Archivio Esposizioni {% endblock %}{% block pageStyle %} {{ parent() }} {% endblock %}{% block pageScriptsHeader %} {{ parent() }} {% endblock %}{% block navigation %} {{ parent() }} {% endblock %}{% block upperMainContainer %} {% endblock %}{% block mainContainer %}<section id="main-page-container" class="container"> <div class="content"> {% if anniMostrePersonali is not empty %} <h3 id="personali">Personali ed eventi documentazione</h3> <p>La sezione contiene documentazione di vario genere di una selezione di esposizioni. Ulteriore documentazione è in corso di digitalizzazione.</p> {% for key, anno in anniMostrePersonali %} <h4>{{ key }}</h4> <div class="esposizioni-anno-content"> <ul> {% for id, esposizione in anno.esposizioni %} <li> <p class="mt-0 mb-0"> <a href="{{ path('showMostra', {'idmostra': id}) }}"> {{ esposizione.mostra.getNome() }} </a> {% if esposizione.mostra.getCuratore() %} A cura di {{ esposizione.mostra.getCuratore() }} {% endif %} {% if esposizione.mostra.getPresentazione() %} Presentazione di {{ esposizione.mostra.getPresentazione() }} {% endif %} </p> <p class="mt-0 mb-0"> {% if esposizione.mostra.getLuogo() is defined and esposizione.mostra.getLuogo() is not empty %} {{ esposizione.mostra.getLuogo() }} - {% endif %} ({{ esposizione.mostra.getAnno() }}) {% if esposizione.fileref is defined and esposizione.fileref is not empty %} {% if 'pdf' in esposizione.estensione|lower %} <a href="{{ asset(uploaded_documents ~ esposizione.fileref ~ '.' ~ esposizione.estensione) }}">PDF</a> {% else %} <a href="{{ asset(uploaded_img_big ~ esposizione.fileref ~ '.' ~ esposizione.estensione) }}">Anteprima</a> {% endif %} {% endif %} </p> </li> {% endfor %} </ul> </div> {% endfor %} {% endif %} {% if anniMostreCollettive is not empty %} <h3 id="collettive">Collettive documentazione</h3> <p>La sezione contiene documentazione di vario genere di una selezione di esposizioni. Ulteriore documentazione è in corso di digitalizzazione.</p> {% for key, anno in anniMostreCollettive %} <h4>{{ key }}</h4> <div class="esposizioni-anno-content"> <ul> {% for id, esposizione in anno.esposizioni %} <li> <p class="mt-0 mb-0"> <a href="{{ path('showMostra', {'idmostra': id}) }}"> {{ esposizione.mostra.getNome() }} </a> {% if esposizione.mostra.getCuratore() %} A cura di {{ esposizione.mostra.getCuratore() }} {% endif %} {% if esposizione.mostra.getPresentazione() %} Presentazione di {{ esposizione.mostra.getPresentazione() }} {% endif %} </p> <p class="mt-0 mb-0"> {% if esposizione.mostra.getLuogo() is defined and esposizione.mostra.getLuogo() is not empty %} {{ esposizione.mostra.getLuogo() }} - {% endif %} ({{ esposizione.mostra.getAnno() }}) {% if esposizione.fileref is defined and esposizione.fileref is not empty %} {% if 'pdf' in esposizione.estensione|lower %} <a href="{{ asset(uploaded_documents ~ esposizione.fileref ~ '.' ~ esposizione.estensione) }}">PDF</a> {% else %} <a href="{{ asset(uploaded_img_big ~ esposizione.fileref ~ '.' ~ esposizione.estensione) }}">Anteprima</a> {% endif %} {% endif %} </p> </li> {% endfor %} </ul> </div> {% endfor %} {% endif %} </div></section><style>section { position:relative; }section:not(:first-of-type) { border-top:1px solid #444; padding-top:1rem; margin-top:3rem; }section h2 { margin-bottom:2rem; }.closed .content { display:none; }.handler { padding:1rem; background:none; border:1px solid #444; position: absolute; top:1rem; right:1rem; background-image:url('/images/svg/plus.svg'); background-size:auto 90%; background-position:center; background-repeat:no-repeat; }.handler.open { background-image:url('/images/svg/minus.svg'); }</style>{% endblock %}