var/cache/dev/twig/36/367869e6bd9565eda5864c6c9b0b4d38.php line 53

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/reciepedetails.html.twig */
  16. class __TwigTemplate_c299ff1d09cb429f6194c24faa0b7b8f 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/reciepedetails.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/reciepedetails.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/layout.html.twig""Recipes/reciepedetails.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 4
  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 5
  62.         yield "
  63. \t";
  64.         // line 6
  65.         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.'6$this->source); })()), "request", [], "any"falsefalsefalse6), "locale", [], "any"falsefalsefalse6) == "en")) {
  66.             // line 7
  67.             yield "\t\t";
  68.             $context["weblink"] = "en";
  69.             // line 8
  70.             yield "\t";
  71.         } else {
  72.             // line 9
  73.             yield "\t\t";
  74.             $context["weblink"] = "ar";
  75.             // line 10
  76.             yield "\t";
  77.         }
  78.         // line 11
  79.         yield "\t<div>
  80. \t\t<!--Start Recipe Top Download-->
  81. \t\t<section class=\"info-media media-bg-left recipe-detail-download new-recipe-detail recipe-detail-edited-add\">
  82. \t\t\t<div class=\"container container-sm\">
  83. \t\t\t\t<div class=\"mobile_flex\">
  84. \t\t\t\t<div class=\"info-section recipe-info__puesdo\">
  85. \t\t\t\t\t";
  86.         // line 18
  87.         yield "\t\t\t\t\t<h1>";
  88.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'18$this->source); })()), "name", [], "any"falsefalsefalse18), "html"nulltrue);
  89.         yield "</h1>
  90. \t\t\t\t\t";
  91.         // line 19
  92.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'19$this->source); })()), "Chef", [], "any"falsefalsefalse19)) {
  93.             // line 20
  94.             yield "\t\t\t\t\t\t<h6 class=\"resource-name\">";
  95.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("by"), "html"nulltrue);
  96.             yield "
  97. \t\t\t\t\t\t\t";
  98.             // line 21
  99.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'21$this->source); })()), "Chef", [], "any"falsefalsefalse21), "html"nulltrue);
  100.             yield "</h6>
  101. \t\t\t\t\t";
  102.         }
  103.         // line 23
  104.         yield "\t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
  105. \t\t\t\t\t\t";
  106.         // line 25
  107.         yield "\t\t\t\t\t\t<li class=\"orders\">";
  108.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html"nulltrue);
  109.         yield "
  110. \t\t\t\t\t\t\t";
  111.         // line 26
  112.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html"nulltrue);
  113.         yield "
  114. \t\t\t\t\t\t\t";
  115.         // line 27
  116.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'27$this->source); })()), "serves", [], "any"falsefalsefalse27), "html"nulltrue);
  117.         yield "</li>
  118. \t\t\t\t\t\t<li class=\"time\">";
  119.         // line 29
  120.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'29$this->source); })()), "typeofmeal", [], "any"falsefalsefalse29)), "html"nulltrue);
  121.         yield "</li>
  122. \t\t\t\t\t\t<li class=\"rating\">";
  123.         // line 30
  124.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'30$this->source); })()), "html"nulltrue);
  125.         yield "</li>
  126. \t\t\t\t\t</ul>
  127. \t\t\t\t\t<p>";
  128.         // line 32
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'32$this->source); })()), "description", [], "any"falsefalsefalse32), "html"nulltrue);
  130.         yield "</p>
  131. \t\t\t\t\t<p id=\"content\" class=\"d-none\">";
  132.         // line 33
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'33$this->source); })()), "short_description", [], "any"falsefalsefalse33), "html"nulltrue);
  134.         yield "</p>
  135. \t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
  136. \t\t\t\t\t\t";
  137.         // line 36
  138.         $context["user"] = 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.'36$this->source); })()), "session", [], "any"falsefalsefalse36), "get", ["loginUserName"], "method"falsefalsefalse36);
  139.         // line 37
  140.         yield "\t\t\t\t\t\t";
  141.         if ( !(null === (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'37$this->source); })()))) {
  142.             // line 38
  143.             yield "
  144. \t\t\t\t\t\t\t";
  145.             // line 39
  146.             if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["Liked"]) || array_key_exists("Liked"$context) ? $context["Liked"] : (function () { throw new RuntimeError('Variable "Liked" does not exist.'39$this->source); })())) == 0)) {
  147.                 // line 40
  148.                 yield "\t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, ";
  149.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'40$this->source); })()), "id", [], "any"falsefalsefalse40), "html"nulltrue);
  150.                 yield ",'";
  151.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'40$this->source); })()), "name", [], "any"falsefalsefalse40), "html"nulltrue);
  152.                 yield "',30,'Recipe','Like' , '";
  153.                 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.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "locale", [], "any"falsefalsefalse40), "html"nulltrue);
  154.                 yield "')\">";
  155.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  156.                 yield "</li>
  157. \t\t\t\t\t\t\t";
  158.             } else {
  159.                 // line 43
  160.                 yield "\t\t\t\t\t\t\t\t<li class=\"liked\">";
  161.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  162.                 yield "</li>
  163. \t\t\t\t\t\t\t";
  164.             }
  165.             // line 45
  166.             yield "
  167. \t\t\t\t\t\t\t<li class=\"share recipeshare\" onclick=\"loyaltyProgram(this,";
  168.             // line 46
  169.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'46$this->source); })()), "id", [], "any"falsefalsefalse46), "html"nulltrue);
  170.             yield ",'";
  171.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'46$this->source); })()), "name", [], "any"falsefalsefalse46), "html"nulltrue);
  172.             yield "',50,'Recipe','Share', '";
  173.             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.'46$this->source); })()), "request", [], "any"falsefalsefalse46), "locale", [], "any"falsefalsefalse46), "html"nulltrue);
  174.             yield "')\">
  175. \t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Recipe','";
  176.             // line 47
  177.             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.'47$this->source); })()), "request", [], "any"falsefalsefalse47), "getSchemeAndHttpHost", [], "method"falsefalsefalse47) . "/") . 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.'47$this->source); })()), "request", [], "any"falsefalsefalse47), "locale", [], "any"falsefalsefalse47)) . "/all-recipes/") . CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'47$this->source); })()), "url", [], "any"falsefalsefalse47)), "html"nulltrue);
  178.             yield "' , '";
  179.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share goody recipe with your friends"), "html"nulltrue);
  180.             yield "')\">";
  181.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  182.             yield "</span>
  183. \t\t\t\t\t\t\t</li>
  184. \t\t\t\t\t\t\t";
  185.             // line 56
  186.             yield "\t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
  187.             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.'56$this->source); })()), "request", [], "any"falsefalsefalse56), "locale", [], "any"falsefalsefalse56), "html"nulltrue);
  188.             yield "/print/recipe/";
  189.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'56$this->source); })()), "url", [], "any"falsefalsefalse56), "html"nulltrue);
  190.             yield "\"><li class=\"download-blue\" id=\"download\">";
  191.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html"nulltrue);
  192.             yield "</li></a>
  193. \t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
  194.             // line 57
  195.             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.'57$this->source); })()), "request", [], "any"falsefalsefalse57), "locale", [], "any"falsefalsefalse57), "html"nulltrue);
  196.             yield "/print/recipe/";
  197.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'57$this->source); })()), "url", [], "any"falsefalsefalse57), "html"nulltrue);
  198.             yield "\"><li class=\"print-blue\" id=\"pdfprnt\">";
  199.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Print"), "html"nulltrue);
  200.             yield "</li></a>
  201. \t\t\t\t\t\t\t<li class=\"menu-blue d-none\">";
  202.             // line 58
  203.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add To Menu"), "html"nulltrue);
  204.             yield "</li>
  205. \t\t\t\t\t\t";
  206.         } else {
  207.             // line 61
  208.             yield "\t\t\t\t\t\t\t<li class=\"like logged-out\">";
  209.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Like"), "html"nulltrue);
  210.             yield "</li>
  211. \t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Recipe','";
  212.             // line 63
  213.             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.'63$this->source); })()), "request", [], "any"falsefalsefalse63), "getSchemeAndHttpHost", [], "method"falsefalsefalse63) . "/") . 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.'63$this->source); })()), "request", [], "any"falsefalsefalse63), "locale", [], "any"falsefalsefalse63)) . "/all-recipes/") . CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'63$this->source); })()), "url", [], "any"falsefalsefalse63)), "html"nulltrue);
  214.             yield "' , '";
  215.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" share goody recipe with your friends"), "html"nulltrue);
  216.             yield "')\">";
  217.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html"nulltrue);
  218.             yield "</li></a>
  219. \t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
  220.             // line 64
  221.             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.'64$this->source); })()), "request", [], "any"falsefalsefalse64), "locale", [], "any"falsefalsefalse64), "html"nulltrue);
  222.             yield "/print/recipe/";
  223.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'64$this->source); })()), "url", [], "any"falsefalsefalse64), "html"nulltrue);
  224.             yield "\"><li class=\"download-blue\" id=\"download\">";
  225.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Download"), "html"nulltrue);
  226.             yield "</li></a>
  227. \t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/";
  228.             // line 65
  229.             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.'65$this->source); })()), "request", [], "any"falsefalsefalse65), "locale", [], "any"falsefalsefalse65), "html"nulltrue);
  230.             yield "/print/recipe/";
  231.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'65$this->source); })()), "url", [], "any"falsefalsefalse65), "html"nulltrue);
  232.             yield "\"><li class=\"print-blue\" id=\"pdfprnt\">";
  233.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Print"), "html"nulltrue);
  234.             yield "</li></a>
  235. \t\t\t\t\t\t\t<li class=\"menu-blue d-none\">";
  236.             // line 66
  237.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add To Menu"), "html"nulltrue);
  238.             yield "</li>
  239. \t\t\t\t\t\t";
  240.         }
  241.         // line 68
  242.         yield "
  243. \t\t\t\t\t</ul>
  244. \t\t\t\t</div>
  245. \t\t\t\t<div class=\"media-section media-section-01\">
  246. \t\t\t\t\t";
  247.         // line 73
  248.         if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'73$this->source); })()), "banner_video", [], "any"falsefalsefalse73))) {
  249.             // line 74
  250.             yield "\t\t\t\t\t\t";
  251.             // line 75
  252.             yield "\t\t\t\t\t\t";
  253.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'75$this->source); })()), "featured_image", [], "any"falsefalsefalse75)) {
  254.                 // line 76
  255.                 yield "\t\t\t\t\t\t";
  256.                 yield CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'76$this->source); })()), "featured_image", [], "any"falsefalsefalse76), "thumbnail", ["858x592"], "method"falsefalsefalse76), "getHTML", [["imgAttributes" => ["class" => """alt" => "Feature Image"]]], "method"falsefalsefalse76);
  257.                 yield "
  258. \t\t\t\t\t\t";
  259.             }
  260.             // line 78
  261.             yield "\t\t\t\t\t";
  262.         } else {
  263.             // line 79
  264.             yield "\t\t\t\t\t\t<video poster=\"";
  265.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'79$this->source); })()), "featured_image", [], "any"falsefalsefalse79), "html"nulltrue);
  266.             yield "\" playsinline preload=\"auto\" loop=\"true\" autoplay=\"true\" muted=\"true\" controlslist=\"nodownload\">
  267. \t\t\t\t\t\t\t<source src=\"";
  268.             // line 80
  269.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'80$this->source); })()), "banner_video", [], "any"falsefalsefalse80), "data", [], "any"falsefalsefalse80), "html"nulltrue);
  270.             yield "\" type=\"video/mp4\">
  271. \t\t\t\t\t\t\tYour browser does not support the video tag.
  272. \t\t\t\t\t\t</video>
  273. \t\t\t\t\t\t";
  274.             // line 87
  275.             yield "
  276. \t\t\t\t\t";
  277.         }
  278.         // line 89
  279.         yield "\t\t\t\t\t";
  280.         if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'89$this->source); })()), "detail_video", [], "any"falsefalsefalse89))) {
  281.             // line 90
  282.             yield "\t\t\t\t\t\t<div class=\"btn-holder\">
  283. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary\" data-toggle=\"modal\" data-target=\"#recipevideomodal\">";
  284.             // line 91
  285.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Watch Full Video"), "html"nulltrue);
  286.             yield "
  287. \t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  288. \t\t\t\t\t\t\t</a>
  289. \t\t\t\t\t\t</div>
  290. \t\t\t\t\t";
  291.         }
  292.         // line 96
  293.         yield "\t\t\t\t</div>
  294. \t\t\t</div>
  295. \t\t\t\t
  296. \t\t\t\t<!--Start Breadcrumbs-->
  297. \t\t\t\t<div class=\"breadcrumb-holder breadcrumb-fixed\">
  298. \t\t\t\t\t<ol class=\"breadcrumb\">
  299. \t\t\t\t\t\t<li class=\"breadcrumb-item\">
  300. \t\t\t\t\t\t\t<a href=\"/";
  301.         // line 103
  302.         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.'103$this->source); })()), "request", [], "any"falsefalsefalse103), "locale", [], "any"falsefalsefalse103), "html"nulltrue);
  303.         yield "\">";
  304.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  305.         yield "</a>
  306. \t\t\t\t\t\t</li>
  307. \t\t\t\t\t\t<li class=\"breadcrumb-item\">
  308. \t\t\t\t\t\t\t<a href=\"/";
  309.         // line 106
  310.         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.'106$this->source); })()), "request", [], "any"falsefalsefalse106), "locale", [], "any"falsefalsefalse106), "html"nulltrue);
  311.         yield "/recipes\">";
  312.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes"), "html"nulltrue);
  313.         yield "</a>
  314. \t\t\t\t\t\t</li>
  315. \t\t\t\t\t\t";
  316.         // line 108
  317.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'108$this->source); })()), "category", [], "any"falsefalsefalse108)) > 0)) {
  318.             // line 109
  319.             yield "\t\t\t\t\t\t\t";
  320.             $context['_parent'] = $context;
  321.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'109$this->source); })()), "category", [], "any"falsefalsefalse109));
  322.             foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  323.                 // line 110
  324.                 yield "\t\t\t\t\t\t\t\t";
  325.                 // line 111
  326.                 yield "\t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  327. \t\t\t\t\t\t\t\t\t<a href=\"/en/recipes/";
  328.                 // line 112
  329.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category"], "cat_url", [], "any"falsefalsefalse112), "html"nulltrue);
  330.                 yield "\">";
  331.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Category"], "recipecategoryname", [], "any"falsefalsefalse112), "html"nulltrue);
  332.                 yield "</a>
  333. \t\t\t\t\t\t\t\t</li>
  334. \t\t\t\t\t\t\t";
  335.             }
  336.             $_parent $context['_parent'];
  337.             unset($context['_seq'], $context['_key'], $context['Category'], $context['_parent']);
  338.             $context array_intersect_key($context$_parent) + $_parent;
  339.             // line 115
  340.             yield "\t\t\t\t\t\t";
  341.         }
  342.         // line 116
  343.         yield "\t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">";
  344.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'116$this->source); })()), "name", [], "any"falsefalsefalse116), "html"nulltrue);
  345.         yield "</li>
  346. \t\t\t\t\t</ol>
  347. \t\t\t\t</div>
  348. \t\t\t\t<!--End Breadcrumbs-->
  349. \t\t\t</div>
  350. \t\t</section>
  351. \t\t<!--End Recipe Top Download-->
  352. \t\t<!--Start Ingredients and Instructions-->
  353. \t\t<section class=\"cooking-tabs\">
  354. \t\t\t<div
  355. \t\t\t\tclass=\"container container-sm\">
  356. \t\t\t\t<!--Start Tab Titles-->
  357. \t\t\t\t<ul class=\"row nav nav-pills\" id=\"cooking-tab\" role=\"tablist\">
  358. \t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
  359. \t\t\t\t\t\t<a class=\"nav-link sub-sm-heading active\" id=\"ingredients-tab\" data-toggle=\"pill\" href=\"#ingredients\" role=\"tab\" aria-controls=\"ingredients\" aria-selected=\"true\">";
  360.         // line 134
  361.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ingredients"), "html"nulltrue);
  362.         yield "
  363. \t\t\t\t\t\t\t";
  364.         // line 135
  365.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "Serving_options", [], "any"falsetruefalse135), "items", [], "any"falsetruefalse135), 0, [], "array"falsetruefalse135), "ingredeints", [], "any"truetruefalse135)) {
  366.             // line 136
  367.             yield "\t\t\t\t\t\t\t";
  368.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'136$this->source); })()), "Serving_options", [], "any"falsefalsefalse136), "items", [], "any"falsefalsefalse136), 0, [], "array"falsefalsefalse136), "ingredeints", [], "any"falsefalsefalse136)), "html"nulltrue);
  369.         }
  370.         yield "</a>
  371. \t\t\t\t\t</li>
  372. \t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
  373. \t\t\t\t\t\t<a class=\"nav-link sub-sm-heading\" id=\"instruction-tab\" data-toggle=\"pill\" href=\"#instruction\" role=\"tab\" aria-controls=\"instruction\" aria-selected=\"false\">";
  374.         // line 139
  375.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Instructions"), "html"nulltrue);
  376.         yield "</a>
  377. \t\t\t\t\t</li>
  378. \t\t\t\t</ul>
  379. \t\t\t\t<!--End Tab Titles-->
  380. \t\t\t\t<!--Start Tab Content-->
  381. \t\t\t\t<div class=\"row tab-content\" id=\"cooking-tabContent\">
  382. \t\t\t\t\t\t\t
  383. \t\t\t\t\t<!--Start Ingredients Tab Content-->
  384. \t\t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\"> <div class=\"order-count\">
  385. \t\t\t\t\t\t\t<div class=\"order-count-title\">";
  386.         // line 149
  387.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Order's"), "html"nulltrue);
  388.         yield "</div>
  389. \t\t\t\t\t\t\t<div class=\"order-count-number\">
  390. \t\t\t\t\t\t\t\t<span class=\"minus\" id=\"minusx\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
  391. \t\t\t\t\t\t\t\t<input class=\"count numeric-remove-spiner\" onkeypress='return event.charCode >= 48 && event.charCode <= 57' id=\"valuechange\" type=\"number\" value=\"";
  392.         // line 152
  393.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'152$this->source); })()), "serves", [], "any"falsefalsefalse152), "html"nulltrue);
  394.         yield "\"/>
  395. \t\t\t\t\t\t\t\t<span class=\"plus\" id=\"plusx\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
  396. \t\t\t\t\t\t\t</div>
  397. \t\t\t\t\t\t\t<input class=\"serving d-none\" type=\"text\" value=\"";
  398.         // line 155
  399.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'155$this->source); })()), "serves", [], "any"falsefalsefalse155), "html"nulltrue);
  400.         yield "\"/>
  401. \t\t\t\t\t\t</div>
  402. \t\t\t\t\t\t<div class=\"ingredients-holders\">
  403. \t\t\t\t\t\t\t
  404. \t\t\t\t\t\t\t\t\t";
  405.         // line 159
  406.         $context['_parent'] = $context;
  407.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'159$this->source); })()), "serving_options", [], "any"falsefalsefalse159));
  408.         foreach ($context['_seq'] as $context["_key"] => $context["ingrident"]) {
  409.             // line 160
  410.             yield "\t\t\t\t\t\t\t\t\t<h4 class=\"title\">";
  411.             yield (((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.'160$this->source); })()), "request", [], "any"falsefalsefalse160), "locale", [], "any"falsefalsefalse160) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ingrident"], "serve", [], "any"falsefalsefalse160), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["ingrident"], "serve_ar", [], "any"falsefalsefalse160), "html"nulltrue)));
  412.             yield "</h4>
  413. \t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
  414. \t\t\t\t\t\t\t\t\t\t
  415.                 \t\t\t\t\t\t";
  416.             // line 163
  417.             $context['_parent'] = $context;
  418.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["ingrident"], "ingredeints", [], "any"falsefalsefalse163));
  419.             foreach ($context['_seq'] as $context["_key"] => $context["ing"]) {
  420.                 // line 164
  421.                 yield "\t\t\t\t\t\t\t\t\t\t\t
  422. \t\t\t\t\t\t\t\t\t\t\t<li>
  423. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"name capsfirstleter\">";
  424.                 // line 166
  425.                 yield (((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.'166$this->source); })()), "request", [], "any"falsefalsefalse166), "locale", [], "any"falsefalsefalse166) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "ingredient", [], "any"falsefalsefalse166), "data", [], "any"falsefalsefalse166), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "ingredient_ar", [], "any"falsefalsefalse166), "data", [], "any"falsefalsefalse166), "html"nulltrue)));
  426.                 yield "</span>
  427. \t\t\t\t\t\t\t\t\t\t\t\t";
  428.                 // line 168
  429.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"measurement\">
  430. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  431.                 // line 169
  432.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "multiply", [], "any"falsefalsefalse169), "data", [], "any"falsefalsefalse169) != 0)) {
  433.                     // line 170
  434.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  435.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "multiply", [], "any"falsefalsefalse170), "data", [], "any"falsefalsefalse170), "html"nulltrue);
  436.                     yield "
  437. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  438.                 }
  439.                 // line 172
  440.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  441.                 yield (((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.'172$this->source); })()), "request", [], "any"falsefalsefalse172), "locale", [], "any"falsefalsefalse172) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "unit", [], "any"falsefalsefalse172), "data", [], "any"falsefalsefalse172), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "unit_ar", [], "any"falsefalsefalse172), "data", [], "any"falsefalsefalse172), "html"nulltrue)));
  442.                 yield "</span>
  443. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"new d-none\">";
  444.                 // line 173
  445.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "multiply", [], "any"falsefalsefalse173), "data", [], "any"falsefalsefalse173), "html"nulltrue);
  446.                 yield "
  447. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  448. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"unit d-none\">";
  449.                 // line 175
  450.                 yield (((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.'175$this->source); })()), "request", [], "any"falsefalsefalse175), "locale", [], "any"falsefalsefalse175) == "en")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "unit", [], "any"falsefalsefalse175), "data", [], "any"falsefalsefalse175), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["ing"], "unit_ar", [], "any"falsefalsefalse175), "data", [], "any"falsefalsefalse175), "html"nulltrue)));
  451.                 yield "
  452. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  453. \t\t\t\t\t\t\t\t\t\t\t</li>
  454. \t\t\t\t\t\t\t\t\t\t";
  455.             }
  456.             $_parent $context['_parent'];
  457.             unset($context['_seq'], $context['_key'], $context['ing'], $context['_parent']);
  458.             $context array_intersect_key($context$_parent) + $_parent;
  459.             // line 181
  460.             yield "\t\t\t\t\t\t\t\t\t
  461. \t\t\t\t\t\t\t\t\t\t";
  462.             // line 183
  463.             $context['_parent'] = $context;
  464.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["ingrident"], "recipe_feature_product", [], "any"falsefalsefalse183));
  465.             foreach ($context['_seq'] as $context["_key"] => $context["recipe_feature_product"]) {
  466.                 // line 184
  467.                 yield "\t\t\t\t\t\t\t\t\t\t\t";
  468.                 if (array_key_exists("recipe_feature_product"$context)) {
  469.                     // line 185
  470.                     yield "
  471. \t\t\t\t\t\t\t\t\t\t\t\t";
  472.                     // line 186
  473.                     if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "brands", [], "any"falsefalsefalse186), "id", [], "any"falsefalsefalse186) == 263)) {
  474.                         // line 187
  475.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  476.                         $context["class"] = "slide-img-bg-brown";
  477.                         // line 188
  478.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  479.                     } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "brands", [], "any"falsefalsefalse188), "id", [], "any"falsefalsefalse188) == 262)) {
  480.                         // line 189
  481.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  482.                         $context["class"] = "slide-img-bg-blue";
  483.                         // line 190
  484.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  485.                     } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "brands", [], "any"falsefalsefalse190), "id", [], "any"falsefalsefalse190) == 413)) {
  486.                         // line 191
  487.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  488.                         $context["class"] = "slide-img-bg-purple";
  489.                         // line 192
  490.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  491.                     } else {
  492.                         // line 193
  493.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  494.                         $context["class"] = "slide-img-bg-green";
  495.                         // line 194
  496.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  497.                     }
  498.                     // line 195
  499.                     yield "
  500. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"product-available-box\">
  501. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"product-box product-box-horizon\">
  502. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  503.                     // line 199
  504.                     $context["user"] = 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.'199$this->source); })()), "session", [], "any"falsefalsefalse199), "get", ["loginUserName"], "method"falsefalsefalse199);
  505.                     // line 200
  506.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  507.                     if ( !(null === (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'200$this->source); })()))) {
  508.                         // line 201
  509.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  510.                         if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "id", [], "any"falsefalsefalse201), (isset($context["Liked_Recipe_feature_product_Ids"]) || array_key_exists("Liked_Recipe_feature_product_Ids"$context) ? $context["Liked_Recipe_feature_product_Ids"] : (function () { throw new RuntimeError('Variable "Liked_Recipe_feature_product_Ids" does not exist.'201$this->source); })()))) {
  511.                             // line 202
  512.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/Liked-01.svg\" alt=\"Liked\"></a>
  514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  515. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  516.                         } else {
  517.                             // line 206
  518.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  519. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"loyaltyProgram(this,";
  520.                             // line 207
  521.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "id", [], "any"falsefalsefalse207), "html"nulltrue);
  522.                             yield ",'";
  523.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "name", [], "any"falsefalsefalse207), "html"nulltrue);
  524.                             yield "',30,'Product','Like')\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
  525. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  526. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  527.                         }
  528.                         // line 210
  529.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  530.                     } else {
  531.                         // line 211
  532.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
  533. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
  534. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  535. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  536.                     }
  537.                     // line 215
  538.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img ";
  539.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'215$this->source); })()), "html"nulltrue);
  540.                     yield "\">
  541. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  542.                     // line 216
  543.                     if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "attrimage", [], "any"falsetruefalse216), "Items", [], "any"falsetruefalse216), 0, [], "array"truetruefalse216)) {
  544.                         // line 217
  545.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  546.                         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.'217$this->source); })()), "request", [], "any"falsefalsefalse217), "locale", [], "any"falsefalsefalse217), "html"nulltrue);
  547.                         yield "/product/";
  548.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "url", [], "any"falsefalsefalse217), "html"nulltrue);
  549.                         yield "\">
  550. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  551.                         // line 218
  552.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "attrimage", [], "any"falsefalsefalse218), "Items", [], "any"falsefalsefalse218), 0, [], "array"falsefalsefalse218), "html"nulltrue);
  553.                         yield "\" alt=\"";
  554.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "name", [], "any"falsefalsefalse218), "html"nulltrue);
  555.                         yield "\">
  556. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  557. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  558.                     }
  559.                     // line 221
  560.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  561. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
  562. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/";
  563.                     // line 223
  564.                     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.'223$this->source); })()), "request", [], "any"falsefalsefalse223), "locale", [], "any"falsefalsefalse223), "html"nulltrue);
  565.                     yield "/product/";
  566.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "url", [], "any"falsefalsefalse223), "html"nulltrue);
  567.                     yield "\">
  568. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">";
  569.                     // line 224
  570.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "name", [], "any"falsefalsefalse224), "html"nulltrue);
  571.                     yield "</h5>
  572. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  573. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">";
  574.                     // line 226
  575.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "size", [], "any"falsefalsefalse226), "html"nulltrue);
  576.                     yield "</div>
  577. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"inline-info\">
  578. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  579.                     // line 228
  580.                     if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "region", [], "any"falsetruefalse228), 0, [], "array"falsetruefalse228), "price", [], "array"falsetruefalse228), "data", [], "any"truetruefalse228)) {
  581.                         // line 229
  582.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">";
  583.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "region", [], "any"falsefalsefalse229), 0, [], "array"falsefalsefalse229), "price", [], "array"falsefalsefalse229), "data", [], "any"falsefalsefalse229), "html"nulltrue);
  584.                         yield "
  585. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  586.                         // line 230
  587.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "region", [], "any"falsefalsefalse230), 0, [], "array"falsefalsefalse230), "currency_symbol", [], "array"falsefalsefalse230), "data", [], "any"falsefalsefalse230)), "html"nulltrue);
  588.                         yield "</div>
  589. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  590.                         // line 231
  591.                         $context["points"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "region", [], "any"falsefalsefalse231), 0, [], "array"falsefalsefalse231), "price", [], "array"falsefalsefalse231), "data", [], "any"falsefalsefalse231) / 100) * 10));
  592.                         // line 232
  593.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  594.                         // line 237
  595.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  596.                     }
  597.                     // line 238
  598.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  599. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count small-count\">
  600. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
  601. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
  602. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" id=\"fig\" type=\"text\" value=\"1\"/>
  603. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
  604. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  605. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary add-to-cart-rcp\" onclick=\"addCart(this, ";
  606.                     // line 246
  607.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "id", [], "any"falsefalsefalse246), "html"nulltrue);
  608.                     yield ", 1)\">";
  609.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Cart"), "html"nulltrue);
  610.                     yield "</a>
  611. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  612. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  613.                     // line 248
  614.                     if ( !(null === 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.'248$this->source); })()), "session", [], "any"falsefalsefalse248), "get", ["loginUserName"], "method"falsefalsefalse248))) {
  615.                         // line 249
  616.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
  617. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline\" onclick=\"inventoryProgram(this,";
  618.                         // line 250
  619.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["points"]) || array_key_exists("points"$context) ? $context["points"] : (function () { throw new RuntimeError('Variable "points" does not exist.'250$this->source); })()), "html"nulltrue);
  620.                         yield ",";
  621.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["recipe_feature_product"], "id", [], "any"falsefalsefalse250), "html"nulltrue);
  622.                         yield ")\">";
  623.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html"nulltrue);
  624.                         yield "</a>
  625. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  626. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  627.                     } else {
  628.                         // line 253
  629.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
  630. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline recipe-logged-out\">";
  631.                         // line 254
  632.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add to Inventory"), "html"nulltrue);
  633.                         yield "</a>
  634. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  635. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"recipe-inventry-alert\"></div>
  636. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  637.                     }
  638.                     // line 258
  639.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  640. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  641. \t\t\t\t\t\t\t\t\t\t\t\t</li>
  642. \t\t\t\t\t\t\t\t\t\t\t";
  643.                 }
  644.                 // line 263
  645.                 yield "\t\t\t\t\t\t\t\t\t\t";
  646.             }
  647.             $_parent $context['_parent'];
  648.             unset($context['_seq'], $context['_key'], $context['recipe_feature_product'], $context['_parent']);
  649.             $context array_intersect_key($context$_parent) + $_parent;
  650.             // line 264
  651.             yield "\t\t\t\t\t\t\t\t\t</ul>
  652. \t\t\t\t\t\t\t\t";
  653.         }
  654.         $_parent $context['_parent'];
  655.         unset($context['_seq'], $context['_key'], $context['ingrident'], $context['_parent']);
  656.         $context array_intersect_key($context$_parent) + $_parent;
  657.         // line 266
  658.         yield "
  659. \t\t\t\t\t\t</div>
  660. \t\t\t\t\t</div>
  661. \t\t\t\t\t<!--End Ingredients Tab Content-->
  662. \t\t\t\t\t<!--Start Instruction Tab Content-->
  663. \t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade\" id=\"instruction\" role=\"tabpanel\" aria-labelledby=\"instruction-tab\">
  664. \t\t\t\t\t\t<div class=\"instructions-holder\">
  665. \t\t\t\t\t\t\t<h5 class=\"title\">
  666. \t\t\t\t\t\t\t\t";
  667.         // line 276
  668.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("intruction_desc"), "html"nulltrue);
  669.         yield "
  670. \t\t\t\t\t\t\t";
  671.         // line 278
  672.         yield "\t\t\t\t\t\t\t\t";
  673.         // line 279
  674.         yield "\t\t\t\t\t\t\t</h5>
  675. \t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
  676. \t\t\t\t\t\t\t\t";
  677.         // line 281
  678.         $context["step"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'281$this->source); })()), "steps", [], "any"falsefalsefalse281);
  679.         // line 282
  680.         yield "\t\t\t\t\t\t\t\t";
  681.         $context['_parent'] = $context;
  682.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'282$this->source); })()));
  683.         foreach ($context['_seq'] as $context["_key"] => $context["steps"]) {
  684.             // line 283
  685.             yield "\t\t\t\t\t\t\t\t\t<li>
  686. \t\t\t\t\t\t\t\t\t\t";
  687.             // line 284
  688.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["steps"], "localizedfields", [], "any"falsefalsefalse284), "data", [], "any"falsefalsefalse284), "getLocalizedValue", ["description"], "method"falsefalsefalse284), "html"nulltrue);
  689.             yield "</li>
  690. \t\t\t\t\t\t\t\t";
  691.         }
  692.         $_parent $context['_parent'];
  693.         unset($context['_seq'], $context['_key'], $context['steps'], $context['_parent']);
  694.         $context array_intersect_key($context$_parent) + $_parent;
  695.         // line 287
  696.         yield "\t\t\t\t\t\t\t</ul>
  697. \t\t\t\t\t\t\t";
  698.         // line 294
  699.         yield "\t\t\t\t\t\t</div>
  700. \t\t\t\t\t\t<div class=\"special-notes\">
  701. \t\t\t\t\t\t\t<h3 class=\"title\">";
  702.         // line 296
  703.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Special Notes:"), "html"nulltrue);
  704.         yield "</h3>
  705. \t\t\t\t\t\t\t<ul class=\"list-unstyled notes-list\">
  706. \t\t\t\t\t\t\t\t";
  707.         // line 299
  708.         $context['_parent'] = $context;
  709.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'299$this->source); })()), "note_list", [], "any"falsefalsefalse299));
  710.         foreach ($context['_seq'] as $context["_key"] => $context["special_notes"]) {
  711.             // line 300
  712.             yield "\t\t\t\t\t\t\t\t\t<li>
  713. \t\t\t\t\t\t\t\t\t\t<strong>";
  714.             // line 301
  715.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["special_notes"], "bold_tag", [], "any"falsefalsefalse301), "data", [], "any"falsefalsefalse301), "html"nulltrue);
  716.             yield ":</strong>
  717. \t\t\t\t\t\t\t\t\t\t";
  718.             // line 302
  719.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["special_notes"], "special_note", [], "any"falsefalsefalse302), "data", [], "any"falsefalsefalse302), "html"nulltrue);
  720.             yield "
  721. \t\t\t\t\t\t\t\t\t</li>
  722. \t\t\t\t\t\t\t\t";
  723.         }
  724.         $_parent $context['_parent'];
  725.         unset($context['_seq'], $context['_key'], $context['special_notes'], $context['_parent']);
  726.         $context array_intersect_key($context$_parent) + $_parent;
  727.         // line 305
  728.         yield "
  729. \t\t\t\t\t\t\t\t";
  730.         // line 311
  731.         yield "\t\t\t\t\t\t\t</ul>
  732. \t\t\t\t\t\t</div>
  733. \t\t\t\t\t</div>
  734. \t\t\t\t\t<!--End Instruction Tab Content-->
  735. \t\t\t\t</div>
  736. \t\t\t\t<!--End Tab Content-->
  737. \t\t\t</div>
  738. \t\t</section>
  739. \t</div>
  740. \t";
  741.         // line 320
  742.         if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'320$this->source); })()), "detail_video", [], "any"falsefalsefalse320))) {
  743.             // line 321
  744.             yield "\t\t<!-- Start video modal -->
  745. \t\t<div class=\"modal fade video-modal\" id=\"recipevideomodal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"recipevideomodal\" aria-hidden=\"true\" data-backdrop=\"static\">
  746. \t\t\t<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  747. \t\t\t\t<div class=\"modal-content\">
  748. \t\t\t\t\t<div class=\"video-modal-box\">
  749. \t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  750. \t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>
  751. \t\t\t\t\t\t</button>
  752. \t\t\t\t\t\t<div class=\"video-modal-box-media\">
  753. \t\t\t\t\t\t\t<figure class=\"video-modal-box-media-figure\">
  754. \t\t\t\t\t\t\t\t<video poster=\"";
  755.             // line 331
  756.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'331$this->source); })()), "featured_image", [], "any"falsefalsefalse331), "html"nulltrue);
  757.             yield "\" controls playsinline preload=\"auto\" loop=\"false\" controlslist=\"nodownload\" id=\"videoId\">
  758. \t\t\t\t\t\t\t\t\t<source src=\"";
  759.             // line 332
  760.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'332$this->source); })()), "detail_video", [], "any"falsefalsefalse332), "data", [], "any"falsefalsefalse332), "html"nulltrue);
  761.             yield "\" type=\"video/mp4\">
  762. \t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
  763. \t\t\t\t\t\t\t\t</video>
  764. \t\t\t\t\t\t\t\t";
  765.             // line 339
  766.             yield "\t\t\t\t\t\t\t</figure>
  767. \t\t\t\t\t\t</div>
  768. \t\t\t\t\t</div>
  769. \t\t\t\t</div>
  770. \t\t\t</div>
  771. \t\t</div>
  772. \t\t<!-- End video modal -->
  773. \t";
  774.         }
  775.         // line 347
  776.         yield "\t<!--Start Ingredients and Instructions-->
  777. \t<!--Start Instagram Section-->
  778. \t<section class=\"social-holder\">
  779. \t\t<div class=\"container container-sm\">
  780. \t\t\t<div class=\"social-holder-box rcpe-detail\">
  781. \t\t\t\t<div class=\"social-holder-img\">
  782. \t\t\t\t\t<img src=\"/static/assets/images/insta-pic.jpg\" alt=\"insta pic\">
  783. \t\t\t\t</div>
  784. \t\t\t\t<div class=\"social-holder-info\">
  785. \t\t\t\t\t<h5>";
  786.         // line 357
  787.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DID YOU MAKE THIS RECIPE?"), "html"nulltrue);
  788.         yield "</h5>
  789. \t\t\t\t\t<p>";
  790.         // line 358
  791.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("We love hearing how you went with this recipes!"), "html"nulltrue);
  792.         yield "</p>
  793. \t\t\t\t\t<p>";
  794.         // line 359
  795.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tag us on Instagram at"), "html"nulltrue);
  796.         yield "
  797. \t\t\t\t\t\t<a href=\"https://www.instagram.com/goodyculinarysolutions/\" target=\"_blank\">@goody_professional_solutions</a>
  798. \t\t\t\t\t</p>
  799. \t\t\t\t</div>
  800. \t\t\t</div>
  801. \t\t</div>
  802. \t</section>
  803. \t<!--End Instagram Section-->
  804. \t<!--Start Menu Builder Tool-->
  805. \t<section class=\"info-media loyalty-program menu-builder-tool loyalty-program-inner\">
  806. \t\t<div class=\"container container-sm\">
  807. \t\t\t<div class=\"info-section\">
  808. \t\t\t\t<h5>";
  809.         // line 372
  810.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tools for you"), "html"nulltrue);
  811.         yield "</h5>
  812. \t\t\t\t<h4>";
  813.         // line 373
  814.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Get the right menu"), "html"nulltrue);
  815.         yield "</h4>
  816. \t\t\t\t<h3>";
  817.         // line 374
  818.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ideas and right cost"), "html"nulltrue);
  819.         yield "</h3>
  820. \t\t\t\t<p>";
  821.         // line 375
  822.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Make your menu options more profitable."), "html"nulltrue);
  823.         yield "</p>
  824. \t\t\t\t<div class=\"btn-holder\">
  825. \t\t\t\t\t<div class=\"newsletter-subscribe \">
  826. \t\t\t\t\t\t<h4 class=\"cstsmLP\">\"";
  827.         // line 380
  828.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming Soon"), "html"nulltrue);
  829.         yield "\"</h4>
  830. \t\t\t\t\t</div>
  831. \t\t\t\t\t<div class=\"btn-border d-none\">
  832. \t\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-black\">";
  833.         // line 383
  834.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Coming soon"), "html"nulltrue);
  835.         yield "</a>
  836. \t\t\t\t\t\t";
  837.         // line 385
  838.         yield "\t\t\t\t\t</div>
  839. \t\t\t\t</div>
  840. \t\t\t</div>
  841. \t\t\t<div class=\"media-section media-shadow\">
  842. \t\t\t\t<img src=\"/static/assets/images/Recipe_Menu_Builder_875x550.jpg\" alt=\"Recipe Menu Builder\">
  843. \t\t\t</div>
  844. \t\t</div>
  845. \t</section>
  846. \t<!--End Menu Builder Tool-->
  847. \t<!--Start Similar Recipes Section-->
  848. \t";
  849.         // line 396
  850.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["similar_recipes"]) || array_key_exists("similar_recipes"$context) ? $context["similar_recipes"] : (function () { throw new RuntimeError('Variable "similar_recipes" does not exist.'396$this->source); })())) > 0)) {
  851.             // line 397
  852.             yield "\t\t<section class=\"featured-recipes-section inner-featured-recipe similar-recipes recipe-detail-similer\">
  853. \t\t\t<div class=\"container container-sm\">
  854. \t\t\t\t<h2 class=\"heading\">";
  855.             // line 399
  856.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Similar-Recipes"), "html"nulltrue);
  857.             yield "</h2>
  858. \t\t\t\t<div class=\"featured-recipes\">
  859. \t\t\t\t\t<div class=\"featured-recipes-slider\">
  860. \t\t\t\t\t\t";
  861.             // line 402
  862.             $context['_parent'] = $context;
  863.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["similar_recipes"]) || array_key_exists("similar_recipes"$context) ? $context["similar_recipes"] : (function () { throw new RuntimeError('Variable "similar_recipes" does not exist.'402$this->source); })()));
  864.             foreach ($context['_seq'] as $context["_key"] => $context["Similar_recipes"]) {
  865.                 // line 403
  866.                 yield "\t\t\t\t\t\t\t<div class=\"slide\">
  867. \t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  868. \t\t\t\t\t\t\t\t\t<a href=\"";
  869.                 // line 405
  870.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "url", [], "any"falsefalsefalse405), "html"nulltrue);
  871.                 yield "\" tabindex=\"0\">
  872. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  873. \t\t\t\t\t\t\t\t\t\t\t";
  874.                 // line 408
  875.                 yield "\t\t\t\t\t\t\t\t\t\t\t";
  876.                 if (CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "featured_image", [], "any"falsefalsefalse408)) {
  877.                     // line 409
  878.                     yield "\t\t\t\t\t\t\t\t\t\t\t";
  879.                     yield CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "featured_image", [], "any"falsefalsefalse409), "thumbnail", ["354x244"], "method"falsefalsefalse409), "getHTML", [["imgAttributes" => ["class" => """alt" => CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "name", [], "any"falsefalsefalse409)]]], "method"falsefalsefalse409);
  880.                     yield "
  881. \t\t\t\t\t\t\t\t\t\t\t";
  882.                 }
  883.                 // line 411
  884.                 yield "\t\t\t\t\t\t\t\t\t\t\t";
  885.                 if (CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "banner_video", [], "any"falsefalsefalse411)) {
  886.                     // line 412
  887.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  888. \t\t\t\t\t\t\t\t\t\t\t";
  889.                 }
  890.                 // line 414
  891.                 yield "\t\t\t\t\t\t\t\t\t\t</figure>
  892. \t\t\t\t\t\t\t\t\t</a>
  893. \t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  894. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  895.                 // line 417
  896.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "url", [], "any"falsefalsefalse417), "html"nulltrue);
  897.                 yield "\" tabindex=\"0\">
  898. \t\t\t\t\t\t\t\t\t\t\t<h3>";
  899.                 // line 418
  900.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "name", [], "any"falsefalsefalse418), "html"nulltrue);
  901.                 yield "</h3>
  902. \t\t\t\t\t\t\t\t\t\t</a>
  903. \t\t\t\t\t\t\t\t\t\t<p>";
  904.                 // line 420
  905.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "short_description", [], "any"falsefalsefalse420), "html"nulltrue);
  906.                 yield "</p>
  907. \t\t\t\t\t\t\t\t\t\t<ul
  908. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  909. \t\t\t\t\t\t\t\t\t\t\t";
  910.                 // line 424
  911.                 yield "\t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">";
  912.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No. Of"), "html"nulltrue);
  913.                 yield "
  914. \t\t\t\t\t\t\t\t\t\t\t\t";
  915.                 // line 425
  916.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Serving"), "html"nulltrue);
  917.                 yield "
  918. \t\t\t\t\t\t\t\t\t\t\t\t";
  919.                 // line 426
  920.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "serves", [], "any"falsefalsefalse426), "html"nulltrue);
  921.                 yield "</li>
  922. \t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">";
  923.                 // line 427
  924.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "typeofmeal", [], "any"falsefalsefalse427)), "html"nulltrue);
  925.                 yield "</li>
  926. \t\t\t\t\t\t\t\t\t\t</ul>
  927. \t\t\t\t\t\t\t\t\t</div>
  928. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  929. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  930.                 // line 431
  931.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["Similar_recipes"], "url", [], "any"falsefalsefalse431), "html"nulltrue);
  932.                 yield "\" class=\"btn btn-custom btn-primary\" tabindex=\"0\">";
  933.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View Recipe"), "html"nulltrue);
  934.                 yield "</a>
  935. \t\t\t\t\t\t\t\t\t</div>
  936. \t\t\t\t\t\t\t\t</div>
  937. \t\t\t\t\t\t\t</div>
  938. \t\t\t\t\t\t";
  939.             }
  940.             $_parent $context['_parent'];
  941.             unset($context['_seq'], $context['_key'], $context['Similar_recipes'], $context['_parent']);
  942.             $context array_intersect_key($context$_parent) + $_parent;
  943.             // line 436
  944.             yield "\t\t\t\t\t</div>
  945. \t\t\t\t</div>
  946. \t\t\t</div>
  947. \t\t</section>
  948. \t";
  949.         }
  950.         // line 441
  951.         yield "\t<!--End Similar Recipes Section-->
  952. ";
  953.         // line 442
  954.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'442$this->source); })()), "tags", [], "any"falsefalsefalse442)) > 0)) {
  955.             // line 443
  956.             yield "\t<!--Start Tag Section-->
  957. \t<section class=\"tag-section\">
  958. \t\t<div class=\"container container-sm\">
  959. \t\t\t<h2 class=\"heading\">";
  960.             // line 446
  961.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tags"), "html"nulltrue);
  962.             yield "</h2>
  963. \t\t\t<ul class=\"list-unstyled tag-list\">
  964. \t\t\t\t";
  965.             // line 448
  966.             $context["count"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'448$this->source); })()), "tags", [], "any"falsefalsefalse448);
  967.             // line 449
  968.             yield "\t\t\t\t";
  969.             $context['_parent'] = $context;
  970.             $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'449$this->source); })())) - 1)));
  971.             foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
  972.                 // line 450
  973.                 yield "\t\t\t\t\t";
  974.                 if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'450$this->source); })())) > 0)) {
  975.                     // line 451
  976.                     yield "\t\t\t\t\t\t<li>
  977. \t\t\t\t\t\t\t<a href=\"/en/searchrecipe?tag_id=";
  978.                     // line 452
  979.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'452$this->source); })()), "tags", [], "any"falsefalsefalse452), $context["j"], [], "array"falsefalsefalse452), "id", [], "any"falsefalsefalse452), "html"nulltrue);
  980.                     yield "\">";
  981.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'452$this->source); })()), "tags", [], "any"falsefalsefalse452), $context["j"], [], "array"falsefalsefalse452), "tag_name", [], "any"falsefalsefalse452), "html"nulltrue);
  982.                     yield "</a>
  983. \t\t\t\t\t\t</li>
  984. \t\t\t\t\t";
  985.                 }
  986.                 // line 455
  987.                 yield "\t\t\t\t";
  988.             }
  989.             $_parent $context['_parent'];
  990.             unset($context['_seq'], $context['_key'], $context['j'], $context['_parent']);
  991.             $context array_intersect_key($context$_parent) + $_parent;
  992.             // line 456
  993.             yield "\t\t\t</ul>
  994. \t\t</div>
  995. \t</section>
  996. \t<!--End Tag Section-->
  997. \t";
  998.         }
  999.         // line 461
  1000.         yield "
  1001. \t<!--Start Comments Section-->
  1002. \t<section class=\"comment-section\">
  1003. \t\t<div class=\"container container-sm\">
  1004. \t\t\t<div
  1005. \t\t\t\tclass=\"comment-section-box\">
  1006. \t\t\t\t<!--Start Leave Comments-->
  1007. \t\t\t\t<div class=\"leave-comment\">
  1008. \t\t\t\t\t<div class=\"leave-comment-header\">
  1009. \t\t\t\t\t\t<h5>";
  1010.         // line 470
  1011.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Leave a Comment"), "html"nulltrue);
  1012.         yield "</h5>
  1013. \t\t\t\t\t\t<p>";
  1014.         // line 471
  1015.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cooked this recipe? Comment and rate this recipe!"), "html"nulltrue);
  1016.         yield "</p>
  1017. \t\t\t\t\t\t<p>";
  1018.         // line 472
  1019.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Earn reward points for your interaction."), "html"nulltrue);
  1020.         yield "</p>
  1021. \t\t\t\t\t</div>
  1022. \t\t\t\t\t<form action=\"/review\" method=\"post\" id = \"submitFormRecipeComment\">
  1023. \t\t\t\t\t\t<div class=\"custom-form leave-comment-form\">
  1024. \t\t\t\t\t\t\t<div class=\"row\">
  1025. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  1026. \t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  1027. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
  1028.         // line 480
  1029.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Name"), "html"nulltrue);
  1030.         yield ":</label>
  1031. \t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"name\" required=\"\"/>
  1032. \t\t\t\t\t\t\t\t\t</div>
  1033. \t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  1034. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
  1035.         // line 484
  1036.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email"), "html"nulltrue);
  1037.         yield ":</label>
  1038. \t\t\t\t\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" required=\"\"/>
  1039. \t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_id\" value=\"";
  1040.         // line 486
  1041.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'486$this->source); })()), "id", [], "any"falsefalsefalse486), "html"nulltrue);
  1042.         yield "\"/>
  1043. \t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_url\" value=\"";
  1044.         // line 487
  1045.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'487$this->source); })()), "url", [], "any"falsefalsefalse487), "html"nulltrue);
  1046.         yield "\"/>
  1047. \t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"locale\" value=\"";
  1048.         // line 488
  1049.         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.'488$this->source); })()), "request", [], "any"falsefalsefalse488), "locale", [], "any"falsefalsefalse488), "html"nulltrue);
  1050.         yield "\"/>
  1051. \t\t\t\t\t\t\t\t\t</div>
  1052. \t\t\t\t\t\t\t\t</div>
  1053. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  1054. \t\t\t\t\t\t\t\t\t<div class=\"form-group form-group-textarea\">
  1055. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
  1056.         // line 493
  1057.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comment"), "html"nulltrue);
  1058.         yield ":</label>
  1059. \t\t\t\t\t\t\t\t\t\t<textarea class=\"form-control\" name=\"comment\" required=\"\"></textarea>
  1060. \t\t\t\t\t\t\t\t\t</div>
  1061. \t\t\t\t\t\t\t\t\t<div class=\"form-group form-inline\">
  1062. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">";
  1063.         // line 497
  1064.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rating"), "html"nulltrue);
  1065.         yield ":</label>
  1066. \t\t\t\t\t\t\t\t\t\t<fieldset class=\"rating rating-md\">
  1067. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar5\" name=\"addreviewrating\" value=\"5\">
  1068. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar5\" title=\"5 stars\"></label>
  1069. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar4\" name=\"addreviewrating\" value=\"4\">
  1070. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar4\" title=\" 4 stars\"></label>
  1071. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar3\" name=\"addreviewrating\" value=\"3\">
  1072. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar3\" title=\"3 stars\"></label>
  1073. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar2\" name=\"addreviewrating\" value=\"2\">
  1074. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar2\" title=\"2 stars\"></label>
  1075. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar1\" name=\"addreviewrating\" value=\"1\">
  1076. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar1\" title=\"1 star\"></label>
  1077. \t\t\t\t\t\t\t\t\t\t</fieldset>
  1078. \t\t\t\t\t\t\t\t\t</div>
  1079. \t\t\t\t\t\t\t\t</div>
  1080. \t\t\t\t\t\t\t</div>
  1081. \t\t\t\t\t\t\t<div class=\"mandatory-text\">
  1082. \t\t\t\t\t\t\t\t<p>";
  1083.         // line 518
  1084.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your email address will not be published."), "html"nulltrue);
  1085.         yield "
  1086. \t\t\t\t\t\t\t\t</p>
  1087. \t\t\t\t\t\t\t\t<p>";
  1088.         // line 520
  1089.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("All fields are mandatory."), "html"nulltrue);
  1090.         yield "</p>
  1091. \t\t\t\t\t\t\t</div>
  1092. \t\t\t\t\t\t\t<div class=\"checkbox-holder d-none\">
  1093. \t\t\t\t\t\t\t\t<input class=\"styled-checkbox\" id=\"notify\" type=\"checkbox\" value=\"notify\" checked>
  1094. \t\t\t\t\t\t\t\t<label for=\"notify\">";
  1095.         // line 525
  1096.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Notify me via e-mail if anyone answers my comment."), "html"nulltrue);
  1097.         yield "</label>
  1098. \t\t\t\t\t\t\t</div>
  1099. \t\t\t\t\t\t\t<span class=\"recaptcha text-danger error-color\"></span>
  1100. \t\t\t\t\t\t\t";
  1101.         // line 528
  1102.         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.'528$this->source); })()), "request", [], "any"falsefalsefalse528), "getSchemeAndHttpHost", [], "method"falsefalsefalse528) == "https://goodyculinaire.com")) {
  1103.             // line 529
  1104.             yield "\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LeRqBEeAAAAAPqLUIzSnAM5EmZrgsPgzf4zLI7P\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
  1105. \t\t\t\t\t\t\t";
  1106.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 530
  1107. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'530$this->source); })()), "request", [], "any"falsefalsefalse530), "getSchemeAndHttpHost", [], "method"falsefalsefalse530) == "https://gfs2.centric.ae")) {
  1108.             // line 531
  1109.             yield "\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LdxNsAgAAAAAKdxceNtgNjH6TlrgstHJ-N-zH6C\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
  1110. \t\t\t\t\t\t\t";
  1111.         } elseif ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 532
  1112. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'532$this->source); })()), "request", [], "any"falsefalsefalse532), "getSchemeAndHttpHost", [], "method"falsefalsefalse532) == "https://goodycs.com")) {
  1113.             // line 533
  1114.             yield "\t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6Le5OcAgAAAAANCPxYj-Tufd8ooE9d92HvhQNyac\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
  1115. \t\t\t\t\t\t\t";
  1116.         }
  1117.         // line 535
  1118.         yield "\t\t\t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  1119. \t\t\t\t\t\t\t<div><span class=\"alert-message text-dark\"></span></div>
  1120. \t\t\t\t\t\t\t<div class=\"btn-holder\">
  1121. \t\t\t\t\t\t\t\t<button class=\"btn btn-custom btn-green\">";
  1122.         // line 538
  1123.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Submit"), "html"nulltrue);
  1124.         yield "</button>
  1125. \t\t\t\t\t\t\t</div>
  1126. \t\t\t\t\t\t</div>
  1127. \t\t\t\t\t</form>
  1128. \t\t\t\t</div>
  1129. \t\t\t\t<!--End Leave Comments-->
  1130. \t\t\t\t<!--Start Comments List-->
  1131. \t\t\t\t<div class=\"comments-list\">
  1132. \t\t\t\t\t<div class=\"row new_div\">
  1133. \t\t\t\t\t\t";
  1134.         // line 550
  1135.         $context["ratingcount"] = 0;
  1136.         // line 551
  1137.         yield "\t\t\t\t\t\t";
  1138.         $context['_parent'] = $context;
  1139.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["review"]) || array_key_exists("review"$context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.'551$this->source); })()));
  1140.         foreach ($context['_seq'] as $context["_key"] => $context["reviews"]) {
  1141.             // line 552
  1142.             yield "\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  1143. \t\t\t\t\t\t\t\t<div class=\"comment-list-box\">
  1144. \t\t\t\t\t\t\t\t\t<div class=\"comment-list-box-header\">
  1145. \t\t\t\t\t\t\t\t\t\t<figure class=\"person-img\">
  1146. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/user-icon-01.png\" alt=\"user icon\">
  1147. \t\t\t\t\t\t\t\t\t\t</figure>
  1148. \t\t\t\t\t\t\t\t\t\t<h5>";
  1149.             // line 558
  1150.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "name", [], "any"falsefalsefalse558), "html"nulltrue);
  1151.             yield "</h5>
  1152. \t\t\t\t\t\t\t\t\t\t<div class=\"rating\">";
  1153.             // line 559
  1154.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "rating", [], "any"falsefalsefalse559), "html"nulltrue);
  1155.             yield "</div>
  1156. \t\t\t\t\t\t\t\t\t</div>
  1157. \t\t\t\t\t\t\t\t\t<p>";
  1158.             // line 561
  1159.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "comment", [], "any"falsefalsefalse561), "html"nulltrue);
  1160.             yield "</p>
  1161. \t\t\t\t\t\t\t\t\t<div class=\"date\">";
  1162.             // line 562
  1163.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "mydate", [], "any"falsefalsefalse562), "html"nulltrue);
  1164.             yield "</div>
  1165. \t\t\t\t\t\t\t\t</div>
  1166. \t\t\t\t\t\t\t</div>
  1167. \t\t\t\t\t\t\t";
  1168.             // line 565
  1169.             if ((CoreExtension::getAttribute($this->env$this->source$context["reviews"], "rating", [], "any"falsefalsefalse565) > 0)) {
  1170.                 // line 566
  1171.                 yield "\t\t\t\t\t\t\t\t";
  1172.                 $context["ratingcount"] = ((isset($context["ratingcount"]) || array_key_exists("ratingcount"$context) ? $context["ratingcount"] : (function () { throw new RuntimeError('Variable "ratingcount" does not exist.'566$this->source); })()) + 1);
  1173.                 // line 567
  1174.                 yield "
  1175. \t\t\t\t\t\t\t";
  1176.             }
  1177.             // line 569
  1178.             yield "\t\t\t\t\t\t";
  1179.         }
  1180.         $_parent $context['_parent'];
  1181.         unset($context['_seq'], $context['_key'], $context['reviews'], $context['_parent']);
  1182.         $context array_intersect_key($context$_parent) + $_parent;
  1183.         // line 570
  1184.         yield "\t\t\t\t\t</div>
  1185. \t\t\t\t\t";
  1186.         // line 571
  1187.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review"$context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.'571$this->source); })())) >= 3)) {
  1188.             // line 572
  1189.             yield "\t\t\t\t\t\t<div class=\"load-more\">
  1190. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline btn-loadX btn-green\" onclick=\"loadMoreRecipeReviews()\" id=\"load-more\">";
  1191.             // line 573
  1192.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Load more"), "html"nulltrue);
  1193.             yield "</a>
  1194. \t\t\t\t\t\t\t<!-- btn-load >> This is the class for showing loader gif -->
  1195. \t\t\t\t\t\t</div>
  1196. \t\t\t\t\t";
  1197.         }
  1198.         // line 577
  1199.         yield "\t\t\t\t</div>
  1200. \t\t\t\t<!--End Comments List-->
  1201. \t\t\t</div>
  1202. \t\t</div>
  1203. \t</section>
  1204. \t<!--Start Wrapper-->
  1205. \t<!--End Wrapper-->
  1206. \t\t<script>
  1207. \t\t\t//console.log(window.location.href)
  1208. \t\t\t\$(\"#submitFormRecipeComment\").submit(function (event) {
  1209. \t\t\tevent.preventDefault();
  1210. \t\t\tvar post_url = \$(this).attr(\"action\"); // get form action url
  1211. \t\t\tvar request_method = \$(this).attr(\"method\"); // get form GET/POST method
  1212. \t\t\t
  1213. \t\t\tform_data = new FormData(this);
  1214. \t\t\t\$.ajax({
  1215. \t\t\turl: post_url,
  1216. \t\t\ttype: request_method,
  1217. \t\t\tdata: form_data,
  1218. \t\t\tcontentType: false,
  1219. \t\t\tcache: false,
  1220. \t\t\tprocessData: false,
  1221. \t\t\tsuccess: function (response) {
  1222. \t\t\tif (response.success == 2) {
  1223. \t\t\t\t\t
  1224. \t\t\tdocument.getElementById('submitFormRecipeComment').reset();
  1225. \t\t
  1226. \t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-success').html('";
  1227.         // line 608
  1228.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Thank you for your feedback."), "html"nulltrue);
  1229.         yield "');
  1230. \t\t\t\$('#submitForm').trigger(\"reset\");
  1231. \t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
  1232. \t\t\t}else if (response.success == 1){
  1233. \t\t\tdocument.getElementById('submitFormRecipeComment').reset();
  1234. \t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-danger').html('";
  1235.         // line 613
  1236.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please check the the captcha form."), "html"nulltrue);
  1237.         yield "');
  1238. \t\t\t\$('#submitForm').trigger(\"reset\");
  1239. \t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
  1240. \t\t\t} else {
  1241. \t\t\tdocument.getElementById('submitFormRecipeComment').reset();
  1242. \t\t\t\$('.alert-message').html('Oops! Please try again something went wrong');
  1243. \t\t\t}
  1244. \t\t\t}
  1245. \t\t\t});
  1246. \t\t\t});
  1247. \t\t// Download and Print Recipe According to serving ingerident quantity srart\t
  1248. \t\t\$(document).ready(function () {
  1249.  \t\t\tvar serving = parseInt(\$('.serving').val(), 10);
  1250. \t\t\t\$(\"a.directions-link\").each(function() {
  1251. \t\t\t\tvar \$this = \$(this);       
  1252. \t\t\t\tconst _href = \$this.attr(\"href\"); 
  1253. \t\t\t \t\$(\"#valuechange\").on('keyup change', function () {
  1254. \t\t\t\t  var countTxt = parseInt(\$('.count').val(), 10);
  1255. \t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+countTxt);
  1256. \t\t\t\t});
  1257. \t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+serving);
  1258. \t\t\t\tconsole.log(countTxt);
  1259.     \t\t});
  1260. \t\t});
  1261. \t\t// Download and Print Recipe According to serving ingerident quantity end\t
  1262. \t\t\t
  1263. \t\t</script>
  1264. \t<!-- End Modal Attribute -->
  1265. \t\t";
  1266.         // line 650
  1267.         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.'650$this->source); })()), "request", [], "any"falsefalsefalse650), "locale", [], "any"falsefalsefalse650) == "ar")) {
  1268.             // line 651
  1269.             yield "\t\t";
  1270.             $context["topMenu"] = ("/en/all-recipes/" CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'651$this->source); })()), "url", ["en"], "method"falsefalsefalse651));
  1271.             // line 652
  1272.             yield "\t";
  1273.         } else {
  1274.             // line 653
  1275.             yield "\t\t";
  1276.             $context["topMenu"] = ("/ar/all-recipes/" CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'653$this->source); })()), "url", ["ar"], "method"falsefalsefalse653));
  1277.             // line 654
  1278.             yield "\t";
  1279.         }
  1280.         // line 655
  1281.         yield "\t<!--End Comments Section-->
  1282. \t
  1283. \t\t<script type=\"text/javascript\">
  1284. \t\t\t\tvar _TopMenuLink = \"";
  1285.         // line 658
  1286.         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.'658$this->source); })()), "html"nulltrue);
  1287.         yield "\";
  1288. \t\t\t\tlet page = 1;
  1289. \t\t\t\tfunction loadMoreRecipeReviews() {
  1290. \t\t\t\tlet add_query = '&';
  1291. \t\t\t\tif (!window.location.search) {
  1292. \t\t\t\tadd_query = '?';
  1293. \t\t\t\t}
  1294. \t\t\t\t\$.ajax({
  1295. \t\t\t\ttype: \"GET\",
  1296. \t\t\t\turl: window.location.href + add_query + 'page=' + page,
  1297. \t\t\t\tdata: '',
  1298. \t\t\t\tcache: false,
  1299. \t\t\t\tbeforeSend: function () {
  1300. \t\t\t\t\$('.btn-loadX').addClass('btn-load');
  1301. \t\t\t\t\$('.btn-loadX').html('Loading...');
  1302. \t\t\t\t},
  1303. \t\t\t\tcomplete: function () {
  1304. \t\t\t\t\$('.btn-loadX').removeClass('btn-load');
  1305. \t\t\t\t\$('.btn-loadX').html('Load more');
  1306. \t\t\t\t},
  1307. \t\t\t\tsuccess: function (data) {
  1308. \t\t\t\tif (data.success) {
  1309. \t\t\t\t\$('.new_div').append(data.success);
  1310. \t\t\t\tpage++;
  1311. \t\t\t\t}
  1312. \t\t\t\tif (data.success == '' || data.total_reviews < 2) {
  1313. \t\t\t\t\$('.btn-loadX').hide();
  1314. \t\t\t\t}
  1315. \t\t\t\t// else if(data.success == ''){
  1316. \t\t\t\t// \$('.btn-loadX').hide();
  1317. \t\t\t\t// }
  1318. \t\t\t\t}
  1319. \t\t\t\t});
  1320. \t\t\t\t}
  1321. \t\t\t\t// function pausemodal(recipeid) {
  1322. \t\t\t\t// console.log(recipeid);
  1323. \t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
  1324. \t\t\t\t// }
  1325. \t\t\t\t// function playany(recipeid) {
  1326. \t\t\t\t// console.log(recipeid);
  1327. \t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
  1328. \t\t\t\t// \$('#videoId'+recipeid).trigger('play');
  1329. \t\t\t\t// }
  1330. \t\t</script>
  1331. \t<!-- This section is used for seo purpose please do not remove any line within this commented section -->
  1332. \t";
  1333.         // line 709
  1334.         $context["schemasteps"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'709$this->source); })()), "steps", [], "any"falsefalsefalse709);
  1335.         // line 710
  1336.         yield "\t<script type=\"application/ld+json\">
  1337. \t\t{
  1338. \t\t\t\"@context\": \"https://schema.org/\", 
  1339. \t\t\t\"@type\": \"Recipe\", 
  1340. \t\t\t\"name\": \"";
  1341.         // line 714
  1342.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'714$this->source); })()), "name", [], "any"falsefalsefalse714), "html"nulltrue);
  1343.         yield "\",
  1344. \t\t";
  1345.         // line 715
  1346.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "featured_image", [], "any"truetruefalse715) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "featured_image", [], "any"falsetruefalse715), "path", [], "any"truetruefalse715))) {
  1347.             // line 716
  1348.             yield "\t\t\t\"image\": \"";
  1349.             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.'716$this->source); })()), "request", [], "any"falsefalsefalse716), "getSchemeAndHttpHost", [], "method"falsefalsefalse716) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'716$this->source); })()), "featured_image", [], "any"falsefalsefalse716), "path", [], "any"falsefalsefalse716)) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'716$this->source); })()), "featured_image", [], "any"falsefalsefalse716), "filename", [], "any"falsefalsefalse716)), "html"nulltrue);
  1350.             yield "\",
  1351. \t\t";
  1352.         }
  1353.         // line 718
  1354.         yield "\t\t\"description\": \"";
  1355.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'718$this->source); })()), "description", [], "any"falsefalsefalse718), "html"nulltrue);
  1356.         yield "\",
  1357. \t\t";
  1358.         // line 719
  1359.         if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'719$this->source); })()), "recipes_schema_markup_keywords", [], "any"falsefalsefalse719))) {
  1360.             // line 720
  1361.             yield "\t\t\t\"keywords\": \"";
  1362.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'720$this->source); })()), "recipes_schema_markup_keywords", [], "any"falsefalsefalse720), "html"nulltrue);
  1363.             yield "\",
  1364. \t\t";
  1365.         }
  1366.         // line 722
  1367.         yield "\t\t\"author\": {
  1368. \t\t\t\t\"@type\": \"Person\",
  1369. \t\t\t\t\"name\": \"";
  1370.         // line 724
  1371.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'724$this->source); })()), "Chef", [], "any"falsefalsefalse724), "html"nulltrue);
  1372.         yield "\"
  1373. \t\t\t\t},
  1374. \t\t\t\t\"datePublished\": \"";
  1375.         // line 726
  1376.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'726$this->source); })()), "modificationDate", [], "any"falsefalsefalse726), "Y-m-d"), "html"nulltrue);
  1377.         yield "\",
  1378. \t\t\t\t\"prepTime\": \"\",
  1379. \t\t\t\t\"cookTime\": \"PT50M\", 
  1380. \t\t\t\t\"totalTime\": \"PT50M\", 
  1381. \t\t\t\t\"recipeCategory\": \"";
  1382.         // line 730
  1383.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'730$this->source); })()), "typeofmeal", [], "any"falsefalsefalse730), "html"nulltrue);
  1384.         yield "\", 
  1385. \t\t\t\t\"recipeCuisine\": \"";
  1386.         // line 731
  1387.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'731$this->source); })()), "cuisine", [], "any"falsefalsefalse731), "html"nulltrue);
  1388.         yield "\", 
  1389. \t\t\t\t\"recipeYield\": \"4\", 
  1390. \t\t\t\"nutrition\": {
  1391. \t\t\t\t\t\"@type\": \"NutritionInformation\",
  1392. \t\t\t\t\t\"calories\": \"\"
  1393. \t\t\t\t}
  1394. \t\t";
  1395.         // line 737
  1396.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "serving_options", [], "any"falsetruefalse737), "Items", [], "any"truetruefalse737)) {
  1397.             yield ",
  1398. \t\t\t\t\"recipeIngredient\": [
  1399. \t\t\t";
  1400.             // line 739
  1401.             $context['_parent'] = $context;
  1402.             $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'739$this->source); })()), "serving_options", [], "any"falsefalsefalse739), "Items", [], "any"falsefalsefalse739)) - 1)));
  1403.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  1404.                 // line 740
  1405.                 yield "\t\t\t\t";
  1406.                 $context['_parent'] = $context;
  1407.                 $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'740$this->source); })()), "serving_options", [], "any"falsefalsefalse740), "Items", [], "any"falsefalsefalse740), $context["i"], [], "array"falsefalsefalse740), "ingredeints", [], "any"falsefalsefalse740)) - 1)));
  1408.                 foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
  1409.                     // line 741
  1410.                     yield "\t\t\t\t\t";
  1411.                     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.'741$this->source); })()), "request", [], "any"falsefalsefalse741), "locale", [], "any"falsefalsefalse741) == "en")) {
  1412.                         // line 742
  1413.                         yield "\t\t\t\t\t\t\"";
  1414.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'742$this->source); })()), "serving_options", [], "any"falsefalsefalse742), "Items", [], "any"falsefalsefalse742), $context["i"], [], "array"falsefalsefalse742), "ingredeints", [], "any"falsefalsefalse742), $context["j"], [], "array"falsefalsefalse742), "ingredient", [], "array"falsefalsefalse742), "data", [], "any"falsefalsefalse742), "html"nulltrue);
  1415.                         yield "
  1416. \t\t\t\t\t\t";
  1417.                         // line 743
  1418.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'743$this->source); })()), "serving_options", [], "any"falsefalsefalse743), "Items", [], "any"falsefalsefalse743), $context["i"], [], "array"falsefalsefalse743), "ingredeints", [], "any"falsefalsefalse743), $context["j"], [], "array"falsefalsefalse743), "multiply", [], "array"falsefalsefalse743), "data", [], "any"falsefalsefalse743), "html"nulltrue);
  1419.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'743$this->source); })()), "serving_options", [], "any"falsefalsefalse743), "Items", [], "any"falsefalsefalse743), $context["i"], [], "array"falsefalsefalse743), "ingredeints", [], "any"falsefalsefalse743), $context["j"], [], "array"falsefalsefalse743), "unit", [], "array"falsefalsefalse743), "data", [], "any"falsefalsefalse743), "html"nulltrue);
  1420.                         yield "\"
  1421. \t\t\t\t\t\t";
  1422.                         // line 744
  1423.                         if (($context["j"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'744$this->source); })()), "serving_options", [], "any"falsefalsefalse744), "Items", [], "any"falsefalsefalse744), $context["i"], [], "array"falsefalsefalse744), "ingredeints", [], "any"falsefalsefalse744)) - 1))) {
  1424.                             yield ",
  1425. \t\t\t\t\t\t";
  1426.                         }
  1427.                         // line 746
  1428.                         yield "\t\t\t\t\t";
  1429.                     } else {
  1430.                         // line 747
  1431.                         yield "\t\t\t\t\t\t\"";
  1432.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'747$this->source); })()), "serving_options", [], "any"falsefalsefalse747), "Items", [], "any"falsefalsefalse747), $context["i"], [], "array"falsefalsefalse747), "ingredeints", [], "any"falsefalsefalse747), $context["j"], [], "array"falsefalsefalse747), "ingredient_ar", [], "array"falsefalsefalse747), "data", [], "any"falsefalsefalse747), "html"nulltrue);
  1433.                         yield "
  1434. \t\t\t\t\t\t";
  1435.                         // line 748
  1436.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'748$this->source); })()), "serving_options", [], "any"falsefalsefalse748), "Items", [], "any"falsefalsefalse748), $context["i"], [], "array"falsefalsefalse748), "ingredeints", [], "any"falsefalsefalse748), $context["j"], [], "array"falsefalsefalse748), "multiply", [], "array"falsefalsefalse748), "data", [], "any"falsefalsefalse748), "html"nulltrue);
  1437.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'748$this->source); })()), "serving_options", [], "any"falsefalsefalse748), "Items", [], "any"falsefalsefalse748), $context["i"], [], "array"falsefalsefalse748), "ingredeints", [], "any"falsefalsefalse748), $context["j"], [], "array"falsefalsefalse748), "unit_ar", [], "array"falsefalsefalse748), "data", [], "any"falsefalsefalse748), "html"nulltrue);
  1438.                         yield "\"
  1439. \t\t\t\t\t\t";
  1440.                         // line 749
  1441.                         if (($context["j"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'749$this->source); })()), "serving_options", [], "any"falsefalsefalse749), "Items", [], "any"falsefalsefalse749), $context["i"], [], "array"falsefalsefalse749), "ingredeints", [], "any"falsefalsefalse749)) - 1))) {
  1442.                             yield ",
  1443. \t\t\t\t\t\t";
  1444.                         }
  1445.                         // line 751
  1446.                         yield "
  1447. \t\t\t\t\t";
  1448.                     }
  1449.                     // line 753
  1450.                     yield "\t\t\t\t";
  1451.                 }
  1452.                 $_parent $context['_parent'];
  1453.                 unset($context['_seq'], $context['_key'], $context['j'], $context['_parent']);
  1454.                 $context array_intersect_key($context$_parent) + $_parent;
  1455.                 // line 754
  1456.                 yield "\t\t\t";
  1457.             }
  1458.             $_parent $context['_parent'];
  1459.             unset($context['_seq'], $context['_key'], $context['i'], $context['_parent']);
  1460.             $context array_intersect_key($context$_parent) + $_parent;
  1461.             // line 755
  1462.             yield "
  1463. \t\t\t]
  1464. \t\t";
  1465.         }
  1466.         // line 758
  1467.         yield "\t\t";
  1468.         if (CoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "steps", [], "any"truetruefalse758)) {
  1469.             yield ",
  1470. \t\t\t\"recipeInstructions\": [
  1471. \t\t\t";
  1472.             // line 760
  1473.             $context['_parent'] = $context;
  1474.             $context['_seq'] = CoreExtension::ensureTraversable(range(0, (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'760$this->source); })()), "steps", [], "any"falsefalsefalse760)) - 1)));
  1475.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  1476.                 yield "{
  1477. \t\t\t\t";
  1478.                 // line 761
  1479.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "steps", [], "any"falsetruefalse761), $context["i"], [], "array"truetruefalse761)) {
  1480.                     // line 762
  1481.                     yield "\t\t\t\t\t\"@type\": \"HowToStep\",
  1482. \t\t\t\t\t\"text\": \"";
  1483.                     // line 763
  1484.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'763$this->source); })()), "steps", [], "any"falsefalsefalse763), $context["i"], [], "array"falsefalsefalse763), "localizedfields", [], "any"falsefalsefalse763), "data", [], "any"falsefalsefalse763), "getLocalizedValue", ["description"], "method"falsefalsefalse763), "html"nulltrue);
  1485.                     yield "\"
  1486. \t\t\t\t\t";
  1487.                 }
  1488.                 // line 765
  1489.                 yield "\t\t\t\t\t}
  1490. \t\t\t\t";
  1491.                 // line 766
  1492.                 if (($context["i"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'766$this->source); })()), "steps", [], "any"falsefalsefalse766)) - 1))) {
  1493.                     yield ",
  1494. \t\t\t\t";
  1495.                 }
  1496.                 // line 768
  1497.                 yield "\t\t\t";
  1498.             }
  1499.             $_parent $context['_parent'];
  1500.             unset($context['_seq'], $context['_key'], $context['i'], $context['_parent']);
  1501.             $context array_intersect_key($context$_parent) + $_parent;
  1502.             yield "]
  1503. \t\t";
  1504.         }
  1505.         // line 769
  1506.         yield ",
  1507. \t\t\t\t\"video\": {
  1508. \t\t\t\t\t\t\t\"@type\": \"VideoObject\",
  1509. \t\t\t\t\t\t\t";
  1510.         // line 772
  1511.         if (array_key_exists("recipedetails"$context)) {
  1512.             // line 773
  1513.             yield "\t\t\t\t\t\t\t\"name\": \"";
  1514.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'773$this->source); })()), "name", [], "any"falsefalsefalse773), "html"nulltrue);
  1515.             yield "\",
  1516. \t\t\t\t\t\t\t\"description\": \"";
  1517.             // line 774
  1518.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'774$this->source); })()), "description", [], "any"falsefalsefalse774), "html"nulltrue);
  1519.             yield "\",
  1520. \t\t\t\t\t\t\t";
  1521.             // line 775
  1522.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "featured_image", [], "any"falsetruefalse775), "path", [], "any"truetruefalse775)) {
  1523.                 // line 776
  1524.                 yield "\t\t\t\t\t\t\t\"thumbnailUrl\": \"";
  1525.                 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.'776$this->source); })()), "request", [], "any"falsefalsefalse776), "getSchemeAndHttpHost", [], "method"falsefalsefalse776) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'776$this->source); })()), "featured_image", [], "any"falsefalsefalse776), "path", [], "any"falsefalsefalse776)) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'776$this->source); })()), "featured_image", [], "any"falsefalsefalse776), "filename", [], "any"falsefalsefalse776)), "html"nulltrue);
  1526.                 yield "\",
  1527. \t\t\t\t\t\t\t";
  1528.             }
  1529.             // line 778
  1530.             yield "\t\t\t\t\t\t\t\"uploadDate\": \"";
  1531.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'778$this->source); })()), "modificationDate", [], "any"falsefalsefalse778), "Y-m-d"), "html"nulltrue);
  1532.             yield "\", 
  1533. \t\t\t\t\t\t\t\"contentUrl\": \"";
  1534.             // line 779
  1535.             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.'779$this->source); })()), "request", [], "any"falsefalsefalse779), "getSchemeAndHttpHost", [], "method"falsefalsefalse779) . "/") . 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.'779$this->source); })()), "request", [], "any"falsefalsefalse779), "locale", [], "any"falsefalsefalse779)) . "/all-recipes/") . CoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'779$this->source); })()), "url", [], "any"falsefalsefalse779)), "html"nulltrue);
  1536.             yield "\",
  1537. \t\t\t\t\t\t\t";
  1538.         }
  1539.         // line 781
  1540.         yield "\t\t";
  1541.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["recipedetails"] ?? null), "detail_video", [], "any"falsetruefalse781), "data", [], "any"truetruefalse781)) {
  1542.             // line 782
  1543.             yield "\t\t\t\"embedUrl\": \"";
  1544.             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.'782$this->source); })()), "request", [], "any"falsefalsefalse782), "getSchemeAndHttpHost", [], "method"falsefalsefalse782) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'782$this->source); })()), "detail_video", [], "any"falsefalsefalse782), "data", [], "any"falsefalsefalse782), "path", [], "any"falsefalsefalse782)) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["recipedetails"]) || array_key_exists("recipedetails"$context) ? $context["recipedetails"] : (function () { throw new RuntimeError('Variable "recipedetails" does not exist.'782$this->source); })()), "detail_video", [], "any"falsefalsefalse782), "data", [], "any"falsefalsefalse782), "filename", [], "any"falsefalsefalse782)), "html"nulltrue);
  1545.             yield "\"
  1546. \t\t";
  1547.         } else {
  1548.             // line 784
  1549.             yield "\t\t\t\"embedUrl\": \"Video not available\"
  1550. \t\t";
  1551.         }
  1552.         // line 786
  1553.         yield "\t\t}
  1554. \t\t";
  1555.         // line 787
  1556.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review"$context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.'787$this->source); })())) > 1)) {
  1557.             // line 788
  1558.             yield "\t\t\t\"aggregateRating\": {
  1559. \t\t\t\t\"@type\": \"AggregateRating\",
  1560. \t\t\t\t\"ratingValue\": \"";
  1561.             // line 790
  1562.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'790$this->source); })()), "html"nulltrue);
  1563.             yield "\",
  1564. \t\t\t\t\"bestRating\": \"5\",
  1565. \t\t\t\t\"worstRating\": \"1\",
  1566. \t\t\t\t\"ratingCount\": \"";
  1567.             // line 793
  1568.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["ratingcount"]) || array_key_exists("ratingcount"$context) ? $context["ratingcount"] : (function () { throw new RuntimeError('Variable "ratingcount" does not exist.'793$this->source); })()), "html"nulltrue);
  1569.             yield "\",
  1570. \t\t\t\t\"reviewCount\": \"";
  1571.             // line 794
  1572.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review"$context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.'794$this->source); })())), "html"nulltrue);
  1573.             yield "\"
  1574. \t\t\t\t\t\t\t\t},
  1575. \t\t\t";
  1576.             // line 796
  1577.             $context['_parent'] = $context;
  1578.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["review"]) || array_key_exists("review"$context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.'796$this->source); })()));
  1579.             foreach ($context['_seq'] as $context["keys"] => $context["reviews"]) {
  1580.                 // line 797
  1581.                 yield "\t\t\t\t\"review\": {
  1582. \t\t\t\t\t\"@type\": \"Review\",
  1583. \t\t\t\t\t\"name\": \"";
  1584.                 // line 799
  1585.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "name", [], "any"falsefalsefalse799), "html"nulltrue);
  1586.                 yield "\",
  1587. \t\t\t\t\t\"reviewBody\": \"";
  1588.                 // line 800
  1589.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "comment", [], "any"falsefalsefalse800), "html"nulltrue);
  1590.                 yield "\",
  1591. \t\t\t\t\t\"reviewRating\": {
  1592. \t\t\t\t\t\t\"@type\": \"Rating\",
  1593. \t\t\t\t\t\t\"ratingValue\": \"";
  1594.                 // line 803
  1595.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "rating", [], "any"falsefalsefalse803), "html"nulltrue);
  1596.                 yield "\",
  1597. \t\t\t\t\t\t\"bestRating\": \"5\",
  1598. \t\t\t\t\t\t\"worstRating\": \"1\"
  1599. \t\t\t\t\t},
  1600. \t\t\t\t\t\"datePublished\": \"";
  1601.                 // line 807
  1602.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "mydate", [], "any"falsefalsefalse807), "html"nulltrue);
  1603.                 yield "\",
  1604. \t\t\t\t\t\"author\": {\"@type\": \"Person\", \"";
  1605.                 // line 808
  1606.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["reviews"], "name", [], "any"falsefalsefalse808), "html"nulltrue);
  1607.                 yield "\": \"man\"},
  1608. \t\t\t\t\t\"publisher\": {\"@type\": \"Organization\", \"name\": \"goody\"}}
  1609. \t\t\t\t";
  1610.                 // line 810
  1611.                 if (($context["keys"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["review"]) || array_key_exists("review"$context) ? $context["review"] : (function () { throw new RuntimeError('Variable "review" does not exist.'810$this->source); })())) - 1))) {
  1612.                     // line 811
  1613.                     yield "\t\t\t\t\t,
  1614. \t\t\t\t";
  1615.                 }
  1616.                 // line 813
  1617.                 yield "\t\t\t";
  1618.             }
  1619.             $_parent $context['_parent'];
  1620.             unset($context['_seq'], $context['keys'], $context['reviews'], $context['_parent']);
  1621.             $context array_intersect_key($context$_parent) + $_parent;
  1622.             // line 814
  1623.             yield "\t\t";
  1624.         }
  1625.         // line 815
  1626.         yield "\t\t}
  1627. \t</script>
  1628. \t<!-- This section is used for seo purpose please do not remove any line within this commented section end  -->
  1629. ";
  1630.         
  1631.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1632.         
  1633.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1634.         yield from [];
  1635.     }
  1636.     /**
  1637.      * @codeCoverageIgnore
  1638.      */
  1639.     public function getTemplateName(): string
  1640.     {
  1641.         return "Recipes/reciepedetails.html.twig";
  1642.     }
  1643.     /**
  1644.      * @codeCoverageIgnore
  1645.      */
  1646.     public function isTraitable(): bool
  1647.     {
  1648.         return false;
  1649.     }
  1650.     /**
  1651.      * @codeCoverageIgnore
  1652.      */
  1653.     public function getDebugInfo(): array
  1654.     {
  1655.         return array (  1696 => 815,  1693 => 814,  1687 => 813,  1683 => 811,  1681 => 810,  1676 => 808,  1672 => 807,  1665 => 803,  1659 => 800,  1655 => 799,  1651 => 797,  1647 => 796,  1642 => 794,  1638 => 793,  1632 => 790,  1628 => 788,  1626 => 787,  1623 => 786,  1619 => 784,  1613 => 782,  1610 => 781,  1605 => 779,  1600 => 778,  1594 => 776,  1592 => 775,  1588 => 774,  1583 => 773,  1581 => 772,  1576 => 769,  1567 => 768,  1562 => 766,  1559 => 765,  1554 => 763,  1551 => 762,  1549 => 761,  1543 => 760,  1537 => 758,  1532 => 755,  1526 => 754,  1520 => 753,  1516 => 751,  1511 => 749,  1506 => 748,  1501 => 747,  1498 => 746,  1493 => 744,  1488 => 743,  1483 => 742,  1480 => 741,  1475 => 740,  1471 => 739,  1466 => 737,  1457 => 731,  1453 => 730,  1446 => 726,  1441 => 724,  1437 => 722,  1431 => 720,  1429 => 719,  1424 => 718,  1418 => 716,  1416 => 715,  1412 => 714,  1406 => 710,  1404 => 709,  1350 => 658,  1345 => 655,  1342 => 654,  1339 => 653,  1336 => 652,  1333 => 651,  1331 => 650,  1291 => 613,  1283 => 608,  1250 => 577,  1243 => 573,  1240 => 572,  1238 => 571,  1235 => 570,  1229 => 569,  1225 => 567,  1222 => 566,  1220 => 565,  1214 => 562,  1210 => 561,  1205 => 559,  1201 => 558,  1193 => 552,  1188 => 551,  1186 => 550,  1171 => 538,  1166 => 535,  1162 => 533,  1160 => 532,  1157 => 531,  1155 => 530,  1152 => 529,  1150 => 528,  1144 => 525,  1136 => 520,  1131 => 518,  1107 => 497,  1100 => 493,  1092 => 488,  1088 => 487,  1084 => 486,  1079 => 484,  1072 => 480,  1061 => 472,  1057 => 471,  1053 => 470,  1042 => 461,  1035 => 456,  1029 => 455,  1021 => 452,  1018 => 451,  1015 => 450,  1010 => 449,  1008 => 448,  1003 => 446,  998 => 443,  996 => 442,  993 => 441,  986 => 436,  973 => 431,  966 => 427,  962 => 426,  958 => 425,  953 => 424,  947 => 420,  942 => 418,  938 => 417,  933 => 414,  929 => 412,  926 => 411,  920 => 409,  917 => 408,  912 => 405,  908 => 403,  904 => 402,  898 => 399,  894 => 397,  892 => 396,  879 => 385,  875 => 383,  869 => 380,  861 => 375,  857 => 374,  853 => 373,  849 => 372,  833 => 359,  829 => 358,  825 => 357,  813 => 347,  803 => 339,  797 => 332,  793 => 331,  781 => 321,  779 => 320,  768 => 311,  765 => 305,  756 => 302,  752 => 301,  749 => 300,  745 => 299,  739 => 296,  735 => 294,  732 => 287,  723 => 284,  720 => 283,  715 => 282,  713 => 281,  709 => 279,  707 => 278,  703 => 276,  691 => 266,  684 => 264,  678 => 263,  671 => 258,  664 => 254,  661 => 253,  651 => 250,  648 => 249,  646 => 248,  639 => 246,  629 => 238,  626 => 237,  624 => 232,  622 => 231,  618 => 230,  613 => 229,  611 => 228,  606 => 226,  601 => 224,  595 => 223,  591 => 221,  583 => 218,  576 => 217,  574 => 216,  569 => 215,  563 => 211,  560 => 210,  552 => 207,  549 => 206,  543 => 202,  540 => 201,  537 => 200,  535 => 199,  529 => 195,  526 => 194,  523 => 193,  520 => 192,  517 => 191,  514 => 190,  511 => 189,  508 => 188,  505 => 187,  503 => 186,  500 => 185,  497 => 184,  493 => 183,  489 => 181,  477 => 175,  472 => 173,  467 => 172,  461 => 170,  459 => 169,  456 => 168,  452 => 166,  448 => 164,  444 => 163,  437 => 160,  433 => 159,  426 => 155,  420 => 152,  414 => 149,  401 => 139,  393 => 136,  391 => 135,  387 => 134,  365 => 116,  362 => 115,  351 => 112,  348 => 111,  346 => 110,  341 => 109,  339 => 108,  332 => 106,  324 => 103,  315 => 96,  307 => 91,  304 => 90,  301 => 89,  297 => 87,  291 => 80,  286 => 79,  283 => 78,  277 => 76,  274 => 75,  272 => 74,  270 => 73,  263 => 68,  258 => 66,  250 => 65,  242 => 64,  234 => 63,  228 => 61,  222 => 58,  214 => 57,  205 => 56,  194 => 47,  186 => 46,  183 => 45,  177 => 43,  164 => 40,  162 => 39,  159 => 38,  156 => 37,  154 => 36,  148 => 33,  144 => 32,  139 => 30,  135 => 29,  130 => 27,  126 => 26,  121 => 25,  118 => 23,  113 => 21,  108 => 20,  106 => 19,  101 => 18,  93 => 11,  90 => 10,  87 => 9,  84 => 8,  81 => 7,  79 => 6,  76 => 5,  63 => 4,  40 => 1,);
  1656.     }
  1657.     public function getSourceContext(): Source
  1658.     {
  1659.         return new Source("{% extends \"layout/layout.html.twig\" %}
  1660. {# {% block title %}GFS::Recipe {{ recipedetails.name}}{% endblock %} #}
  1661. {% block content %}
  1662. \t{% if app.request.locale == 'en' %}
  1663. \t\t{% set weblink ='en' %}
  1664. \t{% else %}
  1665. \t\t{% set weblink ='ar' %}
  1666. \t{% endif %}
  1667. \t<div>
  1668. \t\t<!--Start Recipe Top Download-->
  1669. \t\t<section class=\"info-media media-bg-left recipe-detail-download new-recipe-detail recipe-detail-edited-add\">
  1670. \t\t\t<div class=\"container container-sm\">
  1671. \t\t\t\t<div class=\"mobile_flex\">
  1672. \t\t\t\t<div class=\"info-section recipe-info__puesdo\">
  1673. \t\t\t\t\t{# <h4>The awesome</h4> #}
  1674. \t\t\t\t\t<h1>{{ recipedetails.name}}</h1>
  1675. \t\t\t\t\t{% if recipedetails.Chef %}
  1676. \t\t\t\t\t\t<h6 class=\"resource-name\">{{'by'|trans}}
  1677. \t\t\t\t\t\t\t{{ recipedetails.Chef}}</h6>
  1678. \t\t\t\t\t{% endif %}
  1679. \t\t\t\t\t<ul class=\"list-unstyled recipe-info\">
  1680. \t\t\t\t\t\t{# <li class=\"mins\">{{ recipedetails.time}} {{\"mins\"|trans }}</li> #}
  1681. \t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
  1682. \t\t\t\t\t\t\t{{'Serving'|trans}}
  1683. \t\t\t\t\t\t\t{{ recipedetails.serves}}</li>
  1684. \t\t\t\t\t\t<li class=\"time\">{{ recipedetails.typeofmeal|trans}}</li>
  1685. \t\t\t\t\t\t<li class=\"rating\">{{rating}}</li>
  1686. \t\t\t\t\t</ul>
  1687. \t\t\t\t\t<p>{{recipedetails.description}}</p>
  1688. \t\t\t\t\t<p id=\"content\" class=\"d-none\">{{recipedetails.short_description}}</p>
  1689. \t\t\t\t\t<ul class=\"list-unstyled social-info recipe-info\">
  1690. \t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
  1691. \t\t\t\t\t\t{% if user is not null %}
  1692. \t\t\t\t\t\t\t{% if Liked|length == 0 %}
  1693. \t\t\t\t\t\t\t\t<li class=\"like\" onclick=\"loyaltyProgram(this, {{ recipedetails.id }},'{{ recipedetails.name }}',30,'Recipe','Like' , '{{app.request.locale}}')\">{{'Like'|trans}}</li>
  1694. \t\t\t\t\t\t\t{% else %}
  1695. \t\t\t\t\t\t\t\t<li class=\"liked\">{{'Like'|trans}}</li>
  1696. \t\t\t\t\t\t\t{% endif %}
  1697. \t\t\t\t\t\t\t<li class=\"share recipeshare\" onclick=\"loyaltyProgram(this,{{ recipedetails.id }},'{{ recipedetails.name }}',50,'Recipe','Share', '{{app.request.locale}}')\">
  1698. \t\t\t\t\t\t\t\t<span onclick=\"sharemodal('Recipe','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/all-recipes/' ~ recipedetails.url}}' , '{{ \" share goody recipe with your friends\"|trans }}')\">{{'Share'|trans}}</span>
  1699. \t\t\t\t\t\t\t</li>
  1700. \t\t\t\t\t\t\t{# {% if Shared|length == 0 %}
  1701. \t\t\t\t\t\t\t\t<li class=\"share recipeshare\" onclick = \"loyaltyProgram({{ recipedetails.id }},'{{ recipedetails.name }}',50,'Recipe','Share')\">Share</li>
  1702. \t\t\t\t\t\t\t{% else %}
  1703. \t\t\t\t\t\t\t\t<li class=\"share\">Shared</li>
  1704. \t\t\t\t\t\t\t{% endif %} #}
  1705. \t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"download-blue\" id=\"download\">{{'Download'|trans}}</li></a>
  1706. \t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"print-blue\" id=\"pdfprnt\">{{'Print'|trans}}</li></a>
  1707. \t\t\t\t\t\t\t<li class=\"menu-blue d-none\">{{'Add To Menu'|trans}}</li>
  1708. \t\t\t\t\t\t{% else %}
  1709. \t\t\t\t\t\t\t<li class=\"like logged-out\">{{'Like'|trans}}</li>
  1710. \t\t\t\t\t\t\t<li class=\"share\" onclick=\"sharemodal('Recipe','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/all-recipes/' ~ recipedetails.url}}' , '{{ \" share goody recipe with your friends\"|trans }}')\">{{'Share'|trans}}</li></a>
  1711. \t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"download-blue\" id=\"download\">{{'Download'|trans}}</li></a>
  1712. \t\t\t\t\t\t\t<a class=\"d-flex directions-link\" target=\"_blank\" href =\"/{{app.request.locale}}/print/recipe/{{recipedetails.url}}\"><li class=\"print-blue\" id=\"pdfprnt\">{{'Print'|trans}}</li></a>
  1713. \t\t\t\t\t\t\t<li class=\"menu-blue d-none\">{{'Add To Menu'|trans}}</li>
  1714. \t\t\t\t\t\t{% endif %}
  1715. \t\t\t\t\t</ul>
  1716. \t\t\t\t</div>
  1717. \t\t\t\t<div class=\"media-section media-section-01\">
  1718. \t\t\t\t\t{% if recipedetails.banner_video is empty %}
  1719. \t\t\t\t\t\t{# <img src=\"{{recipedetails.featured_image}}\" alt=\"{{recipedetails.name}}\"> #}
  1720. \t\t\t\t\t\t{% if recipedetails.featured_image %}
  1721. \t\t\t\t\t\t{{ recipedetails.featured_image.thumbnail('858x592').getHTML({imgAttributes: {class:'',alt:\"Feature Image\" }})|raw }}
  1722. \t\t\t\t\t\t{% endif %}
  1723. \t\t\t\t\t{% else %}
  1724. \t\t\t\t\t\t<video poster=\"{{ recipedetails.featured_image }}\" playsinline preload=\"auto\" loop=\"true\" autoplay=\"true\" muted=\"true\" controlslist=\"nodownload\">
  1725. \t\t\t\t\t\t\t<source src=\"{{ recipedetails.banner_video.data}}\" type=\"video/mp4\">
  1726. \t\t\t\t\t\t\tYour browser does not support the video tag.
  1727. \t\t\t\t\t\t</video>
  1728. \t\t\t\t\t\t{# <div class=\"control-options\">
  1729. \t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  1730. \t\t\t\t\t\t<i class=\"fas fa-pause-circle\"></i>
  1731. \t\t\t\t\t\t</div> #}
  1732. \t\t\t\t\t{% endif %}
  1733. \t\t\t\t\t{% if recipedetails.detail_video is not empty %}
  1734. \t\t\t\t\t\t<div class=\"btn-holder\">
  1735. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary\" data-toggle=\"modal\" data-target=\"#recipevideomodal\">{{'Watch Full Video'|trans}}
  1736. \t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  1737. \t\t\t\t\t\t\t</a>
  1738. \t\t\t\t\t\t</div>
  1739. \t\t\t\t\t{% endif %}
  1740. \t\t\t\t</div>
  1741. \t\t\t</div>
  1742. \t\t\t\t
  1743. \t\t\t\t<!--Start Breadcrumbs-->
  1744. \t\t\t\t<div class=\"breadcrumb-holder breadcrumb-fixed\">
  1745. \t\t\t\t\t<ol class=\"breadcrumb\">
  1746. \t\t\t\t\t\t<li class=\"breadcrumb-item\">
  1747. \t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}\">{{ \"Home\"|trans }}</a>
  1748. \t\t\t\t\t\t</li>
  1749. \t\t\t\t\t\t<li class=\"breadcrumb-item\">
  1750. \t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/recipes\">{{ \"recipes\"|trans }}</a>
  1751. \t\t\t\t\t\t</li>
  1752. \t\t\t\t\t\t{% if recipedetails.category|length > 0 %}
  1753. \t\t\t\t\t\t\t{% for Category in recipedetails.category %}
  1754. \t\t\t\t\t\t\t\t{# {% set usp = \"#{recipedetails.cuisine}\"|raw|upper %} #}
  1755. \t\t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  1756. \t\t\t\t\t\t\t\t\t<a href=\"/en/recipes/{{Category.cat_url}}\">{{Category.recipecategoryname}}</a>
  1757. \t\t\t\t\t\t\t\t</li>
  1758. \t\t\t\t\t\t\t{% endfor %}
  1759. \t\t\t\t\t\t{% endif %}
  1760. \t\t\t\t\t\t<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ recipedetails.name}}</li>
  1761. \t\t\t\t\t</ol>
  1762. \t\t\t\t</div>
  1763. \t\t\t\t<!--End Breadcrumbs-->
  1764. \t\t\t</div>
  1765. \t\t</section>
  1766. \t\t<!--End Recipe Top Download-->
  1767. \t\t<!--Start Ingredients and Instructions-->
  1768. \t\t<section class=\"cooking-tabs\">
  1769. \t\t\t<div
  1770. \t\t\t\tclass=\"container container-sm\">
  1771. \t\t\t\t<!--Start Tab Titles-->
  1772. \t\t\t\t<ul class=\"row nav nav-pills\" id=\"cooking-tab\" role=\"tablist\">
  1773. \t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
  1774. \t\t\t\t\t\t<a class=\"nav-link sub-sm-heading active\" id=\"ingredients-tab\" data-toggle=\"pill\" href=\"#ingredients\" role=\"tab\" aria-controls=\"ingredients\" aria-selected=\"true\">{{\"Ingredients\"|trans }}
  1775. \t\t\t\t\t\t\t{% if recipedetails.Serving_options.items[0].ingredeints is defined  %}
  1776. \t\t\t\t\t\t\t{{ recipedetails.Serving_options.items[0].ingredeints|length }}{% endif %}</a>
  1777. \t\t\t\t\t</li>
  1778. \t\t\t\t\t<li class=\"col-md-6 col-xl-6 nav-item\" role=\"presentation\">
  1779. \t\t\t\t\t\t<a class=\"nav-link sub-sm-heading\" id=\"instruction-tab\" data-toggle=\"pill\" href=\"#instruction\" role=\"tab\" aria-controls=\"instruction\" aria-selected=\"false\">{{\"Instructions\"|trans }}</a>
  1780. \t\t\t\t\t</li>
  1781. \t\t\t\t</ul>
  1782. \t\t\t\t<!--End Tab Titles-->
  1783. \t\t\t\t<!--Start Tab Content-->
  1784. \t\t\t\t<div class=\"row tab-content\" id=\"cooking-tabContent\">
  1785. \t\t\t\t\t\t\t
  1786. \t\t\t\t\t<!--Start Ingredients Tab Content-->
  1787. \t\t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade show active\" id=\"ingredients\" role=\"tabpanel\" aria-labelledby=\"ingredients-tab\"> <div class=\"order-count\">
  1788. \t\t\t\t\t\t\t<div class=\"order-count-title\">{{\"Order's\"|trans}}</div>
  1789. \t\t\t\t\t\t\t<div class=\"order-count-number\">
  1790. \t\t\t\t\t\t\t\t<span class=\"minus\" id=\"minusx\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
  1791. \t\t\t\t\t\t\t\t<input class=\"count numeric-remove-spiner\" onkeypress='return event.charCode >= 48 && event.charCode <= 57' id=\"valuechange\" type=\"number\" value=\"{{ recipedetails.serves}}\"/>
  1792. \t\t\t\t\t\t\t\t<span class=\"plus\" id=\"plusx\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
  1793. \t\t\t\t\t\t\t</div>
  1794. \t\t\t\t\t\t\t<input class=\"serving d-none\" type=\"text\" value=\"{{ recipedetails.serves}}\"/>
  1795. \t\t\t\t\t\t</div>
  1796. \t\t\t\t\t\t<div class=\"ingredients-holders\">
  1797. \t\t\t\t\t\t\t
  1798. \t\t\t\t\t\t\t\t\t{% for ingrident in recipedetails.serving_options %}
  1799. \t\t\t\t\t\t\t\t\t<h4 class=\"title\">{{ (app.request.locale =='en') ? ingrident.serve:ingrident.serve_ar}}</h4>
  1800. \t\t\t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
  1801. \t\t\t\t\t\t\t\t\t\t
  1802.                 \t\t\t\t\t\t{% for ing in ingrident.ingredeints %}
  1803. \t\t\t\t\t\t\t\t\t\t\t
  1804. \t\t\t\t\t\t\t\t\t\t\t<li>
  1805. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"name capsfirstleter\">{{  (app.request.locale =='en') ? ing.ingredient.data : ing.ingredient_ar.data }}</span>
  1806. \t\t\t\t\t\t\t\t\t\t\t\t{# <span class=\"measurement\">{% if ingredeints[i+1]['ingredeints'][j]['multiply'].data != 0 %} {{ ingredeints[i+1]['ingredeints'][j]['multiply'].data * recipedetails.serves }}{% endif %}{{ (app.request.locale =='en') ? ingredeints[i+1]['ingredeints'][j]['unit'].data : ingredeints[i+1]['ingredeints'][j]['unit_ar'].data }}</span> #}
  1807. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"measurement\">
  1808. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if ing.multiply.data != 0 %}
  1809. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ ing.multiply.data  }}
  1810. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1811. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ (app.request.locale =='en') ? ing.unit.data:ing.unit_ar.data }}</span>
  1812. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"new d-none\">{{ ing.multiply.data}}
  1813. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  1814. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"unit d-none\">{{ (app.request.locale =='en') ? ing.unit.data:ing.unit_ar.data }}
  1815. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  1816. \t\t\t\t\t\t\t\t\t\t\t</li>
  1817. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  1818. \t\t\t\t\t\t\t\t\t
  1819. \t\t\t\t\t\t\t\t\t\t{% for recipe_feature_product in ingrident.recipe_feature_product %}
  1820. \t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product is defined  %}
  1821. \t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.brands.id == 263 %}
  1822. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-brown\" %}
  1823. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif recipe_feature_product.brands.id == 262 %}
  1824. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-blue\" %}
  1825. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif recipe_feature_product.brands.id == 413 %}
  1826. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-purple\" %}
  1827. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1828. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set class = \"slide-img-bg-green\" %}
  1829. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1830. \t\t\t\t\t\t\t\t\t\t\t\t<li class=\"product-available-box\">
  1831. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"product-box product-box-horizon\">
  1832. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUserName') %}
  1833. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}
  1834. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.id in Liked_Recipe_feature_product_Ids %}
  1835. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  1836. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/Liked-01.svg\" alt=\"Liked\"></a>
  1837. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1838. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1839. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like\">
  1840. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" onclick=\"loyaltyProgram(this,{{ recipe_feature_product.id }},'{{ recipe_feature_product.name }}',30,'Product','Like')\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
  1841. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1842. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1843. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1844. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"like logged-out\">
  1845. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\"><img src=\"/static/assets/images/like.svg\" alt=\"Like\"></a>
  1846. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1847. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1848. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img {{class}}\">
  1849. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.attrimage.Items[0] is defined %}
  1850. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{recipe_feature_product.url}}\">
  1851. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{recipe_feature_product.attrimage.Items[0]}}\" alt=\"{{recipe_feature_product.name}}\">
  1852. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  1853. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1854. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</figure>
  1855. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide-info\">
  1856. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/{{app.request.locale}}/product/{{recipe_feature_product.url}}\">
  1857. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5 class=\"title\">{{recipe_feature_product.name}}</h5>
  1858. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  1859. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"kg\">{{recipe_feature_product.size}}</div>
  1860. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"inline-info\">
  1861. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if recipe_feature_product.region[0]['price'].data is defined %}
  1862. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"price d-none\">{{recipe_feature_product.region[0]['price'].data}}
  1863. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{recipe_feature_product.region[0]['currency_symbol'].data|trans}}</div>
  1864. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set points =   (((recipe_feature_product.region[0]['price'].data)/100)*10)|round %}
  1865. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <div class=\"award\">
  1866. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1867. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Earn'|trans}}
  1868. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{points}}
  1869. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{'Rewards Points'|trans}}</div> #}
  1870. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1871. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1872. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count small-count\">
  1873. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-count-number\">
  1874. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"minus\"><img src=\"/static/assets/images/icon-minus.svg\" alt=\"icon minus\"></span>
  1875. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"count\" id=\"fig\" type=\"text\" value=\"1\"/>
  1876. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"plus\"><img src=\"/static/assets/images/icon-plus.svg\" alt=\"icon plus\"></span>
  1877. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1878. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary add-to-cart-rcp\" onclick=\"addCart(this, {{recipe_feature_product.id}}, 1)\">{{'Add to Cart'|trans}}</a>
  1879. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1880. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if app.session.get('loginUserName') is not null %}
  1881. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
  1882. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline\" onclick=\"inventoryProgram(this,{{points}},{{recipe_feature_product.id}})\">{{'Add to Inventory'|trans}}</a>
  1883. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1884. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1885. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"btn-holder d-none\">
  1886. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-p-outline recipe-logged-out\">{{'Add to Inventory'|trans}}</a>
  1887. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1888. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"recipe-inventry-alert\"></div>
  1889. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1890. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1891. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1892. \t\t\t\t\t\t\t\t\t\t\t\t</li>
  1893. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1894. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  1895. \t\t\t\t\t\t\t\t\t</ul>
  1896. \t\t\t\t\t\t\t\t{% endfor %}
  1897. \t\t\t\t\t\t</div>
  1898. \t\t\t\t\t</div>
  1899. \t\t\t\t\t<!--End Ingredients Tab Content-->
  1900. \t\t\t\t\t<!--Start Instruction Tab Content-->
  1901. \t\t\t\t\t<div class=\"col-md-6 col-xl-6 tab-pane fade\" id=\"instruction\" role=\"tabpanel\" aria-labelledby=\"instruction-tab\">
  1902. \t\t\t\t\t\t<div class=\"instructions-holder\">
  1903. \t\t\t\t\t\t\t<h5 class=\"title\">
  1904. \t\t\t\t\t\t\t\t{{'intruction_desc'|trans}}
  1905. \t\t\t\t\t\t\t{# {{'Instructions_desc'|trans}} #}
  1906. \t\t\t\t\t\t\t\t{# {{recipedetails.instructions}} #}
  1907. \t\t\t\t\t\t\t</h5>
  1908. \t\t\t\t\t\t\t<ul class=\"list-unstyled content-list\">
  1909. \t\t\t\t\t\t\t\t{% set step = recipedetails.steps    %}
  1910. \t\t\t\t\t\t\t\t{% for steps in step   %}
  1911. \t\t\t\t\t\t\t\t\t<li>
  1912. \t\t\t\t\t\t\t\t\t\t{{ steps.localizedfields.data.getLocalizedValue('description')}}</li>
  1913. \t\t\t\t\t\t\t\t{% endfor %}
  1914. \t\t\t\t\t\t\t</ul>
  1915. \t\t\t\t\t\t\t{# {% if recipedetails.detail_video is not empty %}
  1916. \t\t\t\t\t\t\t<div class=\"btn-holder\">
  1917. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-primary\" data-toggle=\"modal\" data-target=\"#recipevideomodal\">Watch Video <i
  1918. \t\t\t\t\t\t\t\tclass=\"fas fa-play-circle\"></i></a>
  1919. \t\t\t\t\t\t\t</div>
  1920. \t\t\t\t\t\t\t{% endif %} #}
  1921. \t\t\t\t\t\t</div>
  1922. \t\t\t\t\t\t<div class=\"special-notes\">
  1923. \t\t\t\t\t\t\t<h3 class=\"title\">{{'Special Notes:'|trans}}</h3>
  1924. \t\t\t\t\t\t\t<ul class=\"list-unstyled notes-list\">
  1925. \t\t\t\t\t\t\t\t{% for special_notes in recipedetails.note_list   %}
  1926. \t\t\t\t\t\t\t\t\t<li>
  1927. \t\t\t\t\t\t\t\t\t\t<strong>{{ special_notes.bold_tag.data}}:</strong>
  1928. \t\t\t\t\t\t\t\t\t\t{{  special_notes.special_note.data}}
  1929. \t\t\t\t\t\t\t\t\t</li>
  1930. \t\t\t\t\t\t\t\t{% endfor %}
  1931. \t\t\t\t\t\t\t\t{# <li><strong>Bone attachment:</strong> In order for the meat to be fork tender, it needs to be cooked far
  1932. \t\t\t\t\t\t\t\t\tenough so that
  1933. \t\t\t\t\t\t\t\t\tthe connective tissue holding the meat to the bone becomes tender. So the meat is not really attached.
  1934. \t\t\t\t\t\t\t\t\tBut if you handle it carefully, it stays together.
  1935. \t\t\t\t\t\t\t\t</li> #}
  1936. \t\t\t\t\t\t\t</ul>
  1937. \t\t\t\t\t\t</div>
  1938. \t\t\t\t\t</div>
  1939. \t\t\t\t\t<!--End Instruction Tab Content-->
  1940. \t\t\t\t</div>
  1941. \t\t\t\t<!--End Tab Content-->
  1942. \t\t\t</div>
  1943. \t\t</section>
  1944. \t</div>
  1945. \t{% if recipedetails.detail_video is not empty %}
  1946. \t\t<!-- Start video modal -->
  1947. \t\t<div class=\"modal fade video-modal\" id=\"recipevideomodal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"recipevideomodal\" aria-hidden=\"true\" data-backdrop=\"static\">
  1948. \t\t\t<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1949. \t\t\t\t<div class=\"modal-content\">
  1950. \t\t\t\t\t<div class=\"video-modal-box\">
  1951. \t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  1952. \t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>
  1953. \t\t\t\t\t\t</button>
  1954. \t\t\t\t\t\t<div class=\"video-modal-box-media\">
  1955. \t\t\t\t\t\t\t<figure class=\"video-modal-box-media-figure\">
  1956. \t\t\t\t\t\t\t\t<video poster=\"{{ recipedetails.featured_image}}\" controls playsinline preload=\"auto\" loop=\"false\" controlslist=\"nodownload\" id=\"videoId\">
  1957. \t\t\t\t\t\t\t\t\t<source src=\"{{ recipedetails.detail_video.data}}\" type=\"video/mp4\">
  1958. \t\t\t\t\t\t\t\t\tYour browser does not support the video tag.
  1959. \t\t\t\t\t\t\t\t</video>
  1960. \t\t\t\t\t\t\t\t{# <div class=\"control-options\">
  1961. \t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  1962. \t\t\t\t\t\t\t\t\t<i class=\"fas fa-pause-circle\"></i>
  1963. \t\t\t\t\t\t\t\t\t</div> #}
  1964. \t\t\t\t\t\t\t</figure>
  1965. \t\t\t\t\t\t</div>
  1966. \t\t\t\t\t</div>
  1967. \t\t\t\t</div>
  1968. \t\t\t</div>
  1969. \t\t</div>
  1970. \t\t<!-- End video modal -->
  1971. \t{% endif %}
  1972. \t<!--Start Ingredients and Instructions-->
  1973. \t<!--Start Instagram Section-->
  1974. \t<section class=\"social-holder\">
  1975. \t\t<div class=\"container container-sm\">
  1976. \t\t\t<div class=\"social-holder-box rcpe-detail\">
  1977. \t\t\t\t<div class=\"social-holder-img\">
  1978. \t\t\t\t\t<img src=\"/static/assets/images/insta-pic.jpg\" alt=\"insta pic\">
  1979. \t\t\t\t</div>
  1980. \t\t\t\t<div class=\"social-holder-info\">
  1981. \t\t\t\t\t<h5>{{'DID YOU MAKE THIS RECIPE?'|trans}}</h5>
  1982. \t\t\t\t\t<p>{{'We love hearing how you went with this recipes!'|trans}}</p>
  1983. \t\t\t\t\t<p>{{'Tag us on Instagram at'|trans}}
  1984. \t\t\t\t\t\t<a href=\"https://www.instagram.com/goodyculinarysolutions/\" target=\"_blank\">@goody_professional_solutions</a>
  1985. \t\t\t\t\t</p>
  1986. \t\t\t\t</div>
  1987. \t\t\t</div>
  1988. \t\t</div>
  1989. \t</section>
  1990. \t<!--End Instagram Section-->
  1991. \t<!--Start Menu Builder Tool-->
  1992. \t<section class=\"info-media loyalty-program menu-builder-tool loyalty-program-inner\">
  1993. \t\t<div class=\"container container-sm\">
  1994. \t\t\t<div class=\"info-section\">
  1995. \t\t\t\t<h5>{{'Tools for you'|trans}}</h5>
  1996. \t\t\t\t<h4>{{'Get the right menu'|trans}}</h4>
  1997. \t\t\t\t<h3>{{'ideas and right cost'|trans}}</h3>
  1998. \t\t\t\t<p>{{'Make your menu options more profitable.'|trans}}</p>
  1999. \t\t\t\t<div class=\"btn-holder\">
  2000. \t\t\t\t\t<div class=\"newsletter-subscribe \">
  2001. \t\t\t\t\t\t<h4 class=\"cstsmLP\">\"{{'Coming Soon'|trans}}\"</h4>
  2002. \t\t\t\t\t</div>
  2003. \t\t\t\t\t<div class=\"btn-border d-none\">
  2004. \t\t\t\t\t\t<a href=\"javascript:void(0);\" class=\"btn btn-custom btn-lg-o-black\">{{'Coming soon'|trans}}</a>
  2005. \t\t\t\t\t\t{# <a href=\"/{{app.request.locale}}\" class=\"btn btn-custom btn-lg-o-white\">Discover More</a> #}
  2006. \t\t\t\t\t</div>
  2007. \t\t\t\t</div>
  2008. \t\t\t</div>
  2009. \t\t\t<div class=\"media-section media-shadow\">
  2010. \t\t\t\t<img src=\"/static/assets/images/Recipe_Menu_Builder_875x550.jpg\" alt=\"Recipe Menu Builder\">
  2011. \t\t\t</div>
  2012. \t\t</div>
  2013. \t</section>
  2014. \t<!--End Menu Builder Tool-->
  2015. \t<!--Start Similar Recipes Section-->
  2016. \t{% if similar_recipes|length > 0 %}
  2017. \t\t<section class=\"featured-recipes-section inner-featured-recipe similar-recipes recipe-detail-similer\">
  2018. \t\t\t<div class=\"container container-sm\">
  2019. \t\t\t\t<h2 class=\"heading\">{{\"Similar-Recipes\"|trans }}</h2>
  2020. \t\t\t\t<div class=\"featured-recipes\">
  2021. \t\t\t\t\t<div class=\"featured-recipes-slider\">
  2022. \t\t\t\t\t\t{% for Similar_recipes in similar_recipes %}
  2023. \t\t\t\t\t\t\t<div class=\"slide\">
  2024. \t\t\t\t\t\t\t\t<div class=\"slide-holder\">
  2025. \t\t\t\t\t\t\t\t\t<a href=\"{{ Similar_recipes.url}}\" tabindex=\"0\">
  2026. \t\t\t\t\t\t\t\t\t\t<figure class=\"slide-img\">
  2027. \t\t\t\t\t\t\t\t\t\t\t{# <img src=\"{{Similar_recipes.featured_image}}\" alt=\"{{ Similar_recipes.name }}\"> #}
  2028. \t\t\t\t\t\t\t\t\t\t\t{% if Similar_recipes.featured_image %}
  2029. \t\t\t\t\t\t\t\t\t\t\t{{ Similar_recipes.featured_image.thumbnail('354x244').getHTML({imgAttributes: {class:'',alt: Similar_recipes.name }})|raw }}
  2030. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  2031. \t\t\t\t\t\t\t\t\t\t\t{% if Similar_recipes.banner_video %}
  2032. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-play-circle\"></i>
  2033. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  2034. \t\t\t\t\t\t\t\t\t\t</figure>
  2035. \t\t\t\t\t\t\t\t\t</a>
  2036. \t\t\t\t\t\t\t\t\t<div class=\"slide-content\">
  2037. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ Similar_recipes.url}}\" tabindex=\"0\">
  2038. \t\t\t\t\t\t\t\t\t\t\t<h3>{{ Similar_recipes.name }}</h3>
  2039. \t\t\t\t\t\t\t\t\t\t</a>
  2040. \t\t\t\t\t\t\t\t\t\t<p>{{ Similar_recipes.short_description }}</p>
  2041. \t\t\t\t\t\t\t\t\t\t<ul
  2042. \t\t\t\t\t\t\t\t\t\t\tclass=\"list-unstyled recipe-info\">
  2043. \t\t\t\t\t\t\t\t\t\t\t{# <li class=\"mins\">{{ Similar_recipes.time }} {{\"mins\"|trans }}</li> #}
  2044. \t\t\t\t\t\t\t\t\t\t\t<li class=\"orders\">{{'No. Of'|trans}}
  2045. \t\t\t\t\t\t\t\t\t\t\t\t{{'Serving'|trans}}
  2046. \t\t\t\t\t\t\t\t\t\t\t\t{{ Similar_recipes.serves }}</li>
  2047. \t\t\t\t\t\t\t\t\t\t\t<li class=\"time\">{{ Similar_recipes.typeofmeal|trans }}</li>
  2048. \t\t\t\t\t\t\t\t\t\t</ul>
  2049. \t\t\t\t\t\t\t\t\t</div>
  2050. \t\t\t\t\t\t\t\t\t<div class=\"btn-holder\">
  2051. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ Similar_recipes.url}}\" class=\"btn btn-custom btn-primary\" tabindex=\"0\">{{'View Recipe'|trans}}</a>
  2052. \t\t\t\t\t\t\t\t\t</div>
  2053. \t\t\t\t\t\t\t\t</div>
  2054. \t\t\t\t\t\t\t</div>
  2055. \t\t\t\t\t\t{% endfor %}
  2056. \t\t\t\t\t</div>
  2057. \t\t\t\t</div>
  2058. \t\t\t</div>
  2059. \t\t</section>
  2060. \t{% endif %}
  2061. \t<!--End Similar Recipes Section-->
  2062. {% if recipedetails.tags|length > 0 %}
  2063. \t<!--Start Tag Section-->
  2064. \t<section class=\"tag-section\">
  2065. \t\t<div class=\"container container-sm\">
  2066. \t\t\t<h2 class=\"heading\">{{'Tags'|trans}}</h2>
  2067. \t\t\t<ul class=\"list-unstyled tag-list\">
  2068. \t\t\t\t{% set count = recipedetails.tags %}
  2069. \t\t\t\t{% for j in 0..count|length -1 %}
  2070. \t\t\t\t\t{% if count|length > 0 %}
  2071. \t\t\t\t\t\t<li>
  2072. \t\t\t\t\t\t\t<a href=\"/en/searchrecipe?tag_id={{recipedetails.tags[j].id}}\">{{recipedetails.tags[j].tag_name}}</a>
  2073. \t\t\t\t\t\t</li>
  2074. \t\t\t\t\t{% endif %}
  2075. \t\t\t\t{% endfor %}
  2076. \t\t\t</ul>
  2077. \t\t</div>
  2078. \t</section>
  2079. \t<!--End Tag Section-->
  2080. \t{% endif %}
  2081. \t<!--Start Comments Section-->
  2082. \t<section class=\"comment-section\">
  2083. \t\t<div class=\"container container-sm\">
  2084. \t\t\t<div
  2085. \t\t\t\tclass=\"comment-section-box\">
  2086. \t\t\t\t<!--Start Leave Comments-->
  2087. \t\t\t\t<div class=\"leave-comment\">
  2088. \t\t\t\t\t<div class=\"leave-comment-header\">
  2089. \t\t\t\t\t\t<h5>{{'Leave a Comment'|trans}}</h5>
  2090. \t\t\t\t\t\t<p>{{'Cooked this recipe? Comment and rate this recipe!'|trans}}</p>
  2091. \t\t\t\t\t\t<p>{{'Earn reward points for your interaction.'|trans}}</p>
  2092. \t\t\t\t\t</div>
  2093. \t\t\t\t\t<form action=\"/review\" method=\"post\" id = \"submitFormRecipeComment\">
  2094. \t\t\t\t\t\t<div class=\"custom-form leave-comment-form\">
  2095. \t\t\t\t\t\t\t<div class=\"row\">
  2096. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  2097. \t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  2098. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Name'|trans}}:</label>
  2099. \t\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"name\" required=\"\"/>
  2100. \t\t\t\t\t\t\t\t\t</div>
  2101. \t\t\t\t\t\t\t\t\t<div class=\"form-group\">
  2102. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Email'|trans}}:</label>
  2103. \t\t\t\t\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" name=\"email\" required=\"\"/>
  2104. \t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_id\" value=\"{{ recipedetails.id}}\"/>
  2105. \t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"recipe_url\" value=\"{{ recipedetails.url}}\"/>
  2106. \t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" class=\"form-control\" name=\"locale\" value=\"{{ app.request.locale}}\"/>
  2107. \t\t\t\t\t\t\t\t\t</div>
  2108. \t\t\t\t\t\t\t\t</div>
  2109. \t\t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  2110. \t\t\t\t\t\t\t\t\t<div class=\"form-group form-group-textarea\">
  2111. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Comment'|trans}}:</label>
  2112. \t\t\t\t\t\t\t\t\t\t<textarea class=\"form-control\" name=\"comment\" required=\"\"></textarea>
  2113. \t\t\t\t\t\t\t\t\t</div>
  2114. \t\t\t\t\t\t\t\t\t<div class=\"form-group form-inline\">
  2115. \t\t\t\t\t\t\t\t\t\t<label class=\"custom-label\">{{'Rating'|trans}}:</label>
  2116. \t\t\t\t\t\t\t\t\t\t<fieldset class=\"rating rating-md\">
  2117. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar5\" name=\"addreviewrating\" value=\"5\">
  2118. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar5\" title=\"5 stars\"></label>
  2119. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar4\" name=\"addreviewrating\" value=\"4\">
  2120. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar4\" title=\" 4 stars\"></label>
  2121. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar3\" name=\"addreviewrating\" value=\"3\">
  2122. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar3\" title=\"3 stars\"></label>
  2123. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar2\" name=\"addreviewrating\" value=\"2\">
  2124. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar2\" title=\"2 stars\"></label>
  2125. \t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" id=\"addreviewstar1\" name=\"addreviewrating\" value=\"1\">
  2126. \t\t\t\t\t\t\t\t\t\t\t<label class=\"full\" for=\"addreviewstar1\" title=\"1 star\"></label>
  2127. \t\t\t\t\t\t\t\t\t\t</fieldset>
  2128. \t\t\t\t\t\t\t\t\t</div>
  2129. \t\t\t\t\t\t\t\t</div>
  2130. \t\t\t\t\t\t\t</div>
  2131. \t\t\t\t\t\t\t<div class=\"mandatory-text\">
  2132. \t\t\t\t\t\t\t\t<p>{{'Your email address will not be published.'|trans}}
  2133. \t\t\t\t\t\t\t\t</p>
  2134. \t\t\t\t\t\t\t\t<p>{{'All fields are mandatory.'|trans}}</p>
  2135. \t\t\t\t\t\t\t</div>
  2136. \t\t\t\t\t\t\t<div class=\"checkbox-holder d-none\">
  2137. \t\t\t\t\t\t\t\t<input class=\"styled-checkbox\" id=\"notify\" type=\"checkbox\" value=\"notify\" checked>
  2138. \t\t\t\t\t\t\t\t<label for=\"notify\">{{'Notify me via e-mail if anyone answers my comment.'|trans}}</label>
  2139. \t\t\t\t\t\t\t</div>
  2140. \t\t\t\t\t\t\t<span class=\"recaptcha text-danger error-color\"></span>
  2141. \t\t\t\t\t\t\t{% if app.request.getSchemeAndHttpHost() == \"https://goodyculinaire.com\" %}
  2142. \t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LeRqBEeAAAAAPqLUIzSnAM5EmZrgsPgzf4zLI7P\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
  2143. \t\t\t\t\t\t\t{% elseif app.request.getSchemeAndHttpHost() == \"https://gfs2.centric.ae\" %}
  2144. \t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6LdxNsAgAAAAAKdxceNtgNjH6TlrgstHJ-N-zH6C\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
  2145. \t\t\t\t\t\t\t{% elseif app.request.getSchemeAndHttpHost() == \"https://goodycs.com\" %}
  2146. \t\t\t\t\t\t\t\t<div class=\"g-recaptcha\" data-sitekey=\"6Le5OcAgAAAAANCPxYj-Tufd8ooE9d92HvhQNyac\" data-theme=\"light\" data-size=\"normal\" data-image=\"image\" id=\"recaptcha\"></div>
  2147. \t\t\t\t\t\t\t{% endif %}
  2148. \t\t\t\t\t\t\t<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  2149. \t\t\t\t\t\t\t<div><span class=\"alert-message text-dark\"></span></div>
  2150. \t\t\t\t\t\t\t<div class=\"btn-holder\">
  2151. \t\t\t\t\t\t\t\t<button class=\"btn btn-custom btn-green\">{{'Submit'|trans}}</button>
  2152. \t\t\t\t\t\t\t</div>
  2153. \t\t\t\t\t\t</div>
  2154. \t\t\t\t\t</form>
  2155. \t\t\t\t</div>
  2156. \t\t\t\t<!--End Leave Comments-->
  2157. \t\t\t\t<!--Start Comments List-->
  2158. \t\t\t\t<div class=\"comments-list\">
  2159. \t\t\t\t\t<div class=\"row new_div\">
  2160. \t\t\t\t\t\t{% set ratingcount = 0 %}
  2161. \t\t\t\t\t\t{% for reviews in review %}
  2162. \t\t\t\t\t\t\t<div class=\"col-12 col-md-6\">
  2163. \t\t\t\t\t\t\t\t<div class=\"comment-list-box\">
  2164. \t\t\t\t\t\t\t\t\t<div class=\"comment-list-box-header\">
  2165. \t\t\t\t\t\t\t\t\t\t<figure class=\"person-img\">
  2166. \t\t\t\t\t\t\t\t\t\t\t<img src=\"/static/assets/images/user-icon-01.png\" alt=\"user icon\">
  2167. \t\t\t\t\t\t\t\t\t\t</figure>
  2168. \t\t\t\t\t\t\t\t\t\t<h5>{{reviews.name}}</h5>
  2169. \t\t\t\t\t\t\t\t\t\t<div class=\"rating\">{{reviews.rating}}</div>
  2170. \t\t\t\t\t\t\t\t\t</div>
  2171. \t\t\t\t\t\t\t\t\t<p>{{reviews.comment}}</p>
  2172. \t\t\t\t\t\t\t\t\t<div class=\"date\">{{reviews.mydate}}</div>
  2173. \t\t\t\t\t\t\t\t</div>
  2174. \t\t\t\t\t\t\t</div>
  2175. \t\t\t\t\t\t\t{% if reviews.rating > 0 %}
  2176. \t\t\t\t\t\t\t\t{% set ratingcount = ratingcount + 1 %}
  2177. \t\t\t\t\t\t\t{% endif %}
  2178. \t\t\t\t\t\t{% endfor %}
  2179. \t\t\t\t\t</div>
  2180. \t\t\t\t\t{% if review|length >= 3 %}
  2181. \t\t\t\t\t\t<div class=\"load-more\">
  2182. \t\t\t\t\t\t\t<a href=\"javascript:void(0)\" class=\"btn btn-custom btn-outline btn-loadX btn-green\" onclick=\"loadMoreRecipeReviews()\" id=\"load-more\">{{'Load more'|trans}}</a>
  2183. \t\t\t\t\t\t\t<!-- btn-load >> This is the class for showing loader gif -->
  2184. \t\t\t\t\t\t</div>
  2185. \t\t\t\t\t{% endif %}
  2186. \t\t\t\t</div>
  2187. \t\t\t\t<!--End Comments List-->
  2188. \t\t\t</div>
  2189. \t\t</div>
  2190. \t</section>
  2191. \t<!--Start Wrapper-->
  2192. \t<!--End Wrapper-->
  2193. \t\t<script>
  2194. \t\t\t//console.log(window.location.href)
  2195. \t\t\t\$(\"#submitFormRecipeComment\").submit(function (event) {
  2196. \t\t\tevent.preventDefault();
  2197. \t\t\tvar post_url = \$(this).attr(\"action\"); // get form action url
  2198. \t\t\tvar request_method = \$(this).attr(\"method\"); // get form GET/POST method
  2199. \t\t\t
  2200. \t\t\tform_data = new FormData(this);
  2201. \t\t\t\$.ajax({
  2202. \t\t\turl: post_url,
  2203. \t\t\ttype: request_method,
  2204. \t\t\tdata: form_data,
  2205. \t\t\tcontentType: false,
  2206. \t\t\tcache: false,
  2207. \t\t\tprocessData: false,
  2208. \t\t\tsuccess: function (response) {
  2209. \t\t\tif (response.success == 2) {
  2210. \t\t\t\t\t
  2211. \t\t\tdocument.getElementById('submitFormRecipeComment').reset();
  2212. \t\t
  2213. \t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-success').html('{{ \"Thank you for your feedback.\"|trans }}');
  2214. \t\t\t\$('#submitForm').trigger(\"reset\");
  2215. \t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
  2216. \t\t\t}else if (response.success == 1){
  2217. \t\t\tdocument.getElementById('submitFormRecipeComment').reset();
  2218. \t\t\t\$('.alert-message').removeClass('text-dark').addClass('text-danger').html('{{ \"Please check the the captcha form.\"|trans }}');
  2219. \t\t\t\$('#submitForm').trigger(\"reset\");
  2220. \t\t\t\$(\".alert-message\").delay(5000).slideUp(500);
  2221. \t\t\t} else {
  2222. \t\t\tdocument.getElementById('submitFormRecipeComment').reset();
  2223. \t\t\t\$('.alert-message').html('Oops! Please try again something went wrong');
  2224. \t\t\t}
  2225. \t\t\t}
  2226. \t\t\t});
  2227. \t\t\t});
  2228. \t\t// Download and Print Recipe According to serving ingerident quantity srart\t
  2229. \t\t\$(document).ready(function () {
  2230.  \t\t\tvar serving = parseInt(\$('.serving').val(), 10);
  2231. \t\t\t\$(\"a.directions-link\").each(function() {
  2232. \t\t\t\tvar \$this = \$(this);       
  2233. \t\t\t\tconst _href = \$this.attr(\"href\"); 
  2234. \t\t\t \t\$(\"#valuechange\").on('keyup change', function () {
  2235. \t\t\t\t  var countTxt = parseInt(\$('.count').val(), 10);
  2236. \t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+countTxt);
  2237. \t\t\t\t});
  2238. \t\t\t\t\$(\".directions-link\").attr(\"href\", _href+\"~portion=\"+serving);
  2239. \t\t\t\tconsole.log(countTxt);
  2240.     \t\t});
  2241. \t\t});
  2242. \t\t// Download and Print Recipe According to serving ingerident quantity end\t
  2243. \t\t\t
  2244. \t\t</script>
  2245. \t<!-- End Modal Attribute -->
  2246. \t\t{% if (app.request.locale =='ar') %}
  2247. \t\t{% set topMenu =\"/en/all-recipes/\" ~ recipedetails.url('en') %}
  2248. \t{% else %}
  2249. \t\t{% set topMenu =\"/ar/all-recipes/\" ~ recipedetails.url('ar') %}
  2250. \t{% endif %}
  2251. \t<!--End Comments Section-->
  2252. \t
  2253. \t\t<script type=\"text/javascript\">
  2254. \t\t\t\tvar _TopMenuLink = \"{{ topMenu }}\";
  2255. \t\t\t\tlet page = 1;
  2256. \t\t\t\tfunction loadMoreRecipeReviews() {
  2257. \t\t\t\tlet add_query = '&';
  2258. \t\t\t\tif (!window.location.search) {
  2259. \t\t\t\tadd_query = '?';
  2260. \t\t\t\t}
  2261. \t\t\t\t\$.ajax({
  2262. \t\t\t\ttype: \"GET\",
  2263. \t\t\t\turl: window.location.href + add_query + 'page=' + page,
  2264. \t\t\t\tdata: '',
  2265. \t\t\t\tcache: false,
  2266. \t\t\t\tbeforeSend: function () {
  2267. \t\t\t\t\$('.btn-loadX').addClass('btn-load');
  2268. \t\t\t\t\$('.btn-loadX').html('Loading...');
  2269. \t\t\t\t},
  2270. \t\t\t\tcomplete: function () {
  2271. \t\t\t\t\$('.btn-loadX').removeClass('btn-load');
  2272. \t\t\t\t\$('.btn-loadX').html('Load more');
  2273. \t\t\t\t},
  2274. \t\t\t\tsuccess: function (data) {
  2275. \t\t\t\tif (data.success) {
  2276. \t\t\t\t\$('.new_div').append(data.success);
  2277. \t\t\t\tpage++;
  2278. \t\t\t\t}
  2279. \t\t\t\tif (data.success == '' || data.total_reviews < 2) {
  2280. \t\t\t\t\$('.btn-loadX').hide();
  2281. \t\t\t\t}
  2282. \t\t\t\t// else if(data.success == ''){
  2283. \t\t\t\t// \$('.btn-loadX').hide();
  2284. \t\t\t\t// }
  2285. \t\t\t\t}
  2286. \t\t\t\t});
  2287. \t\t\t\t}
  2288. \t\t\t\t// function pausemodal(recipeid) {
  2289. \t\t\t\t// console.log(recipeid);
  2290. \t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
  2291. \t\t\t\t// }
  2292. \t\t\t\t// function playany(recipeid) {
  2293. \t\t\t\t// console.log(recipeid);
  2294. \t\t\t\t// \$('#videoId' + recipeid).trigger('pause');
  2295. \t\t\t\t// \$('#videoId'+recipeid).trigger('play');
  2296. \t\t\t\t// }
  2297. \t\t</script>
  2298. \t<!-- This section is used for seo purpose please do not remove any line within this commented section -->
  2299. \t{% set schemasteps = recipedetails.steps    %}
  2300. \t<script type=\"application/ld+json\">
  2301. \t\t{
  2302. \t\t\t\"@context\": \"https://schema.org/\", 
  2303. \t\t\t\"@type\": \"Recipe\", 
  2304. \t\t\t\"name\": \"{{recipedetails.name}}\",
  2305. \t\t{% if recipedetails.featured_image is defined  and recipedetails.featured_image.path is defined %}
  2306. \t\t\t\"image\": \"{{app.request.getSchemeAndHttpHost() ~ recipedetails.featured_image.path ~ recipedetails.featured_image.filename}}\",
  2307. \t\t{% endif %}
  2308. \t\t\"description\": \"{{recipedetails.description}}\",
  2309. \t\t{% if recipedetails.recipes_schema_markup_keywords is not empty %}
  2310. \t\t\t\"keywords\": \"{{recipedetails.recipes_schema_markup_keywords}}\",
  2311. \t\t{% endif %}
  2312. \t\t\"author\": {
  2313. \t\t\t\t\"@type\": \"Person\",
  2314. \t\t\t\t\"name\": \"{{recipedetails.Chef}}\"
  2315. \t\t\t\t},
  2316. \t\t\t\t\"datePublished\": \"{{recipedetails.modificationDate|date('Y-m-d')}}\",
  2317. \t\t\t\t\"prepTime\": \"\",
  2318. \t\t\t\t\"cookTime\": \"PT50M\", 
  2319. \t\t\t\t\"totalTime\": \"PT50M\", 
  2320. \t\t\t\t\"recipeCategory\": \"{{recipedetails.typeofmeal}}\", 
  2321. \t\t\t\t\"recipeCuisine\": \"{{recipedetails.cuisine}}\", 
  2322. \t\t\t\t\"recipeYield\": \"4\", 
  2323. \t\t\t\"nutrition\": {
  2324. \t\t\t\t\t\"@type\": \"NutritionInformation\",
  2325. \t\t\t\t\t\"calories\": \"\"
  2326. \t\t\t\t}
  2327. \t\t{% if recipedetails.serving_options.Items is defined %},
  2328. \t\t\t\t\"recipeIngredient\": [
  2329. \t\t\t{% for i in 0..recipedetails.serving_options.Items|length -1 %}
  2330. \t\t\t\t{% for j in 0..recipedetails.serving_options.Items[i].ingredeints|length -1 %}
  2331. \t\t\t\t\t{% if app.request.locale == \"en\" %}
  2332. \t\t\t\t\t\t\"{{recipedetails.serving_options.Items[i].ingredeints[j]['ingredient'].data}}
  2333. \t\t\t\t\t\t{{recipedetails.serving_options.Items[i].ingredeints[j]['multiply'].data}}{{recipedetails.serving_options.Items[i].ingredeints[j]['unit'].data}}\"
  2334. \t\t\t\t\t\t{% if j < recipedetails.serving_options.Items[i].ingredeints|length - 1  %},
  2335. \t\t\t\t\t\t{% endif %}
  2336. \t\t\t\t\t{% else %}
  2337. \t\t\t\t\t\t\"{{recipedetails.serving_options.Items[i].ingredeints[j]['ingredient_ar'].data}}
  2338. \t\t\t\t\t\t{{recipedetails.serving_options.Items[i].ingredeints[j]['multiply'].data}}{{recipedetails.serving_options.Items[i].ingredeints[j]['unit_ar'].data}}\"
  2339. \t\t\t\t\t\t{% if j < recipedetails.serving_options.Items[i].ingredeints|length - 1  %},
  2340. \t\t\t\t\t\t{% endif %}
  2341. \t\t\t\t\t{% endif %}
  2342. \t\t\t\t{% endfor %}
  2343. \t\t\t{% endfor %}
  2344. \t\t\t]
  2345. \t\t{% endif %}
  2346. \t\t{% if recipedetails.steps is defined %},
  2347. \t\t\t\"recipeInstructions\": [
  2348. \t\t\t{% for i in 0..recipedetails.steps|length -1 %}{
  2349. \t\t\t\t{% if recipedetails.steps[i] is defined %}
  2350. \t\t\t\t\t\"@type\": \"HowToStep\",
  2351. \t\t\t\t\t\"text\": \"{{ recipedetails.steps[i].localizedfields.data.getLocalizedValue('description')}}\"
  2352. \t\t\t\t\t{% endif %}
  2353. \t\t\t\t\t}
  2354. \t\t\t\t{% if i < recipedetails.steps|length -1 %},
  2355. \t\t\t\t{% endif %}
  2356. \t\t\t{% endfor %}]
  2357. \t\t{% endif %},
  2358. \t\t\t\t\"video\": {
  2359. \t\t\t\t\t\t\t\"@type\": \"VideoObject\",
  2360. \t\t\t\t\t\t\t{% if recipedetails is defined %}
  2361. \t\t\t\t\t\t\t\"name\": \"{{recipedetails.name}}\",
  2362. \t\t\t\t\t\t\t\"description\": \"{{recipedetails.description}}\",
  2363. \t\t\t\t\t\t\t{% if recipedetails.featured_image.path is defined %}
  2364. \t\t\t\t\t\t\t\"thumbnailUrl\": \"{{app.request.getSchemeAndHttpHost() ~ recipedetails.featured_image.path ~ recipedetails.featured_image.filename}}\",
  2365. \t\t\t\t\t\t\t{% endif %}
  2366. \t\t\t\t\t\t\t\"uploadDate\": \"{{recipedetails.modificationDate|date('Y-m-d')}}\", 
  2367. \t\t\t\t\t\t\t\"contentUrl\": \"{{app.request.getSchemeAndHttpHost() ~ \"/\" ~ app.request.locale ~ \"/all-recipes/\" ~ recipedetails.url}}\",
  2368. \t\t\t\t\t\t\t{% endif %}
  2369. \t\t{% if recipedetails.detail_video.data is defined  %}
  2370. \t\t\t\"embedUrl\": \"{{app.request.getSchemeAndHttpHost() ~ recipedetails.detail_video.data.path ~ recipedetails.detail_video.data.filename}}\"
  2371. \t\t{% else %}
  2372. \t\t\t\"embedUrl\": \"Video not available\"
  2373. \t\t{% endif %}
  2374. \t\t}
  2375. \t\t{% if review|length > 1 %}
  2376. \t\t\t\"aggregateRating\": {
  2377. \t\t\t\t\"@type\": \"AggregateRating\",
  2378. \t\t\t\t\"ratingValue\": \"{{rating}}\",
  2379. \t\t\t\t\"bestRating\": \"5\",
  2380. \t\t\t\t\"worstRating\": \"1\",
  2381. \t\t\t\t\"ratingCount\": \"{{ratingcount}}\",
  2382. \t\t\t\t\"reviewCount\": \"{{review|length}}\"
  2383. \t\t\t\t\t\t\t\t},
  2384. \t\t\t{% for keys , reviews in review %}
  2385. \t\t\t\t\"review\": {
  2386. \t\t\t\t\t\"@type\": \"Review\",
  2387. \t\t\t\t\t\"name\": \"{{reviews.name}}\",
  2388. \t\t\t\t\t\"reviewBody\": \"{{reviews.comment}}\",
  2389. \t\t\t\t\t\"reviewRating\": {
  2390. \t\t\t\t\t\t\"@type\": \"Rating\",
  2391. \t\t\t\t\t\t\"ratingValue\": \"{{reviews.rating}}\",
  2392. \t\t\t\t\t\t\"bestRating\": \"5\",
  2393. \t\t\t\t\t\t\"worstRating\": \"1\"
  2394. \t\t\t\t\t},
  2395. \t\t\t\t\t\"datePublished\": \"{{reviews.mydate}}\",
  2396. \t\t\t\t\t\"author\": {\"@type\": \"Person\", \"{{reviews.name}}\": \"man\"},
  2397. \t\t\t\t\t\"publisher\": {\"@type\": \"Organization\", \"name\": \"goody\"}}
  2398. \t\t\t\t{% if keys < review|length -1 %}
  2399. \t\t\t\t\t,
  2400. \t\t\t\t{% endif %}
  2401. \t\t\t{% endfor %}
  2402. \t\t{% endif %}
  2403. \t\t}
  2404. \t</script>
  2405. \t<!-- This section is used for seo purpose please do not remove any line within this commented section end  -->
  2406. {% endblock %}
  2407. ""Recipes/reciepedetails.html.twig""/var/www/vhosts/centric.ae/gcs.centric.ae/templates/Recipes/reciepedetails.html.twig");
  2408.     }
  2409. }