var/cache/dev/twig/d6/d65b380a97f5356365e11f1b70546e58.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* web/default/career.html.twig */
  18. class __TwigTemplate_24ae95e84240b2e39e97f213d00cdcc9 extends Template
  19. {
  20. private Source $source;
  21. /**
  22. * @var array<string, MacroNamespace>
  23. */
  24. private array $macros = [];
  25. private \Twig\Runtime\EscaperRuntime $escaper;
  26. public function __construct(Environment $env)
  27. {
  28. parent::__construct($env);
  29. $this->source = $this->getSourceContext();
  30. $this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
  31. $this->blocks = [
  32. 'title' => [$this, 'block_title'],
  33. 'keywords' => [$this, 'block_keywords'],
  34. 'description' => [$this, 'block_description'],
  35. 'javascripts' => [$this, 'block_javascripts'],
  36. 'body' => [$this, 'block_body'],
  37. ];
  38. }
  39. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  40. {
  41. // line 1
  42. return $this->parent ??= $this->load("web/base.html.twig", 1);
  43. }
  44. protected function doDisplay(array $context, array $blocks = []): iterable
  45. {
  46. $macros = $this->macros;
  47. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  48. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/career.html.twig"));
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/career.html.twig"));
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/career.html.twig"));
  53. $this->parent = $this->load("web/base.html.twig", 1);
  54. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  55. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  57. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58. }
  59. // line 3
  60. /**
  61. * @return iterable<null|scalar|\Stringable>
  62. */
  63. public function block_title(array $context, array $blocks = []): iterable
  64. {
  65. $macros = $this->macros;
  66. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  67. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  68. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  70. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  72. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("career.title", [], "web"), "html", null, true);
  73. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  76. return; yield;
  77. }
  78. // line 4
  79. /**
  80. * @return iterable<null|scalar|\Stringable>
  81. */
  82. public function block_keywords(array $context, array $blocks = []): iterable
  83. {
  84. $macros = $this->macros;
  85. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  86. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  87. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  89. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  91. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("career.keywords", [], "web"), "html", null, true);
  92. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  95. return; yield;
  96. }
  97. // line 5
  98. /**
  99. * @return iterable<null|scalar|\Stringable>
  100. */
  101. public function block_description(array $context, array $blocks = []): iterable
  102. {
  103. $macros = $this->macros;
  104. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  105. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  106. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  108. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  110. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("career.metaDescription", [], "web"), "html", null, true);
  111. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  114. return; yield;
  115. }
  116. // line 8
  117. /**
  118. * @return iterable<null|scalar|\Stringable>
  119. */
  120. public function block_javascripts(array $context, array $blocks = []): iterable
  121. {
  122. $macros = $this->macros;
  123. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  124. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  125. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  127. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  129. // line 9
  130. yield "<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  131. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js\"></script>
  132. <script>
  133. \t\$(document).ready(function () {
  134. \t\tlet \$grid = \$(\x27.qodef-pl-inner\x27).isotope({
  135. \t\t\titemSelector: \x27.qodef-pl-item\x27,
  136. \t\t\tlayoutMode: \x27fitRows\x27
  137. \t\t});
  138. \t\t\$(\x27body\x27).on(\x27change\x27, \x27#filter-shop\x27, function () {
  139. \t\t\t\$(\x27.qodef-pl-filter\x27).removeClass(\x27active\x27);
  140. \t\t\tif(\$(this).val() === \"0\"){
  141. \t\t\t\t\$grid.isotope({ filter: \"*\" });
  142. \t\t\t}else {
  143. \t\t\t\t\$grid.isotope({filter: \x27.store_\x27 + \$(this).val()});
  144. \t\t\t}
  145. \t\t\thistory.pushState(null, null, window.location.pathname);
  146. \t\t}).on(\x27click\x27, \x27.qodef-pl-filter\x27, function () {
  147. \t\t\tvar category = \$(this).data(\x27filter\x27);
  148. \t\t\tif (category === \x27all\x27) {
  149. \t\t\t\t\$grid.isotope({filter: \"*\"}); // Zobrazit všechna data
  150. \t\t\t} else {
  151. \t\t\t\t\$grid.isotope({filter: category}); // Použít filtrovací kategorii
  152. \t\t\t}
  153. \t\t\t\$(\x27.qodef-pl-filter\x27).removeClass(\x27active\x27);
  154. \t\t\t\$(\x27.qodef-pl-filter[data-filter=\"\x27 + category + \x27\"]\x27).addClass(\x27active\x27);
  155. \t\t\t// Přidání cesty do URL
  156. \t\t\tvar newUrl = window.location.pathname + \x27?filter=\x27 + category;
  157. \t\t\thistory.pushState(null, null, newUrl);
  158. \t\t})
  159. \t});
  160. </script>
  161. ";
  162. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  163. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  165. return; yield;
  166. }
  167. // line 48
  168. /**
  169. * @return iterable<null|scalar|\Stringable>
  170. */
  171. public function block_body(array $context, array $blocks = []): iterable
  172. {
  173. $macros = $this->macros;
  174. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  175. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  176. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  177. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  178. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  179. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  180. // line 49
  181. yield "\t";
  182. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/header.html.twig");
  183. yield "
  184. \t<div class=\"qodef-content career\">
  185. \t\t<div class=\"qodef-content-inner\">
  186. \t\t\t<div class=\"qodef-full-width\">
  187. \t\t\t\t<div class=\"qodef-full-width-inner\">
  188. \t\t\t\t\t<div class=\"qodef-grid-row\">
  189. \t\t\t\t\t\t<div class=\"qodef-page-content-holder qodef-grid-col-12\">
  190. \t\t\t\t\t\t\t<div class=\"qodef-row-grid-section-wrapper \">
  191. \t\t\t\t\t\t\t\t<div class=\"qodef-row-grid-section\">
  192. \t\t\t\t\t\t\t\t\t<div class=\"vc_row wpb_row vc_row-fluid\">
  193. \t\t\t\t\t\t\t\t\t\t<div class=\"wpb_column vc_column_container vc_col-sm-12\">
  194. \t\t\t\t\t\t\t\t\t\t\t<div class=\"vc_column-inner\">
  195. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpb_wrapper\">
  196. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
  197. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
  198. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"";
  199. // line 64
  200. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_homepage");
  201. yield "\">Home</a>
  202. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"qodef-delimiter\">&nbsp; / &nbsp</span>
  203. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"";
  204. // line 66
  205. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_career");
  206. yield "\">";
  207. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("career.title", [], "web"), "html", null, true);
  208. yield "</a>
  209. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  210. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-section-title-holder\" style=\"text-align: center; padding-bottom: 50px !important;\">
  211. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-st-inner\">
  212. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h1 class=\"qodef-st-title\">";
  213. // line 70
  214. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("career.title", [], "web"), "html", null, true);
  215. yield "</h1>
  216. <div class=\"qodef-portfolio-list-holder qodef-grid-list qodef-pl-gallery qodef-four-columns qodef-medium-space qodef-pl-gallery-overlay qodef-pl-pag-load-more qodef-pl-has-filter\" style=\"margin-top: 40px;\">
  217. <div class=\"qodef-pl-filter-holder\">
  218. <div class=\"qodef-plf-inner\">
  219. <ul>
  220. <li class=\"qodef-pl-filter\" data-filter=\"\">
  221. <span>";
  222. // line 76
  223. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("all", [], "web"), "html", null, true);
  224. yield "</span>
  225. </li>
  226. <li class=\"qodef-pl-filter\" data-filter=\".type-hpp\">
  227. <span>HPP</span>
  228. </li>
  229. <li class=\"qodef-pl-filter\" data-filter=\".type-dpc\">
  230. <span>DPČ</span>
  231. </li>
  232. <li class=\"qodef-pl-filter\" data-filter=\".type-dpp\">
  233. <span>DPP</span>
  234. </li>
  235. </ul>
  236. </div>
  237. </div>
  238. <div class=\"select-store\">
  239. <select id=\"filter-shop\">
  240. <option selected value=\"0\">";
  241. // line 93
  242. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("selectStore", [], "web"), "html", null, true);
  243. yield "</option>
  244. ";
  245. // line 94
  246. if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["careers"]) || array_key_exists("careers", $context) ? $context["careers"] : (function () { throw new RuntimeError('Variable "careers" does not exist.', 94, $this->source); })())) > 0)) {
  247. // line 95
  248. yield " ";
  249. $context["duplicate"] = [];
  250. // line 96
  251. yield " ";
  252. $context['_parent'] = $context;
  253. $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::sort($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->getChecker()->isSandboxed($this->source), (isset($context["careers"]) || array_key_exists("careers", $context) ? $context["careers"] : (function () { throw new RuntimeError('Variable "careers" does not exist.', 96, $this->source); })()), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["a"]) || array_key_exists("a", $context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.', 96, $this->source); })()), "store", [], "any", false, false, false, 96), "getName", [], "method", false, false, false, 96) <=> CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["b"]) || array_key_exists("b", $context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.', 96, $this->source); })()), "store", [], "any", false, false, false, 96), "getName", [], "method", false, false, false, 96)); }));
  254. foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  255. // line 97
  256. yield " ";
  257. if (!CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 97), "getName", [], "method", false, false, false, 97), (isset($context["duplicate"]) || array_key_exists("duplicate", $context) ? $context["duplicate"] : (function () { throw new RuntimeError('Variable "duplicate" does not exist.', 97, $this->source); })()))) {
  258. // line 98
  259. yield " <option value=\"";
  260. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 98), "id", [], "any", false, false, false, 98), "html", null, true);
  261. yield "\">";
  262. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 98), "getName", [], "method", false, false, false, 98), "html", null, true);
  263. yield "</option>
  264. ";
  265. // line 99
  266. $context["duplicate"] = Twig\Extension\CoreExtension::merge((isset($context["duplicate"]) || array_key_exists("duplicate", $context) ? $context["duplicate"] : (function () { throw new RuntimeError('Variable "duplicate" does not exist.', 99, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 99), "getName", [], "method", false, false, false, 99)]);
  267. // line 100
  268. yield " ";
  269. }
  270. // line 101
  271. yield "
  272. ";
  273. }
  274. $_parent = $context['_parent'];
  275. unset($context['_seq'], $context['_key'], $context['c'], $context['_parent']);
  276. $context = array_intersect_key($context, $_parent);
  277. $context += $_parent;
  278. // line 103
  279. yield " ";
  280. }
  281. // line 104
  282. yield " </select>
  283. </div>
  284. <div class=\"qodef-pl-inner qodef-outer-space clearfix career-detail\">
  285. ";
  286. // line 108
  287. if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["careers"]) || array_key_exists("careers", $context) ? $context["careers"] : (function () { throw new RuntimeError('Variable "careers" does not exist.', 108, $this->source); })())) > 0)) {
  288. // line 109
  289. yield " ";
  290. $context['_parent'] = $context;
  291. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["careers"]) || array_key_exists("careers", $context) ? $context["careers"] : (function () { throw new RuntimeError('Variable "careers" does not exist.', 109, $this->source); })()));
  292. foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  293. // line 110
  294. yield "
  295. <article class=\"qodef-pl-item qodef-item-space portfolio-item type-portfolio-item type-";
  296. // line 111
  297. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["c"], "type", [], "any", false, false, false, 111), "html", null, true);
  298. yield " store_";
  299. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 111), "id", [], "any", false, false, false, 111), "html", null, true);
  300. yield "\">
  301. <div class=\"qodef-pl-item-inner\">
  302. <div class=\"career-detail__image\">
  303. ";
  304. // line 114
  305. if ( !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 114), "logo", [], "any", false, false, false, 114))) {
  306. // line 115
  307. yield " <img src=\"";
  308. yield (string) $this->escaper->escape($this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset(CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 115), "logoFile"), "thumb300"), "html", null, true);
  309. yield "\" alt=\"";
  310. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 115), "getName", [], "method", false, false, false, 115), "html", null, true);
  311. yield "\">
  312. ";
  313. }
  314. // line 117
  315. yield " </div>
  316. <div class=\"career-detail__content\">
  317. <h2 class=\"career-detail__shop\">
  318. ";
  319. // line 120
  320. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["c"], "store", [], "any", false, false, false, 120), "getName", [], "method", false, false, false, 120), "html", null, true);
  321. yield "
  322. </h2>
  323. <h4 class=\"career-detail__title\">
  324. ";
  325. // line 123
  326. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["c"], "getName", [], "method", false, false, false, 123), "html", null, true);
  327. yield "
  328. </h4>
  329. <p class=\"career-detail__date\">
  330. ";
  331. // line 126
  332. yield (string) $this->escaper->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["c"], "datePublic", [], "any", false, false, false, 126), "d. m. Y"), "html", null, true);
  333. yield "
  334. </p>
  335. </div>
  336. <div class=\"qodef-pli-text-holder\">
  337. <div class=\"qodef-pli-text-wrapper\">
  338. <div class=\"qodef-pli-text\">
  339. <h5 itemprop=\"name\" class=\"qodef-pli-title entry-title\">";
  340. // line 132
  341. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("showMore", [], "web"), "html", null, true);
  342. yield "</h5>
  343. </div>
  344. </div>
  345. </div>
  346. <a itemprop=\"url\" class=\"qodef-pli-link qodef-block-drag-link\" href=\"";
  347. // line 136
  348. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_career_detail", ["career" => CoreExtension::getAttribute($this->env, $this->source, $context["c"], "getSlug", [], "method", false, false, false, 136)]), "html", null, true);
  349. yield "\" target=\"_self\"></a>
  350. </div>
  351. </article>
  352. ";
  353. }
  354. $_parent = $context['_parent'];
  355. unset($context['_seq'], $context['_key'], $context['c'], $context['_parent']);
  356. $context = array_intersect_key($context, $_parent);
  357. $context += $_parent;
  358. // line 140
  359. yield " ";
  360. }
  361. // line 141
  362. yield "
  363. </div>
  364. </div>
  365. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-st-text\" style=\"margin-top: 25px\">";
  366. // line 144
  367. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("career.description", [], "web");
  368. yield "</div>
  369. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  371. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  372. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"career-video\">
  373. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/rwgpLZLvVjQ?si=hGY4zi2YdXrZz25v\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  374. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/sljLivdSfc8?si=klTP2_v6zmKIc_wg\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  375. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/DOtNy6ZjTsM?si=IjuH0BFIifh2VGie\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  376. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/OEGKRy5SOoo?si=p8WKjqEwO4GGbWM8\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  377. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  378. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  379. \t\t\t\t\t\t\t\t\t\t\t</div>
  380. \t\t\t\t\t\t\t\t\t\t</div>
  381. \t\t\t\t\t\t\t\t\t</div>
  382. \t\t\t\t\t\t\t\t</div>
  383. \t\t\t\t\t\t\t</div>
  384. \t\t\t\t\t\t</div>
  385. \t\t\t\t\t</div>
  386. \t\t\t\t</div>
  387. \t\t\t</div>
  388. \t\t\t";
  389. // line 165
  390. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/gift-card.html.twig");
  391. yield "
  392. \t\t</div>
  393. \t</div>
  394. \t";
  395. // line 168
  396. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/footer.html.twig");
  397. yield "
  398. ";
  399. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  400. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  401. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  402. return; yield;
  403. }
  404. /**
  405. * @codeCoverageIgnore
  406. */
  407. public function getTemplateName(): string
  408. {
  409. return "web/default/career.html.twig";
  410. }
  411. /**
  412. * @codeCoverageIgnore
  413. */
  414. public function isTraitable(): bool
  415. {
  416. return false;
  417. }
  418. /**
  419. * @codeCoverageIgnore
  420. */
  421. public function getDefaultEscapeStrategy(): string|false
  422. {
  423. return "html";
  424. }
  425. /**
  426. * @codeCoverageIgnore
  427. */
  428. public function getDebugInfo(): array
  429. {
  430. return array ( 467 => 168, 461 => 165, 437 => 144, 432 => 141, 429 => 140, 418 => 136, 411 => 132, 402 => 126, 396 => 123, 390 => 120, 385 => 117, 377 => 115, 375 => 114, 367 => 111, 364 => 110, 359 => 109, 357 => 108, 351 => 104, 348 => 103, 340 => 101, 337 => 100, 335 => 99, 328 => 98, 325 => 97, 320 => 96, 317 => 95, 315 => 94, 311 => 93, 291 => 76, 282 => 70, 273 => 66, 268 => 64, 249 => 49, 233 => 48, 181 => 9, 165 => 8, 136 => 5, 107 => 4, 78 => 3, 49 => 1,);
  431. }
  432. public function getSourceContext(): Source
  433. {
  434. return new Source("{% extends \x27web/base.html.twig\x27 %}
  435. {% block title %}{{ \x27career.title\x27|trans }}{% endblock %}
  436. {% block keywords %}{{ \x27career.keywords\x27 | trans }}{% endblock %}
  437. {% block description %}{{ \x27career.metaDescription\x27 | trans }}{% endblock %}
  438. {% trans_default_domain \x27web\x27 %}
  439. {% block javascripts %}
  440. <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  441. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js\"></script>
  442. <script>
  443. \t\$(document).ready(function () {
  444. \t\tlet \$grid = \$(\x27.qodef-pl-inner\x27).isotope({
  445. \t\t\titemSelector: \x27.qodef-pl-item\x27,
  446. \t\t\tlayoutMode: \x27fitRows\x27
  447. \t\t});
  448. \t\t\$(\x27body\x27).on(\x27change\x27, \x27#filter-shop\x27, function () {
  449. \t\t\t\$(\x27.qodef-pl-filter\x27).removeClass(\x27active\x27);
  450. \t\t\tif(\$(this).val() === \"0\"){
  451. \t\t\t\t\$grid.isotope({ filter: \"*\" });
  452. \t\t\t}else {
  453. \t\t\t\t\$grid.isotope({filter: \x27.store_\x27 + \$(this).val()});
  454. \t\t\t}
  455. \t\t\thistory.pushState(null, null, window.location.pathname);
  456. \t\t}).on(\x27click\x27, \x27.qodef-pl-filter\x27, function () {
  457. \t\t\tvar category = \$(this).data(\x27filter\x27);
  458. \t\t\tif (category === \x27all\x27) {
  459. \t\t\t\t\$grid.isotope({filter: \"*\"}); // Zobrazit všechna data
  460. \t\t\t} else {
  461. \t\t\t\t\$grid.isotope({filter: category}); // Použít filtrovací kategorii
  462. \t\t\t}
  463. \t\t\t\$(\x27.qodef-pl-filter\x27).removeClass(\x27active\x27);
  464. \t\t\t\$(\x27.qodef-pl-filter[data-filter=\"\x27 + category + \x27\"]\x27).addClass(\x27active\x27);
  465. \t\t\t// Přidání cesty do URL
  466. \t\t\tvar newUrl = window.location.pathname + \x27?filter=\x27 + category;
  467. \t\t\thistory.pushState(null, null, newUrl);
  468. \t\t})
  469. \t});
  470. </script>
  471. {% endblock %}
  472. {% block body %}
  473. \t{{ include(\x27web/core/header.html.twig\x27) }}
  474. \t<div class=\"qodef-content career\">
  475. \t\t<div class=\"qodef-content-inner\">
  476. \t\t\t<div class=\"qodef-full-width\">
  477. \t\t\t\t<div class=\"qodef-full-width-inner\">
  478. \t\t\t\t\t<div class=\"qodef-grid-row\">
  479. \t\t\t\t\t\t<div class=\"qodef-page-content-holder qodef-grid-col-12\">
  480. \t\t\t\t\t\t\t<div class=\"qodef-row-grid-section-wrapper \">
  481. \t\t\t\t\t\t\t\t<div class=\"qodef-row-grid-section\">
  482. \t\t\t\t\t\t\t\t\t<div class=\"vc_row wpb_row vc_row-fluid\">
  483. \t\t\t\t\t\t\t\t\t\t<div class=\"wpb_column vc_column_container vc_col-sm-12\">
  484. \t\t\t\t\t\t\t\t\t\t\t<div class=\"vc_column-inner\">
  485. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpb_wrapper\">
  486. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
  487. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
  488. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"{{ path(\x27app_web_homepage\x27) }}\">Home</a>
  489. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"qodef-delimiter\">&nbsp; / &nbsp</span>
  490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"{{ path(\x27app_web_career\x27) }}\">{{ \x27career.title\x27|trans }}</a>
  491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  492. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-section-title-holder\" style=\"text-align: center; padding-bottom: 50px !important;\">
  493. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-st-inner\">
  494. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h1 class=\"qodef-st-title\">{{ \x27career.title\x27|trans }}</h1>
  495. <div class=\"qodef-portfolio-list-holder qodef-grid-list qodef-pl-gallery qodef-four-columns qodef-medium-space qodef-pl-gallery-overlay qodef-pl-pag-load-more qodef-pl-has-filter\" style=\"margin-top: 40px;\">
  496. <div class=\"qodef-pl-filter-holder\">
  497. <div class=\"qodef-plf-inner\">
  498. <ul>
  499. <li class=\"qodef-pl-filter\" data-filter=\"\">
  500. <span>{{ \x27all\x27|trans }}</span>
  501. </li>
  502. <li class=\"qodef-pl-filter\" data-filter=\".type-hpp\">
  503. <span>HPP</span>
  504. </li>
  505. <li class=\"qodef-pl-filter\" data-filter=\".type-dpc\">
  506. <span>DPČ</span>
  507. </li>
  508. <li class=\"qodef-pl-filter\" data-filter=\".type-dpp\">
  509. <span>DPP</span>
  510. </li>
  511. </ul>
  512. </div>
  513. </div>
  514. <div class=\"select-store\">
  515. <select id=\"filter-shop\">
  516. <option selected value=\"0\">{{ \x27selectStore\x27|trans }}</option>
  517. {% if careers|length > 0 %}
  518. {% set duplicate = [] %}
  519. {% for c in careers|sort((a, b) => a.store.getName() <=> b.store.getName()) %}
  520. {% if c.store.getName() not in duplicate %}
  521. <option value=\"{{ c.store.id }}\">{{ c.store.getName() }}</option>
  522. {% set duplicate = duplicate|merge([c.store.getName()]) %}
  523. {% endif %}
  524. {% endfor %}
  525. {% endif %}
  526. </select>
  527. </div>
  528. <div class=\"qodef-pl-inner qodef-outer-space clearfix career-detail\">
  529. {% if careers|length > 0 %}
  530. {% for c in careers %}
  531. <article class=\"qodef-pl-item qodef-item-space portfolio-item type-portfolio-item type-{{ c.type }} store_{{ c.store.id }}\">
  532. <div class=\"qodef-pl-item-inner\">
  533. <div class=\"career-detail__image\">
  534. {% if c.store.logo is not null %}
  535. <img src=\"{{ vich_uploader_asset(c.store, \x27logoFile\x27)| imagine_filter(\x27thumb300\x27) }}\" alt=\"{{ c.store.getName() }}\">
  536. {% endif %}
  537. </div>
  538. <div class=\"career-detail__content\">
  539. <h2 class=\"career-detail__shop\">
  540. {{ c.store.getName() }}
  541. </h2>
  542. <h4 class=\"career-detail__title\">
  543. {{ c.getName() }}
  544. </h4>
  545. <p class=\"career-detail__date\">
  546. {{ c.datePublic|date(\x27d. m. Y\x27) }}
  547. </p>
  548. </div>
  549. <div class=\"qodef-pli-text-holder\">
  550. <div class=\"qodef-pli-text-wrapper\">
  551. <div class=\"qodef-pli-text\">
  552. <h5 itemprop=\"name\" class=\"qodef-pli-title entry-title\">{{ \x27showMore\x27|trans }}</h5>
  553. </div>
  554. </div>
  555. </div>
  556. <a itemprop=\"url\" class=\"qodef-pli-link qodef-block-drag-link\" href=\"{{ path(\x27app_web_career_detail\x27,{\x27career\x27:c.getSlug()}) }}\" target=\"_self\"></a>
  557. </div>
  558. </article>
  559. {% endfor %}
  560. {% endif %}
  561. </div>
  562. </div>
  563. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-st-text\" style=\"margin-top: 25px\">{{\x27career.description\x27 | trans | raw }}</div>
  564. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  565. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  566. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  567. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"career-video\">
  568. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/rwgpLZLvVjQ?si=hGY4zi2YdXrZz25v\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  569. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/sljLivdSfc8?si=klTP2_v6zmKIc_wg\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  570. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/DOtNy6ZjTsM?si=IjuH0BFIifh2VGie\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  571. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<iframe src=\"https://www.youtube.com/embed/OEGKRy5SOoo?si=p8WKjqEwO4GGbWM8\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen></iframe>
  572. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  573. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  574. \t\t\t\t\t\t\t\t\t\t\t</div>
  575. \t\t\t\t\t\t\t\t\t\t</div>
  576. \t\t\t\t\t\t\t\t\t</div>
  577. \t\t\t\t\t\t\t\t</div>
  578. \t\t\t\t\t\t\t</div>
  579. \t\t\t\t\t\t</div>
  580. \t\t\t\t\t</div>
  581. \t\t\t\t</div>
  582. \t\t\t</div>
  583. \t\t\t{{ include(\x27web/core/gift-card.html.twig\x27) }}
  584. \t\t</div>
  585. \t</div>
  586. \t{{ include(\x27web/core/footer.html.twig\x27) }}
  587. {% endblock %}
  588. ", "web/default/career.html.twig", "/var/www/templates/web/default/career.html.twig");
  589. }
  590. }