{% extends "base.html.twig" %}
{% block body %}
<section class="content">
<div class="container">
<div class="row">
<div class="col-12 col-lg-10">
<h1 class="main-title">
{% if project.title %}
{{ project.title }}
{% else %}
{{ project.name }}
{% endif %}
</h1>
</div>
</div>
</div>
</section>
{{ include('/web/projects/_project_detail_param_table.html.twig', {project: project}) }}
{#
<section class="mt-100">
<div class="container">
<h2>Novinky z projektu</h2>
<div class="grid grid--3 my-4">
<div><div class="twitter-tweet twitter-tweet-rendered" style="display: flex; max-width: 550px; width: 100%; margin-top: 10px; margin-bottom: 10px;"><iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="" style="position: static; visibility: visible; width: 446px; height: 817px; display: block; flex-grow: 1;" title="Twitter Tweet" src="https://platform.twitter.com/embed/Tweet.html?dnt=false&embedId=twitter-widget-0&features=eyJ0ZndfdGltZWxpbmVfbGlzdCI6eyJidWNrZXQiOlsibGlua3RyLmVlIiwidHIuZWUiLCJ0ZXJyYS5jb20uYnIiLCJ3d3cubGlua3RyLmVlIiwid3d3LnRyLmVlIiwid3d3LnRlcnJhLmNvbS5iciJdLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X2hvcml6b25fdGltZWxpbmVfMTIwMzQiOnsiYnVja2V0IjoidHJlYXRtZW50IiwidmVyc2lvbiI6bnVsbH0sInRmd190d2VldF9lZGl0X2JhY2tlbmQiOnsiYnVja2V0Ijoib24iLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3JlZnNyY19zZXNzaW9uIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19zaG93X2J1c2luZXNzX3ZlcmlmaWVkX2JhZGdlIjp7ImJ1Y2tldCI6Im9mZiIsInZlcnNpb24iOm51bGx9LCJ0ZndfY2hpbl9waWxsc18xNDc0MSI6eyJidWNrZXQiOiJjb2xvcl9pY29ucyIsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfcmVzdWx0X21pZ3JhdGlvbl8xMzk3OSI6eyJidWNrZXQiOiJ0d2VldF9yZXN1bHQiLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3NlbnNpdGl2ZV9tZWRpYV9pbnRlcnN0aXRpYWxfMTM5NjMiOnsiYnVja2V0IjoiaW50ZXJzdGl0aWFsIiwidmVyc2lvbiI6bnVsbH0sInRmd19leHBlcmltZW50c19jb29raWVfZXhwaXJhdGlvbiI6eyJidWNrZXQiOjEyMDk2MDAsInZlcnNpb24iOm51bGx9LCJ0ZndfZHVwbGljYXRlX3NjcmliZXNfdG9fc2V0dGluZ3MiOnsiYnVja2V0Ijoib24iLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3ZpZGVvX2hsc19keW5hbWljX21hbmlmZXN0c18xNTA4MiI6eyJidWNrZXQiOiJ0cnVlX2JpdHJhdGUiLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3Nob3dfYmx1ZV92ZXJpZmllZF9iYWRnZSI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9mcm9udGVuZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9fQ%3D%3D&frame=false&hideCard=false&hideThread=false&id=1598016115334352898&lang=en&origin=http%3A%2F%2Flocalhost%3A63342%2Fmua%2F__html%2F_projekt-detail.html%3F_ijt%3D3oas9vubsc69gk0ig8ahm2s95n%23temata&sessionId=b802ad4d6632fb98c87d9dd26f2e654e077c05a4&theme=light&widgetsVersion=a3525f077c700%3A1667415560940&width=550px" data-tweet-id="1598016115334352898"></iframe></div> </div>
<div><div class="twitter-tweet twitter-tweet-rendered" style="display: flex; max-width: 550px; width: 100%; margin-top: 10px; margin-bottom: 10px;"><iframe id="twitter-widget-1" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="" style="position: static; visibility: visible; width: 446px; height: 817px; display: block; flex-grow: 1;" title="Twitter Tweet" src="https://platform.twitter.com/embed/Tweet.html?dnt=false&embedId=twitter-widget-1&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aW9uIjpudWxsfSwidGZ3X3Nob3dfYmx1ZV92ZXJpZmllZF9iYWRnZSI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9mcm9udGVuZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9fQ%3D%3D&frame=false&hideCard=false&hideThread=false&id=1598016115334352898&lang=en&origin=http%3A%2F%2Flocalhost%3A63342%2Fmua%2F__html%2F_projekt-detail.html%3F_ijt%3D3oas9vubsc69gk0ig8ahm2s95n%23temata&sessionId=b802ad4d6632fb98c87d9dd26f2e654e077c05a4&theme=light&widgetsVersion=a3525f077c700%3A1667415560940&width=550px" data-tweet-id="1598016115334352898"></iframe></div> </div>
<div><div class="twitter-tweet twitter-tweet-rendered" style="display: flex; max-width: 550px; width: 100%; margin-top: 10px; margin-bottom: 10px;"><iframe id="twitter-widget-2" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="" style="position: static; visibility: visible; width: 446px; height: 817px; display: block; flex-grow: 1;" title="Twitter Tweet" src="https://platform.twitter.com/embed/Tweet.html?dnt=false&embedId=twitter-widget-2&features=eyJ0ZndfdGltZWxpbmVfbGlzdCI6eyJidWNrZXQiOlsibGlua3RyLmVlIiwidHIuZWUiLCJ0ZXJyYS5jb20uYnIiLCJ3d3cubGlua3RyLmVlIiwid3d3LnRyLmVlIiwid3d3LnRlcnJhLmNvbS5iciJdLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X2hvcml6b25fdGltZWxpbmVfMTIwMzQiOnsiYnVja2V0IjoidHJlYXRtZW50IiwidmVyc2lvbiI6bnVsbH0sInRmd190d2VldF9lZGl0X2JhY2tlbmQiOnsiYnVja2V0Ijoib24iLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3JlZnNyY19zZXNzaW9uIjp7ImJ1Y2tldCI6Im9uIiwidmVyc2lvbiI6bnVsbH0sInRmd19zaG93X2J1c2luZXNzX3ZlcmlmaWVkX2JhZGdlIjp7ImJ1Y2tldCI6Im9mZiIsInZlcnNpb24iOm51bGx9LCJ0ZndfY2hpbl9waWxsc18xNDc0MSI6eyJidWNrZXQiOiJjb2xvcl9pY29ucyIsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfcmVzdWx0X21pZ3JhdGlvbl8xMzk3OSI6eyJidWNrZXQiOiJ0d2VldF9yZXN1bHQiLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3NlbnNpdGl2ZV9tZWRpYV9pbnRlcnN0aXRpYWxfMTM5NjMiOnsiYnVja2V0IjoiaW50ZXJzdGl0aWFsIiwidmVyc2lvbiI6bnVsbH0sInRmd19leHBlcmltZW50c19jb29raWVfZXhwaXJhdGlvbiI6eyJidWNrZXQiOjEyMDk2MDAsInZlcnNpb24iOm51bGx9LCJ0ZndfZHVwbGljYXRlX3NjcmliZXNfdG9fc2V0dGluZ3MiOnsiYnVja2V0Ijoib24iLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3ZpZGVvX2hsc19keW5hbWljX21hbmlmZXN0c18xNTA4MiI6eyJidWNrZXQiOiJ0cnVlX2JpdHJhdGUiLCJ2ZXJzaW9uIjpudWxsfSwidGZ3X3Nob3dfYmx1ZV92ZXJpZmllZF9iYWRnZSI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9LCJ0ZndfdHdlZXRfZWRpdF9mcm9udGVuZCI6eyJidWNrZXQiOiJvbiIsInZlcnNpb24iOm51bGx9fQ%3D%3D&frame=false&hideCard=false&hideThread=false&id=1598016115334352898&lang=en&origin=http%3A%2F%2Flocalhost%3A63342%2Fmua%2F__html%2F_projekt-detail.html%3F_ijt%3D3oas9vubsc69gk0ig8ahm2s95n%23temata&sessionId=b802ad4d6632fb98c87d9dd26f2e654e077c05a4&theme=light&widgetsVersion=a3525f077c700%3A1667415560940&width=550px" data-tweet-id="1598016115334352898"></iframe></div> </div>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<a href="#" class="btn-text btn-icon">
Zobrazit Twitter účet
<svg class="btn-icon__arrow" width="20" height="14" viewBox="0 0 20 14">
<use href="/assets/svg/_btn-icons.svg#arrowRight"></use>
</svg>
</a>
</div>
</section>
#}
<section class="content">
<div class="container">
<div class="perex">
{{ project.html|raw }}
</div>
</div>
</section>
{% if get_category_uploads_by_group_type(category, 1)|length > 0 %}
<section class="container">
<h2>{% trans %}prilohy{% endtrans %}</h2>
<ul class="list-icone list-icone--download">
{% for file in get_category_uploads_by_group_type(category, 1) %}
<li class="list-icone__item">
<a href="{{ asset(file.path) }}" target="_blank" rel="noopener" {% if file.extension != 'pdf' %}download{% endif %}>
{% if file.shortDescription %}
{{ file.shortDescription }}
{% else %}
{{ file.originalName }}
{% endif %}
{% if file.extension %}
(<span class="text-uppercase">{{ file.extension }}</span>)
{% endif %}
</a>
</li>
{% endfor %}
</ul>
</section>
{% endif %}
{% if get_category_uploads_by_group_type(category, 0)|length > 0 and has_gallery(category) %}
<section class="container">
<h2>{% trans %}fotogalerie{% endtrans %}</h2>
<div class="gallery-grid">
{% for image in get_category_uploads_by_group_type(category, 0) %}
<div class="gallery-grid__item">
<a href="{{ asset(image.path) }}" class="gallery-grid__detail glightbox" data-gallery="gallery1" {% if image.shortDescription %}data-glightbox="description: .custom-desc{{ image.id }}"{% endif %}>
<img class="gallery-grid__photo" src="{{ asset(image.path) }}" alt="Obrázek z galerie" {% if image.shortDescription %}title="{{ image.shortDescription }}{% endif %}">
</a>
{% if image.shortDescription %}
<div class="glightbox-desc custom-desc{{ image.id }}">
<p>{{ image.shortDescription }}</p>
</div>
{% endif %}
</div>
{% endfor %}
</div>
</section>
{% endif %}
{% endblock %}