var/cache/dev/twig/15/153f64da7484bfa43b46de713c7e82fd.php line 167

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/news.html.twig */
  18. class __TwigTemplate_14d41fff10d873756400a80059af31ae 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. 'body' => [$this, 'block_body'],
  36. ];
  37. }
  38. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  39. {
  40. // line 1
  41. return $this->parent ??= $this->load("web/base.html.twig", 1);
  42. }
  43. protected function doDisplay(array $context, array $blocks = []): iterable
  44. {
  45. $macros = $this->macros;
  46. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  47. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/news.html.twig"));
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/news.html.twig"));
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/news.html.twig"));
  52. $this->parent = $this->load("web/base.html.twig", 1);
  53. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  54. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  55. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57. }
  58. // line 3
  59. /**
  60. * @return iterable<null|scalar|\Stringable>
  61. */
  62. public function block_title(array $context, array $blocks = []): iterable
  63. {
  64. $macros = $this->macros;
  65. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  66. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  67. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  69. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  71. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("news.title", [], "web"), "html", null, true);
  72. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  75. return; yield;
  76. }
  77. // line 4
  78. /**
  79. * @return iterable<null|scalar|\Stringable>
  80. */
  81. public function block_keywords(array $context, array $blocks = []): iterable
  82. {
  83. $macros = $this->macros;
  84. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  85. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  86. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  88. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  90. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("news.keywords", [], "web"), "html", null, true);
  91. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  93. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  94. return; yield;
  95. }
  96. // line 5
  97. /**
  98. * @return iterable<null|scalar|\Stringable>
  99. */
  100. public function block_description(array $context, array $blocks = []): iterable
  101. {
  102. $macros = $this->macros;
  103. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  104. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  105. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  107. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  109. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("news.metaDescription", [], "web"), "html", null, true);
  110. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  112. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  113. return; yield;
  114. }
  115. // line 9
  116. /**
  117. * @return iterable<null|scalar|\Stringable>
  118. */
  119. public function block_body(array $context, array $blocks = []): iterable
  120. {
  121. $macros = $this->macros;
  122. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  123. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  124. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  125. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  126. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  128. // line 10
  129. yield " ";
  130. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/header.html.twig");
  131. yield "
  132. <div class=\"qodef-content news\">
  133. <div class=\"qodef-content-inner\">
  134. <div class=\"qodef-full-width\">
  135. <div class=\"qodef-full-width-inner\">
  136. <div class=\"qodef-grid-row\">
  137. <div class=\"qodef-page-content-holder qodef-grid-col-12\">
  138. <div class=\"qodef-row-grid-section-wrapper\">
  139. <div class=\"qodef-row-grid-section\">
  140. <div class=\"vc_row wpb_row vc_row-fluid\">
  141. <div class=\"wpb_column vc_column_container vc_col-sm-12\">
  142. <div class=\"vc_column-inner\">
  143. <div class=\"wpb_wrapper\">
  144. <div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
  145. <div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
  146. <a itemprop=\"url\" href=\"";
  147. // line 25
  148. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_homepage");
  149. yield "\">Home</a>
  150. <span class=\"qodef-delimiter\">&nbsp; / &nbsp</span>
  151. <a itemprop=\"url\" href=\"";
  152. // line 27
  153. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_news");
  154. yield "\">";
  155. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("news.title", [], "web"), "html", null, true);
  156. yield "</a>
  157. </div>
  158. <div class=\"qodef-section-title-holder\" style=\"text-align: center;padding-bottom: 50px !important;\">
  159. <div class=\"qodef-st-inner\">
  160. <h1 class=\"qodef-st-title\">";
  161. // line 31
  162. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("news.title", [], "web"), "html", null, true);
  163. yield "</h1>
  164. </div>
  165. </div>
  166. </div>
  167. <div class=\"qodef-portfolio-list-holder qodef-grid-list qodef-pl-gallery qodef-three-columns qodef-medium-space qodef-pl-gallery-overlay qodef-pl-pag-load-more qodef-pl-has-filter\">
  168. <div class=\"qodef-pl-inner qodef-outer-space clearfix\">
  169. ";
  170. // line 38
  171. if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 38, $this->source); })())) > 0)) {
  172. // line 39
  173. yield " ";
  174. $context['_parent'] = $context;
  175. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["news"]) || array_key_exists("news", $context) ? $context["news"] : (function () { throw new RuntimeError('Variable "news" does not exist.', 39, $this->source); })()));
  176. foreach ($context['_seq'] as $context["_key"] => $context["s"]) {
  177. // line 40
  178. yield " <article class=\"qodef-pl-item qodef-item-space portfolio-item type-portfolio-item\">
  179. <div class=\"qodef-pl-item-inner\">
  180. <div class=\"qodef-pl-item-inner news-item\">
  181. <div class=\"qodef-pli-image\">
  182. ";
  183. // line 44
  184. if ( !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["s"], "translations", [], "any", false, false, false, 44), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44), [], "array", false, false, false, 44), "image", [], "any", false, false, false, 44))) {
  185. // line 45
  186. yield " <img src=\"";
  187. 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, CoreExtension::getAttribute($this->env, $this->source, $context["s"], "translations", [], "any", false, false, false, 45), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "locale", [], "any", false, false, false, 45), [], "array", false, false, false, 45), "imageFile"), "news"), "html", null, true);
  188. yield "\" alt=\"";
  189. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "getTitle", [], "method", false, false, false, 45), "html", null, true);
  190. yield "\" loading=\"lazy\">
  191. ";
  192. }
  193. // line 47
  194. yield " </div>
  195. <div class=\"top-action-detail__content news-content\">
  196. <div>
  197. <h2 class=\"qodef-iwt-title\" style=\" display: inline-block; max-width: 26ch; word-wrap: break-word;\">
  198. ";
  199. // line 51
  200. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "getTitle", [], "method", false, false, false, 51), "html", null, true);
  201. yield "
  202. </h2>
  203. </div>
  204. <div>
  205. <a href=\"";
  206. // line 55
  207. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_news_detail", ["news" => CoreExtension::getAttribute($this->env, $this->source, $context["s"], "getSlug", [], "method", false, false, false, 55)]), "html", null, true);
  208. yield "\" class=\"qodef-iwt-button qodef-btn qodef-btn-simple\">";
  209. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("showMore", [], "web"), "html", null, true);
  210. yield "</a>
  211. </div>
  212. ";
  213. // line 60
  214. yield " </div>
  215. <div class=\"qodef-pli-text-holder\">
  216. <div class=\"qodef-pli-text-wrapper\">
  217. <div class=\"qodef-pli-text\">
  218. <h5 itemprop=\"name\" class=\"qodef-pli-title entry-title\">";
  219. // line 64
  220. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("showMore", [], "web"), "html", null, true);
  221. yield "</h5>
  222. <a itemprop=\"url\" class=\"qodef-pli-link qodef-block-drag-link\" href=\"";
  223. // line 65
  224. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_news_detail", ["news" => CoreExtension::getAttribute($this->env, $this->source, $context["s"], "getSlug", [], "method", false, false, false, 65)]), "html", null, true);
  225. yield "\" target=\"_self\"></a>
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. </div>
  231. </article>
  232. ";
  233. }
  234. $_parent = $context['_parent'];
  235. unset($context['_seq'], $context['_key'], $context['s'], $context['_parent']);
  236. $context = array_intersect_key($context, $_parent);
  237. $context += $_parent;
  238. // line 74
  239. yield " ";
  240. }
  241. // line 75
  242. yield "
  243. </div>
  244. <div class=\"qodef-pl-loading\">
  245. <div class=\"qodef-pl-loading-bounce1\"></div>
  246. <div class=\"qodef-pl-loading-bounce2\"></div>
  247. <div class=\"qodef-pl-loading-bounce3\"></div>
  248. </div>
  249. ";
  250. // line 89
  251. yield " </div>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. ";
  263. // line 100
  264. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/gift-card.html.twig");
  265. yield "
  266. </div>
  267. </div>
  268. ";
  269. // line 103
  270. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/footer.html.twig");
  271. yield "
  272. ";
  273. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  274. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  275. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  276. return; yield;
  277. }
  278. /**
  279. * @codeCoverageIgnore
  280. */
  281. public function getTemplateName(): string
  282. {
  283. return "web/default/news.html.twig";
  284. }
  285. /**
  286. * @codeCoverageIgnore
  287. */
  288. public function isTraitable(): bool
  289. {
  290. return false;
  291. }
  292. /**
  293. * @codeCoverageIgnore
  294. */
  295. public function getDefaultEscapeStrategy(): string|false
  296. {
  297. return "html";
  298. }
  299. /**
  300. * @codeCoverageIgnore
  301. */
  302. public function getDebugInfo(): array
  303. {
  304. return array ( 323 => 103, 317 => 100, 304 => 89, 295 => 75, 292 => 74, 276 => 65, 272 => 64, 266 => 60, 259 => 55, 252 => 51, 246 => 47, 238 => 45, 236 => 44, 230 => 40, 225 => 39, 223 => 38, 213 => 31, 204 => 27, 199 => 25, 180 => 10, 164 => 9, 135 => 5, 106 => 4, 77 => 3, 48 => 1,);
  305. }
  306. public function getSourceContext(): Source
  307. {
  308. return new Source("{% extends \x27web/base.html.twig\x27 %}
  309. {% block title %}{{ \x27news.title\x27|trans }}{% endblock %}
  310. {% block keywords %}{{ \x27news.keywords\x27 | trans }}{% endblock %}
  311. {% block description %}{{ \x27news.metaDescription\x27 | trans }}{% endblock %}
  312. {% trans_default_domain \x27web\x27 %}
  313. {% block body %}
  314. {{ include(\x27web/core/header.html.twig\x27) }}
  315. <div class=\"qodef-content news\">
  316. <div class=\"qodef-content-inner\">
  317. <div class=\"qodef-full-width\">
  318. <div class=\"qodef-full-width-inner\">
  319. <div class=\"qodef-grid-row\">
  320. <div class=\"qodef-page-content-holder qodef-grid-col-12\">
  321. <div class=\"qodef-row-grid-section-wrapper\">
  322. <div class=\"qodef-row-grid-section\">
  323. <div class=\"vc_row wpb_row vc_row-fluid\">
  324. <div class=\"wpb_column vc_column_container vc_col-sm-12\">
  325. <div class=\"vc_column-inner\">
  326. <div class=\"wpb_wrapper\">
  327. <div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
  328. <div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
  329. <a itemprop=\"url\" href=\"{{ path(\x27app_web_homepage\x27) }}\">Home</a>
  330. <span class=\"qodef-delimiter\">&nbsp; / &nbsp</span>
  331. <a itemprop=\"url\" href=\"{{ path(\x27app_web_news\x27) }}\">{{ \x27news.title\x27|trans }}</a>
  332. </div>
  333. <div class=\"qodef-section-title-holder\" style=\"text-align: center;padding-bottom: 50px !important;\">
  334. <div class=\"qodef-st-inner\">
  335. <h1 class=\"qodef-st-title\">{{ \x27news.title\x27|trans }}</h1>
  336. </div>
  337. </div>
  338. </div>
  339. <div class=\"qodef-portfolio-list-holder qodef-grid-list qodef-pl-gallery qodef-three-columns qodef-medium-space qodef-pl-gallery-overlay qodef-pl-pag-load-more qodef-pl-has-filter\">
  340. <div class=\"qodef-pl-inner qodef-outer-space clearfix\">
  341. {% if news|length > 0 %}
  342. {% for s in news %}
  343. <article class=\"qodef-pl-item qodef-item-space portfolio-item type-portfolio-item\">
  344. <div class=\"qodef-pl-item-inner\">
  345. <div class=\"qodef-pl-item-inner news-item\">
  346. <div class=\"qodef-pli-image\">
  347. {% if s.translations[app.request.locale].image is not null %}
  348. <img src=\"{{ vich_uploader_asset(s.translations[app.request.locale], \x27imageFile\x27)| imagine_filter(\x27news\x27) }}\" alt=\"{{ s.getTitle() }}\" loading=\"lazy\">
  349. {% endif %}
  350. </div>
  351. <div class=\"top-action-detail__content news-content\">
  352. <div>
  353. <h2 class=\"qodef-iwt-title\" style=\" display: inline-block; max-width: 26ch; word-wrap: break-word;\">
  354. {{ s.getTitle() }}
  355. </h2>
  356. </div>
  357. <div>
  358. <a href=\"{{ path(\x27app_web_news_detail\x27,{\x27news\x27:s.getSlug()}) }}\" class=\"qodef-iwt-button qodef-btn qodef-btn-simple\">{{\x27showMore\x27|trans}}</a>
  359. </div>
  360. {#<p class=\"top-action-detail__date\">
  361. 1.1.2022 - 1.3.2022
  362. </p>#}
  363. </div>
  364. <div class=\"qodef-pli-text-holder\">
  365. <div class=\"qodef-pli-text-wrapper\">
  366. <div class=\"qodef-pli-text\">
  367. <h5 itemprop=\"name\" class=\"qodef-pli-title entry-title\">{{\x27showMore\x27|trans}}</h5>
  368. <a itemprop=\"url\" class=\"qodef-pli-link qodef-block-drag-link\" href=\"{{ path(\x27app_web_news_detail\x27,{\x27news\x27:s.getSlug()}) }}\" target=\"_self\"></a>
  369. </div>
  370. </div>
  371. </div>
  372. </div>
  373. </div>
  374. </article>
  375. {% endfor %}
  376. {% endif %}
  377. </div>
  378. <div class=\"qodef-pl-loading\">
  379. <div class=\"qodef-pl-loading-bounce1\"></div>
  380. <div class=\"qodef-pl-loading-bounce2\"></div>
  381. <div class=\"qodef-pl-loading-bounce3\"></div>
  382. </div>
  383. {#<div class=\"qodef-pl-load-more-holder\">
  384. <div class=\"qodef-pl-load-more\">
  385. <a itemprop=\"url\" target=\"_self\" class=\"qodef-btn qodef-btn-large qodef-btn-outline\">
  386. <span class=\"qodef-btn-text\">{{\x27loadMore\x27|trans}}</span>
  387. </a>
  388. </div>
  389. </div>#}
  390. </div>
  391. </div>
  392. </div>
  393. </div>
  394. </div>
  395. </div>
  396. </div>
  397. </div>
  398. </div>
  399. </div>
  400. </div>
  401. {{ include(\x27web/core/gift-card.html.twig\x27) }}
  402. </div>
  403. </div>
  404. {{ include(\x27web/core/footer.html.twig\x27) }}
  405. {% endblock %}
  406. ", "web/default/news.html.twig", "/var/www/templates/web/default/news.html.twig");
  407. }
  408. }