templates/locations_fossil.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% block css %}
  3.  <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/>
  4.  <link rel="stylesheet" href="/leaflet-plugins/fullscreen/Control.FullScreen.css" />
  5.  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css" />
  6. {% endblock %}
  7. {% block title %}
  8. {% if app.request.locale == 'nl' %}{{ fossil.namenl }}{% else %}{{ fossil.nameen }}{% endif %}
  9. {% endblock %}
  10. {% block body %}
  11.         <p>&nbsp;</p>
  12.         {% if fossil.closed == 1 %}<div class="alert alert-danger">{{ 'Deze locatie is gesloten'|trans }}</div>{% endif %}
  13.         <div class="row flex-md-row h-md-250 position-relative">
  14.           <div class="col-md-9 position-static">
  15.             <!-- Start Page Content -->
  16.             <h2>{% if app.request.locale == 'nl' %}{{ fossil.namenl }}{% else %}{{ fossil.nameen }}{% endif %}</h2>
  17.             <p>
  18.               <b>{{ 'Naam'|trans }}:</b> {{ fossil.location }}, {% if app.request.locale == 'nl' %}{{ fossil.country.namenl }}{% else %}{{ fossil.country.nameen }}{% endif %}<br>
  19.               <b>{{ 'Status'|trans }}:</b> {% if fossil.closed == 1 %}{{ 'Gesloten'|trans }}{% else %}{{ 'Open'|trans }}{% endif %}<br>
  20.               <b>{{ 'Kwetsbaarheid'|trans }}:</b> {% if fossil.vulnerability == 'public' %}{{ 'Niet kwetsbaar'|trans }}
  21.               {% elseif fossil.vulnerability == 'slightly' %}{{ 'Licht kwetsbaar'|trans }}
  22.               {% elseif fossil.vulnerability == 'moderate' %}{{ 'Gemiddeld kwetsbaar'|trans }}
  23.               {% elseif fossil.vulnerability == 'very' %}{{ 'Zeer kwetsbaar'|trans }}
  24.               {% endif %}<br>
  25.             </p>
  26.             <p>
  27.               {% if fossil.hasdinosauria %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Dinosauria' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Dinosauria' }) }}{% endif %}"><img src="/images/icons/fossil/has_dinosauria.png"></a>{% endif %}
  28.               {% if fossil.haschlorophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Chlorophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Chlorophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_chlorophyta.png"></a>{% endif %}
  29.               {% if fossil.hasbelemnoidea %}<img src="/images/icons/fossil/has_belemnoidea.png">{% endif %}
  30.               {% if fossil.hasbivalvia %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Bivalvia' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Bivalvia' }) }}{% endif %}"><img src="/images/icons/fossil/has_bivalvia.png"></a>{% endif %}
  31.               {% if fossil.hasbrachiopoda %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Brachiopoda' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Brachiopoda' }) }}{% endif %}"><img src="/images/icons/fossil/has_brachiopoda.png"></a>{% endif %}
  32.               {% if fossil.hasbryozoa %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Bryozoa' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Bryozoa' }) }}{% endif %}"><img src="/images/icons/fossil/has_bryozoa.png"></a>{% endif %}
  33.               {% if fossil.hasammonitida %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Ammonitida' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Ammonitida' }) }}{% endif %}"><img src="/images/icons/fossil/has_ammonitida.png"></a>{% endif %}
  34.               {% if fossil.hasnautiloidea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Nautiloidea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Nautiloidea' }) }}{% endif %}"><img src="/images/icons/fossil/has_nautiloidea.png"></a>{% endif %}
  35.               {% if fossil.hascrinoidea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Crinoidea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Crinoidea' }) }}{% endif %}"><img src="/images/icons/fossil/has_crinoidea.png"></a>{% endif %}
  36.               {% if fossil.hasforaminifera %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Foraminifera' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Foraminifera' }) }}{% endif %}"><img src="/images/icons/fossil/has_foraminifera.png"></a>{% endif %}
  37.               {% if fossil.hasgastropoda %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Gastropoda' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Gastropoda' }) }}{% endif %}"><img src="/images/icons/fossil/has_gastropoda.png"></a>{% endif %}
  38.               {% if fossil.hashemichordata %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Hemichordata' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Hemichordata' }) }}{% endif %}"><img src="/images/icons/fossil/has_hemichordata.png"></a>{% endif %}
  39.               {% if fossil.hashexapoda %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Hexapoda' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Hexapoda' }) }}{% endif %}"><img src="/images/icons/fossil/has_hexapoda.png"></a>{% endif %}
  40.               {% if fossil.hasanthozoa %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Anthozoa' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Anthozoa' }) }}{% endif %}"><img src="/images/icons/fossil/has_anthozoa.png"></a>{% endif %}
  41.               {% if fossil.hascrustacea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Crustacea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Crustacea' }) }}{% endif %}"><img src="/images/icons/fossil/has_crustacea.png"></a>{% endif %}
  42.               {% if fossil.hasmammaliaterrestrium %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Mammalia' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Mammalia' }) }}{% endif %}"><img src="/images/icons/fossil/has_mammaliaterrestrium.png"></a>{% endif %}
  43.               {% if fossil.hasostracoda %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Ostracoda' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Ostracoda' }) }}{% endif %}"><img src="/images/icons/fossil/has_ostracoda.png"></a>{% endif %}
  44.               {% if fossil.hasangiospermae %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Angiospermae' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Angiospermae' }) }}{% endif %}"><img src="/images/icons/fossil/has_angiospermae.png"></a>{% endif %}
  45.               {% if fossil.hasconiferophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Coniferophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Coniferophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_coniferophyta.png"></a>{% endif %}
  46.               {% if fossil.hascycadophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Cycadophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Cycadophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_cycadophyta.png"></a>{% endif %}
  47.               {% if fossil.haslycophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Lycophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Lycophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_lycophyta.png"></a>{% endif %}
  48.               {% if fossil.haspteridophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Pteridophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Pteridophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_pteridophyta.png"></a>{% endif %}
  49.               {% if fossil.haspteridospermophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Pteridospermophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Pteridospermophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_pteridospermophyta.png"></a>{% endif %}
  50.               {% if fossil.hassphenophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Sphenophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Sphenophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_sphenophyta.png"></a>{% endif %}
  51.               {% if fossil.hasrudista %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Rudista' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Rudista' }) }}{% endif %}"><img src="/images/icons/fossil/has_rudista.png"></a>{% endif %}
  52.               {% if fossil.haspolychaeta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Polychaeta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Polychaeta' }) }}{% endif %}"><img src="/images/icons/fossil/has_polychaeta.png"></a>{% endif %}
  53.               {% if fossil.hasporifera %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Porifera' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Porifera' }) }}{% endif %}"><img src="/images/icons/fossil/has_porifera.png"></a>{% endif %}
  54.               {% if fossil.hasichnofossilia %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Ichnofossiel' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Ichnofossil' }) }}{% endif %}"><img src="/images/icons/fossil/has_ichnofossilia.png"></a>{% endif %}
  55.               {% if fossil.hastrilobita %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Trilobita' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Trilobita' }) }}{% endif %}"><img src="/images/icons/fossil/has_trilobita.png"></a>{% endif %}
  56.               {% if fossil.haselasmobranchii %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Elasmobranchii' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Elasmobranchii' }) }}{% endif %}"><img src="/images/icons/fossil/has_elasmobranchii.png"></a>{% endif %}
  57.               {% if fossil.hasbatoidea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Batoidea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Batoidea' }) }}{% endif %}"><img src="/images/icons/fossil/has_batoidea.png"></a>{% endif %}
  58.               {% if fossil.hasaves %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Aves' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Aves' }) }}{% endif %}"><img src="/images/icons/fossil/has_aves.png"></a>{% endif %}
  59.               {% if fossil.hasechinoidea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Echinoidea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Echinoidea' }) }}{% endif %}"><img src="/images/icons/fossil/has_echinoidea.png"></a>{% endif %}
  60.               {% if fossil.hasmammaliamarinis %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Mammalia' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Mammalia' }) }}{% endif %}"><img src="/images/icons/fossil/has_mammaliamarinis.png"></a>{% endif %}
  61.               {% if fossil.hasbacteria %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Bacteria' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Bacteria' }) }}{% endif %}"><img src="/images/icons/fossil/has_bacteria.png"></a>{% endif %}
  62.               {% if fossil.hasarchaebacteria %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Archaebacteria' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Archaebacteria' }) }}{% endif %}"><img src="/images/icons/fossil/has_archaebacteria.png"></a>{% endif %}
  63.               {% if fossil.hasphaeophyceae %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Phaeophyceae' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Phaeophyceae' }) }}{% endif %}"><img src="/images/icons/fossil/has_phaeophyceae.png"></a>{% endif %}
  64.               {% if fossil.hasdiatomophyceae %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Diatomophyceae' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Diatomophyceae' }) }}{% endif %}"><img src="/images/icons/fossil/has_diatomophyceae.png"></a>{% endif %}
  65.               {% if fossil.hasradiolaria %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Radiolaria' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Radiolaria' }) }}{% endif %}"><img src="/images/icons/fossil/has_radiolaria.png"></a>{% endif %}
  66.               {% if fossil.haschoanoflagellata %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Choanoflagellata' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Choanoflagellata' }) }}{% endif %}"><img src="/images/icons/fossil/has_choanoflagellata.png"></a>{% endif %}
  67.               {% if fossil.hasmedusozoa %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Medusozoa' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Medusozoa' }) }}{% endif %}"><img src="/images/icons/fossil/has_medusozoa.png"></a>{% endif %}
  68.               {% if fossil.hasasterozoa %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Asterozoa' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Asterozoa' }) }}{% endif %}"><img src="/images/icons/fossil/has_asterozoa.png"></a>{% endif %}
  69.               {% if fossil.hasblastoidea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Blastoidea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Blastoidea' }) }}{% endif %}"><img src="/images/icons/fossil/has_blastoidea.png"></a>{% endif %}
  70.               {% if fossil.hascystoidea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Cystoidea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Cystoidea' }) }}{% endif %}"><img src="/images/icons/fossil/has_cystoidea.png"></a>{% endif %}
  71.               {% if fossil.hasagnatha %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Agnatha' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Agnatha' }) }}{% endif %}"><img src="/images/icons/fossil/has_agnatha.png"></a>{% endif %}
  72.               {% if fossil.hasplacodermi %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Placodermi' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Placodermi' }) }}{% endif %}"><img src="/images/icons/fossil/has_placodermi.png"></a>{% endif %}
  73.               {% if fossil.haschimaeriformes %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Chimaeriformes' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Chimaeriformes' }) }}{% endif %}"><img src="/images/icons/fossil/has_chimaeriformes.png"></a>{% endif %}
  74.               {% if fossil.hasactinopterygii %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Actinopterygii' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Actinopterygii' }) }}{% endif %}"><img src="/images/icons/fossil/has_actinopterygii.png"></a>{% endif %}
  75.               {% if fossil.hassarcopterygii %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Sarcopterygii' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Sarcopterygii' }) }}{% endif %}"><img src="/images/icons/fossil/has_sarcopterygii.png"></a>{% endif %}
  76.               {% if fossil.hasdipnoi %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Dipnoi' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Dipnoi' }) }}{% endif %}"><img src="/images/icons/fossil/has_dipnoi.png"></a>{% endif %}
  77.               {% if fossil.hasamphibia %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Amphibia' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Amphibia' }) }}{% endif %}"><img src="/images/icons/fossil/has_amphibia.png"></a>{% endif %}
  78.               {% if fossil.hasanapsida %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Anapsida' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Anapsida' }) }}{% endif %}"><img src="/images/icons/fossil/has_anapsida.png"></a>{% endif %}
  79.               {% if fossil.hassquamata %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Squamata' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Squamata' }) }}{% endif %}"><img src="/images/icons/fossil/has_squamata.png"></a>{% endif %}
  80.               {% if fossil.hassauropterygia %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Sauropterygia' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Sauropterygia' }) }}{% endif %}"><img src="/images/icons/fossil/has_sauropterygia.png"></a>{% endif %}
  81.               {% if fossil.hasichthyosauria %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Ichthyosauria' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Ichthyosauria' }) }}{% endif %}"><img src="/images/icons/fossil/has_ichthyosauria.png"></a>{% endif %}
  82.               {% if fossil.hascrocodylomorpha %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Crocodylomorpha' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Crocodylomorpha' }) }}{% endif %}"><img src="/images/icons/fossil/has_crocodylomorpha.png"></a>{% endif %}
  83.               {% if fossil.haspterosauria %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Pterosauria' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Pterosauria' }) }}{% endif %}"><img src="/images/icons/fossil/has_pterosauria.png"></a>{% endif %}
  84.               {% if fossil.hasplatyzoa %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Platyzoa' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Platyzoa' }) }}{% endif %}"><img src="/images/icons/fossil/has_platyzoa.png"></a>{% endif %}
  85.               {% if fossil.hasannelida %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Annelida' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Annelida' }) }}{% endif %}"><img src="/images/icons/fossil/has_annelida.png"></a>{% endif %}
  86.               {% if fossil.haspolyplacophora %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Polyplacophora' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Polyplacophora' }) }}{% endif %}"><img src="/images/icons/fossil/has_polyplacophora.png"></a>{% endif %}
  87.               {% if fossil.hasscaphopoda %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Scaphopoda' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Scaphopoda' }) }}{% endif %}"><img src="/images/icons/fossil/has_scaphopoda.png"></a>{% endif %}
  88.               {% if fossil.hasnautilida %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Nautilida' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Nautilida' }) }}{% endif %}"><img src="/images/icons/fossil/has_nautilida.png"></a>{% endif %}
  89.               {% if fossil.hasgoniatitida %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Goniatitida' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Goniatitida' }) }}{% endif %}"><img src="/images/icons/fossil/has_goniatitida.png"></a>{% endif %}
  90.               {% if fossil.hasceratitida %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Ceratitida' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Ceratitida' }) }}{% endif %}"><img src="/images/icons/fossil/has_ceratitida.png"></a>{% endif %}
  91.               {% if fossil.hasneocoleoidea %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Neocoleoidea' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Neocoleoidea' }) }}{% endif %}"><img src="/images/icons/fossil/has_neocoleoidea.png"></a>{% endif %}
  92.               {% if fossil.hasarachnida %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Arachnida' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Arachnida' }) }}{% endif %}"><img src="/images/icons/fossil/has_arachnida.png"></a>{% endif %}
  93.               {% if fossil.hasmerostomata %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Merostomata' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Merostomata' }) }}{% endif %}"><img src="/images/icons/fossil/has_merostomata.png"></a>{% endif %}
  94.               {% if fossil.hasmyriapoda %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Myriapoda' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Myriapoda' }) }}{% endif %}"><img src="/images/icons/fossil/has_myriapoda.png"></a>{% endif %}
  95.               {% if fossil.hasfungi %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Fungi' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Fungi' }) }}{% endif %}"><img src="/images/icons/fossil/has_fungi.png"></a>{% endif %}
  96.               {% if fossil.hasmycetozoa %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Mycetozoa' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Mycetozoa' }) }}{% endif %}"><img src="/images/icons/fossil/has_mycetozoa.png"></a>{% endif %}
  97.               {% if fossil.hasginkgophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Ginkgophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Ginkgophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_ginkgophyta.png"></a>{% endif %}
  98.               {% if fossil.hasbryophyta %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Bryophyta' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Bryophyta' }) }}{% endif %}"><img src="/images/icons/fossil/has_bryophyta.png"></a>{% endif %}
  99.               {% if fossil.hasincertaesedis %}<a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Incertae sedis' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Incertae sedis' }) }}{% endif %}"><img src="/images/icons/fossil/has_incertae sedis.png"></a>{% endif %}
  100.             </p>
  101.             <p>
  102.             <table class="table-responsive" cellpadding="0">
  103.               <tr>
  104.                 <td nowrap>
  105.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Kwartair' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Quatenary' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.isquaternary %}not{% endif %}_quaternary.png"></a>
  106.                   
  107.                 </td>
  108.               </tr>
  109.               <tr>
  110.                 <td nowrap style="font-size: 0px">
  111.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Neogeen' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Neogene' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.isneogene %}not{% endif %}_neogene.png"></a>
  112.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Paleogeen' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Paleogene' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.ispaleogene %}not{% endif %}_paleogene.png"></a>
  113.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Krijt' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Cretaceous' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.iscretaceous %}not{% endif %}_cretaceous.png"></a>
  114.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Jura' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Jurassic' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.isjurassic %}not{% endif %}_jurassic.png"></a>
  115.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Trias' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Triassic' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.istriassic %}not{% endif %}_triassic.png"></a>
  116.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Perm' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Permian' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.ispermian %}not{% endif %}_permian.png"></a>
  117.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Carboon' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Carboniferous' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.iscarboniferous %}not{% endif %}_carboniferous.png"></a>
  118.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Devoon' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Devonian' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.isdevonian %}not{% endif %}_devonian.png"></a>
  119.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Siluur' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Silurian' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.issilurian %}not{% endif %}_silurian.png"></a>
  120.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Ordovicium' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Ordovician' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.isordovician %}not{% endif %}_ordovician.png"></a>
  121.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Cambrium' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Cambrian' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.iscambrian %}not{% endif %}_cambrian.png"></a>
  122.                   <a href="{% if app.request.locale == 'nl' %}{{ path('glossary_by_title',{ 'title' : 'Precambrium' })}}{% else %}{{ path('glossary_by_title',{ 'title' : 'Precambrian' }) }}{% endif %}"><img src="/images/icons/fossil/is{% if not fossil.isprecambrian %}not{% endif %}_precambrian.png"></a>
  123.                 </td>
  124.               </tr>
  125.             </table>
  126.             </p>
  127.             <div id="map" style="height: 400px;"></div>
  128.             <p></p>
  129.             <div class="article d-table">
  130.               {% if app.request.locale == 'nl' %}{{ fossil.descriptionnl|raw }}{% else %}{{ fossil.descriptionen|raw }}{% endif %}
  131.             </div>
  132.             <p></p>
  133.             <h2>{{ 'Vondsten'|trans }}</h2>
  134.             <div class="d-table">
  135.               {% if app.request.locale == 'nl' %}{{ fossil.findsnl|raw }}{% else %}{{ fossil.findsen|raw }}{% endif %}
  136.               {% if app.request.locale == 'nl' %}{% set name = fossil.namenl %}{% else %}{% set name = fossil.nameen %}{% endif %}
  137.               {% set locationurl = '[{"id":"' ~ fossil.id ~ '","value":"' ~ fossil.namenl ~ '","name_en":"' ~ fossil.nameen ~ '","location":"' ~ name ~ '"}]' %}
  138.               {{'Er staan {pictures} foto\'s van fossielen van deze vindplaats in het <a href="{link}">Fossielen Fossielendatabase</a>.'|trans({'pictures': fossils_found, '{link}' : path('fossildb', { 'page': '1', 'filter[location]': locationurl }) })|raw }}<br>
  139.               {{'Zie hier de <a href="{link}">soortenlijst van {name}</a>.'|trans({ '{name}': name ,'{link}' : path('specieslist_item', { 'type': 'location', 'id': fossil.id }) })|raw }}
  140.             </div>
  141.             <p></p>
  142.             <h2>{{ 'Route'|trans }}</h2>
  143.             <div class="d-table">
  144.               {% if app.request.locale == 'nl' %}{{ fossil.routenl|raw }}{% else %}{{ fossil.routeen|raw }}{% endif %}
  145.             </div>
  146.             <p></p>
  147.             <h2>{{ 'Literatuur over deze locatie'|trans }}</h2>
  148.             <ul>
  149.             {% set literaturecount = 0 %}
  150.             {% for literature in fossil.literatures|sort((a, b) => b.year <=> a.year) %}
  151.               {% if literature.approved == '1'%}
  152.                 {% set literaturecount = literaturecount + 1 %}
  153.             <li><b>{{ literature.author }}, {{ literature.year }}:</b> {% if literature.url is not null %}<a href="{{ literature.url }}">{{ literature.title }}</a>{% else %}{{ literature.title }}{% endif %}<br>
  154.                 <i>{% if app.request.locale == 'nl' %}{{ literature.descriptionnl }}{% else %}{{ literature.descriptionen }}{% endif %}</i><br>
  155.                 {% if literature.username != 'Anonymous' %}{{ 'toegevoegd door'|trans }}: {{ literature.username }}{% endif %}<br>
  156.                 <br>
  157.               {% endif %}
  158.             {% endfor %}
  159.             {% if literaturecount < 1 %}{{ 'Er is nog geen literatuur voor deze locatie toegevoegd.'|trans }}{% endif %}
  160.             </ul>
  161.             <a href="{{ path('literature_add') }}">{{ 'Literatuur toevoegen'|trans }}</a>
  162.             <p></p>
  163.             <h2>{{ 'Foto\'s van deze locatie'|trans }}</h2>
  164.               {% for photo in fossil.locationphotos|sort((a, b) => b.date <=> a.date) %}
  165.               {% if photo.approved == '1'%}
  166.                 {% set thumbnail = '/uploads/locations/' ~ photo.filename|slice(0, 2) ~ "/" ~ photo.filename %}
  167.                 <a href="/uploads/locations/{{photo.filename|slice(0, 2)}}/{{photo.filename}}" data-footer="{% if app.request.locale == 'nl' %}{{ photo.descriptionnl }}{% else %}{{ photo.descriptionen }}{% endif %}" data-toggle="lightbox" data-gallery="locations-gallery"><img src="{{ thumbnail|imagine_filter('location_thumb_small') }}" class="img-fluid img-thumbnail"></a>
  168.               {% endif %}
  169.               {% endfor %}
  170.               <a href="{{ path('locations_photo_add', { 'type': 'fossil', 'id': fossil.id })}}"><img src="/images/photo_add.png" class="img-fluid img-thumbnail"></a>
  171.             <p></p>
  172.             <h2>{{ 'In de buurt'|trans }}</h2>
  173.             {% for item in locations_nearby %}
  174.             <div class="row">
  175.               <div class="col-1" style="text-align: right">
  176.                 <span class="feather-18" data-feather="map-pin"></span>
  177.               </div>
  178.               <div class="col-11">
  179.                 {% if item.type == 'fossil' %}{{ 'Fossielenlocatie'|trans }}: <a href='{{ path('locations_fossil', { 'id': item.fossil.id} ) }}'>{% if app.request.locale == 'nl' %}{{ item.fossil.location }}{% else %}{{ item.fossil.location }} {% if item.fossil.closed %}<span style="color: #FF0000;">({{ 'Gesloten'|trans }})</span>{% endif %}{% endif %}
  180.                 {% elseif item.type == 'geology' %}{{ 'Geologische locatie'|trans }}: <a href='{{ path('locations_geology', { 'id': item.geology.id} ) }}'>{% if app.request.locale == 'nl' %}{{ item.geology.location }}{% else %}{{ item.geology.location }} {% if item.geology.closed %}<span style="color: #FF0000;">({{ 'Gesloten'|trans }})</span>{% endif %}{% endif %}
  181.                 {% elseif item.type == 'museum' %}{{ 'Museum'|trans }}: <a href='{{ path('locations_museum', { 'id': item.museum.id} ) }}'>{% if app.request.locale == 'nl' %}{{ item.namenl }}{% else %}{{ item.nameen }}
  182.                 {% endif %}{% elseif item.type == 'society' %}{{ 'Vereniging'|trans }}: <a href='{{ path('locations_society', { 'id': item.society.id} ) }}'>{% if app.request.locale == 'nl' %}{{ item.namenl }}{% else %}{{ item.nameen }}{% endif %}
  183.                 {% endif %}</a><br>
  184.               </div>
  185.             </div>
  186.             {% endfor %}
  187.             <!-- End Page Content -->
  188.           </div>
  189.           {% embed 'sidebar.html.twig' %}
  190.             {% block elements %}
  191.             <h3>{{ 'Feedback'|trans }}</h3>
  192.             <div class="w-100 text-center">
  193.               {{ 'Mist er iets op deze pagina? Of klopt er iets aan de tekst? Meld het ons.'|trans }}
  194.               <p class="card-text"><a href="{{ path('locations_review_add',{ 'type' : 'fossil', 'id' : fossil.id }) }}"><button type="button" class="btn btn-paleontica">{{ 'Geef feedback'|trans }}</button></a></p>
  195.             </div>
  196.             <p></p>
  197.             {% endblock %}
  198.           {% endembed %}
  199.         </div>
  200. {% endblock %}
  201. {% block javascript %}
  202. <script src="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js"></script>
  203. <script>
  204.     $(document).ready(function() {
  205.         $("img").addClass("img-fluid");
  206. });
  207. $(document).on('click', '[data-toggle="lightbox"]', function(event) {
  208.     event.preventDefault();
  209.     $(this).ekkoLightbox({
  210.         wrapping: true,
  211.     });
  212. });
  213. </script>
  214. {% include "location_leaflet.html.twig" %}
  215. {% endblock %}