var/cache/dev/twig/10/102160f6bff65c1eef72de144f351ff1.php line 43

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\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* Recipes/recipe-category.html.twig */
  16. class __TwigTemplate_644e7080fbba1014c6eabeb07a14b364 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "layout/layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Recipes/recipe-category.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Recipes/recipe-category.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/layout.html.twig""Recipes/recipe-category.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 2
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_content(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         // line 3
  62.         yield "
  63. \t";
  64.         // line 4
  65.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Recipes\\RecipesController::advancefilterBlock"));
  66.         yield "
  67.     <!--Start Breadcrumbs-->
  68. \t\t<div class=\"breadcrumb-holder\">
  69. \t\t\t<ol class=\"breadcrumb\">
  70. \t\t\t\t<li class=\"breadcrumb-item\">
  71. \t\t\t\t\t<a href=\"/";
  72.         // line 11
  73.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'11$this->source); })()), "request", [], "any"falsefalsefalse11), "locale", [], "any"falsefalsefalse11), "html"nulltrue);
  74.         yield "\">";
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  76.         yield "</a>
  77. \t\t\t\t</li>
  78. \t\t\t\t<li class=\"breadcrumb-item\">
  79. \t\t\t\t\t<a href=\"/";
  80.         // line 14
  81.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "locale", [], "any"falsefalsefalse14), "html"nulltrue);
  82.         yield "/recipes\">";
  83.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes"), "html"nulltrue);
  84.         yield "</a>
  85. \t\t\t\t</li>
  86. \t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">";
  87.         // line 16
  88.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipe_category"]) || array_key_exists("recipe_category"$context) ? $context["recipe_category"] : (function () { throw new RuntimeError('Variable "recipe_category" does not exist.'16$this->source); })()), "recipecategoryname", [], "any"falsefalsefalse16), "html"nulltrue);
  89.         yield "</li>
  90. \t\t\t</ol>
  91. \t\t</div>
  92. \t\t<!--End Breadcrumbs-->
  93.       <!--Start Category Recipes Section-->
  94. \t\t\t<section class=\"featured-recipes-section inner-frecipes-section\">
  95. \t\t\t\t<div class=\"container container-sm\">
  96. \t\t\t\t\t<h2 class=\"heading\">";
  97.         // line 26
  98.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["category_recipes"]) || array_key_exists("category_recipes"$context) ? $context["category_recipes"] : (function () { throw new RuntimeError('Variable "category_recipes" does not exist.'26$this->source); })())) > 1)) {
  99.             yield " ";
  100.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipe_category"]) || array_key_exists("recipe_category"$context) ? $context["recipe_category"] : (function () { throw new RuntimeError('Variable "recipe_category" does not exist.'26$this->source); })()), "recipecategoryname", [], "any"falsefalsefalse26), "html"nulltrue);
  101.             yield " ";
  102.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes"), "html"nulltrue);
  103.             yield " ";
  104.         } elseif ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["category_recipes"]) || array_key_exists("category_recipes"$context) ? $context["category_recipes"] : (function () { throw new RuntimeError('Variable "category_recipes" does not exist.'26$this->source); })())) == 0)) {
  105.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No"), "html"nulltrue);
  106.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipe_category"]) || array_key_exists("recipe_category"$context) ? $context["recipe_category"] : (function () { throw new RuntimeError('Variable "recipe_category" does not exist.'26$this->source); })()), "recipecategoryname", [], "any"falsefalsefalse26), "html"nulltrue);
  107.             yield " ";
  108.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes"), "html"nulltrue);
  109.         } else {
  110.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipe_category"]) || array_key_exists("recipe_category"$context) ? $context["recipe_category"] : (function () { throw new RuntimeError('Variable "recipe_category" does not exist.'26$this->source); })()), "recipecategoryname", [], "any"falsefalsefalse26), "html"nulltrue);
  111.             yield " ";
  112.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recipe"), "html"nulltrue);
  113.         }
  114.         yield "</h2>
  115. \t\t\t\t\t<div class=\"featured-recipes\">
  116. \t\t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
  117. \t\t\t\t\t\t\t";
  118.         // line 30
  119.         $context['_parent'] = $context;
  120.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["category_recipes"]) || array_key_exists("category_recipes"$context) ? $context["category_recipes"] : (function () { throw new RuntimeError('Variable "category_recipes" does not exist.'30$this->source); })()));
  121.         foreach ($context['_seq'] as $context["_key"] => $context["Category_Recipes"]) {
  122.             // line 31
  123.             yield "
  124. \t\t\t\t\t\t\t\t<div class=\"slide\">
  125. \t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  126. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  127. \t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  128.             // line 35
  129.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "request", [], "any"falsefalsefalse35), "locale", [], "any"falsefalsefalse35), "html"nulltrue);
  130.             yield "/all-recipes/";
  131.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "url", [], "any"falsefalsefalse35), "html"nulltrue);
  132.             yield "\">
  133. \t\t\t\t\t\t\t\t\t\t\t\t";
  134.             // line 36
  135.             yield CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "featured_image", [], "any"falsefalsefalse36), "thumbnail", ["354x244"], "method"falsefalsefalse36), "getHTML", [["imgAttributes" => ["class" => """alt" => CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "name", [], "any"falsefalsefalse36)]]], "method"falsefalsefalse36);
  136.             yield "
  137. \t\t\t\t\t\t\t\t\t\t\t</a>
  138. \t\t\t\t\t\t\t\t\t\t</figure>
  139. \t\t\t\t\t\t\t\t\t\t<div
  140. \t\t\t\t\t\t\t\t\t\t\tclass=\"slide-content\">
  141. \t\t\t\t\t\t\t\t\t\t\t";
  142.             // line 42
  143.             yield "\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  144.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'42$this->source); })()), "request", [], "any"falsefalsefalse42), "locale", [], "any"falsefalsefalse42), "html"nulltrue);
  145.             yield "/all-recipes/";
  146.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "url", [], "any"falsefalsefalse42), "html"nulltrue);
  147.             yield "\">
  148. \t\t\t\t\t\t\t\t\t\t\t\t<h3>";
  149.             // line 43
  150.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "name", [], "any"falsefalsefalse43), "html"nulltrue);
  151.             yield "</h3>
  152. \t\t\t\t\t\t\t\t\t\t\t</a>
  153. \t\t\t\t\t\t\t\t\t\t\t<p>";
  154.             // line 45
  155.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "short_description", [], "any"falsefalsefalse45), "html"nulltrue);
  156.             yield "</p>
  157. \t\t\t\t\t\t\t\t\t\t\t";
  158.             // line 47
  159.             yield "\t\t\t\t\t\t\t\t\t\t\t";
  160.             // line 48
  161.             yield "
  162. \t\t\t\t\t\t\t\t\t\t\t<ul
  163. \t\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  164. \t\t\t\t\t\t\t\t\t\t\t\t";
  165.             // line 52
  166.             yield "\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
  167.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html"nulltrue);
  168.             yield "
  169. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  170.             // line 53
  171.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html"nulltrue);
  172.             yield "
  173. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  174.             // line 54
  175.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "serves", [], "any"falsefalsefalse54), "html"nulltrue);
  176.             yield "</li>
  177. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
  178.             // line 55
  179.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "typeofmeal", [], "any"falsefalsefalse55)), "html"nulltrue);
  180.             yield "</li>
  181. \t\t\t\t\t\t\t\t\t\t\t</ul>
  182. \t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  183. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  184.             // line 59
  185.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'59$this->source); })()), "request", [], "any"falsefalsefalse59), "locale", [], "any"falsefalsefalse59), "html"nulltrue);
  186.             yield "/all-recipes/";
  187.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category_Recipes"], "url", [], "any"falsefalsefalse59), "html"nulltrue);
  188.             yield "\" class=\"btn btn-custom btn-black\">";
  189.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipe"), "html"nulltrue);
  190.             yield "</a>
  191. \t\t\t\t\t\t\t\t\t\t\t</div>
  192. \t\t\t\t\t\t\t\t\t\t</div>
  193. \t\t\t\t\t\t\t\t\t</div>
  194. \t\t\t\t\t\t\t\t</div>
  195. \t\t\t\t\t\t\t";
  196.         }
  197.         $_parent $context['_parent'];
  198.         unset($context['_seq'], $context['_key'], $context['Category_Recipes'], $context['_parent']);
  199.         $context array_intersect_key($context$_parent) + $_parent;
  200.         // line 65
  201.         yield "
  202. \t\t\t\t\t\t</div>
  203. \t\t\t\t\t</div>
  204. \t\t\t\t</div>
  205. \t\t\t</section>
  206. \t\t";
  207.         // line 72
  208.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'72$this->source); })()), "request", [], "any"falsefalsefalse72), "locale", [], "any"falsefalsefalse72) == "ar")) {
  209.             // line 73
  210.             yield "\t\t\t";
  211.             $context["topMenu"] = ("/en/recipes/" CoreExtension::getAttribute($this->env$this->source, (isset($context["recipe_category"]) || array_key_exists("recipe_category"$context) ? $context["recipe_category"] : (function () { throw new RuntimeError('Variable "recipe_category" does not exist.'73$this->source); })()), "cat_url", [], "any"falsefalsefalse73));
  212.             // line 74
  213.             yield "\t\t";
  214.         } else {
  215.             // line 75
  216.             yield "\t\t\t";
  217.             $context["topMenu"] = ("/ar/recipes/" CoreExtension::getAttribute($this->env$this->source, (isset($context["recipe_category"]) || array_key_exists("recipe_category"$context) ? $context["recipe_category"] : (function () { throw new RuntimeError('Variable "recipe_category" does not exist.'75$this->source); })()), "cat_url", [], "any"falsefalsefalse75));
  218.             // line 76
  219.             yield "\t\t";
  220.         }
  221.         // line 77
  222.         yield "        <script> var _TopMenuLink = \"";
  223.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["topMenu"]) || array_key_exists("topMenu"$context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.'77$this->source); })()), "html"nulltrue);
  224.         yield "\"; </script>
  225. \t\t<!--End Category Recipes Section-->
  226. ";
  227.         
  228.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  229.         
  230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  231.         yield from [];
  232.     }
  233.     /**
  234.      * @codeCoverageIgnore
  235.      */
  236.     public function getTemplateName(): string
  237.     {
  238.         return "Recipes/recipe-category.html.twig";
  239.     }
  240.     /**
  241.      * @codeCoverageIgnore
  242.      */
  243.     public function isTraitable(): bool
  244.     {
  245.         return false;
  246.     }
  247.     /**
  248.      * @codeCoverageIgnore
  249.      */
  250.     public function getDebugInfo(): array
  251.     {
  252.         return array (  245 => 77,  242 => 76,  239 => 75,  236 => 74,  233 => 73,  231 => 72,  222 => 65,  206 => 59,  199 => 55,  195 => 54,  191 => 53,  186 => 52,  181 => 48,  179 => 47,  175 => 45,  170 => 43,  163 => 42,  155 => 36,  149 => 35,  143 => 31,  139 => 30,  117 => 26,  104 => 16,  97 => 14,  89 => 11,  79 => 4,  76 => 3,  63 => 2,  40 => 1,);
  253.     }
  254.     public function getSourceContext(): Source
  255.     {
  256.         return new Source("{% extends \"layout/layout.html.twig\" %}
  257. {% block content %}
  258. \t{{ render(controller('App\\\\Controller\\\\Recipes\\\\RecipesController::advancefilterBlock')) }}
  259.     <!--Start Breadcrumbs-->
  260. \t\t<div class=\"breadcrumb-holder\">
  261. \t\t\t<ol class=\"breadcrumb\">
  262. \t\t\t\t<li class=\"breadcrumb-item\">
  263. \t\t\t\t\t<a href=\"/{{app.request.locale}}\">{{\"Home\"|trans }}</a>
  264. \t\t\t\t</li>
  265. \t\t\t\t<li class=\"breadcrumb-item\">
  266. \t\t\t\t\t<a href=\"/{{app.request.locale}}/recipes\">{{\"recipes\"|trans }}</a>
  267. \t\t\t\t</li>
  268. \t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">{{recipe_category.recipecategoryname}}</li>
  269. \t\t\t</ol>
  270. \t\t</div>
  271. \t\t<!--End Breadcrumbs-->
  272.       <!--Start Category Recipes Section-->
  273. \t\t\t<section class=\"featured-recipes-section inner-frecipes-section\">
  274. \t\t\t\t<div class=\"container container-sm\">
  275. \t\t\t\t\t<h2 class=\"heading\">{% if category_recipes|length > 1 %} {{recipe_category.recipecategoryname}} {{'recipes'|trans}} {% elseif category_recipes|length  == 0 %}{{'No'|trans}}{{recipe_category.recipecategoryname}} {{'recipes'|trans}}{% else %}{{recipe_category.recipecategoryname}} {{'Recipe'|trans}}{% endif %}</h2>
  276. \t\t\t\t\t<div class=\"featured-recipes\">
  277. \t\t\t\t\t\t<div class=\"custom-slider featured-recipes-slider\">
  278. \t\t\t\t\t\t\t{% for Category_Recipes in category_recipes %}
  279. \t\t\t\t\t\t\t\t<div class=\"slide\">
  280. \t\t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  281. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  282. \t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{Category_Recipes.url}}\">
  283. \t\t\t\t\t\t\t\t\t\t\t\t{{ Category_Recipes.featured_image.thumbnail('354x244').getHTML({imgAttributes: {class:'',alt:Category_Recipes.name }})|raw }}
  284. \t\t\t\t\t\t\t\t\t\t\t</a>
  285. \t\t\t\t\t\t\t\t\t\t</figure>
  286. \t\t\t\t\t\t\t\t\t\t<div
  287. \t\t\t\t\t\t\t\t\t\t\tclass=\"slide-content\">
  288. \t\t\t\t\t\t\t\t\t\t\t{# <div class=\"frecipes-box\"> #}
  289. \t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{Category_Recipes.url}}\">
  290. \t\t\t\t\t\t\t\t\t\t\t\t<h3>{{Category_Recipes.name}}</h3>
  291. \t\t\t\t\t\t\t\t\t\t\t</a>
  292. \t\t\t\t\t\t\t\t\t\t\t<p>{{Category_Recipes.short_description}}</p>
  293. \t\t\t\t\t\t\t\t\t\t\t{# <div class=\"chef-names\">with Goody Professional</div> #}
  294. \t\t\t\t\t\t\t\t\t\t\t{# </div> #}
  295. \t\t\t\t\t\t\t\t\t\t\t<ul
  296. \t\t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  297. \t\t\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{recipe.time}} {{'mins'|trans}}</li> #}
  298. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
  299. \t\t\t\t\t\t\t\t\t\t\t\t\t{{'Serving'|trans}}
  300. \t\t\t\t\t\t\t\t\t\t\t\t\t{{Category_Recipes.serves}}</li>
  301. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{Category_Recipes.typeofmeal|trans}}</li>
  302. \t\t\t\t\t\t\t\t\t\t\t</ul>
  303. \t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  304. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/all-recipes/{{Category_Recipes.url}}\" class=\"btn btn-custom btn-black\">{{'View Recipe'|trans}}</a>
  305. \t\t\t\t\t\t\t\t\t\t\t</div>
  306. \t\t\t\t\t\t\t\t\t\t</div>
  307. \t\t\t\t\t\t\t\t\t</div>
  308. \t\t\t\t\t\t\t\t</div>
  309. \t\t\t\t\t\t\t{% endfor %}
  310. \t\t\t\t\t\t</div>
  311. \t\t\t\t\t</div>
  312. \t\t\t\t</div>
  313. \t\t\t</section>
  314. \t\t{% if (app.request.locale =='ar') %}
  315. \t\t\t{% set topMenu =\"/en/recipes/\" ~ recipe_category.cat_url %}
  316. \t\t{% else %}
  317. \t\t\t{% set topMenu =\"/ar/recipes/\" ~ recipe_category.cat_url %}
  318. \t\t{% endif %}
  319.         <script> var _TopMenuLink = \"{{ topMenu }}\"; </script>
  320. \t\t<!--End Category Recipes Section-->
  321. {% endblock %}""Recipes/recipe-category.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Recipes/recipe-category.html.twig");
  322.     }
  323. }