var/cache/dev/twig/97/97e7b8b6ea3c0cfa9b04127502a52046.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @OdiseoSyliusBlogPlugin/Shop/Article/category_index.html.twig */
  14. class __TwigTemplate_b534767d255e6403ca2ae623cc05781d extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'blog_breadcrumb' => [$this'block_blog_breadcrumb'],
  24.             'blog_header' => [$this'block_blog_header'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@OdiseoSyliusBlogPlugin/Shop/Article/index.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@OdiseoSyliusBlogPlugin/Shop/Article/category_index.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@OdiseoSyliusBlogPlugin/Shop/Article/category_index.html.twig"));
  39.         $this->parent $this->loadTemplate("@OdiseoSyliusBlogPlugin/Shop/Article/index.html.twig""@OdiseoSyliusBlogPlugin/Shop/Article/category_index.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_blog_breadcrumb($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_breadcrumb"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_breadcrumb"));
  54.         // line 4
  55.         echo "    <div class=\"ui breadcrumb\">
  56.         <a href=\"";
  57.         // line 5
  58.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  59.         echo "\" class=\"section\">";
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  61.         echo "</a>
  62.         <div class=\"divider\"> / </div>
  63.         <a href=\"";
  64.         // line 7
  65.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("odiseo_sylius_blog_plugin_shop_article_index");
  66.         echo "\" class=\"section\">";
  67.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("odiseo_sylius_blog_plugin.ui.blog.header"), "html"nulltrue);
  68.         echo "</a>
  69.         <div class=\"divider\"> / </div>
  70.         <div class=\"active section\">";
  71.         // line 9
  72.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("odiseo_sylius_blog_plugin.ui.blog.category_header", ["%category%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'9$this->source); })()), "request", [], "any"falsefalsefalse9), "get", [=> "slug"], "method"falsefalsefalse9)]), "html"nulltrue);
  73.         echo "</div>
  74.     </div>
  75. ";
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.     }
  81.     // line 13
  82.     public function block_blog_header($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_header"));
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""blog_header"));
  89.         // line 14
  90.         echo "    <h1 class=\"ui header\">
  91.         <i class=\"circular newspaper icon\"></i>
  92.         <div class=\"content\">
  93.             ";
  94.         // line 17
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("odiseo_sylius_blog_plugin.ui.blog.category_header", ["%category%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "get", [=> "slug"], "method"falsefalsefalse17)]), "html"nulltrue);
  96.         echo "
  97.             <div class=\"sub header\">";
  98.         // line 18
  99.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("odiseo_sylius_blog_plugin.ui.blog.subheader"), "html"nulltrue);
  100.         echo "</div>
  101.         </div>
  102.     </h1>
  103. ";
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108.     }
  109.     public function getTemplateName()
  110.     {
  111.         return "@OdiseoSyliusBlogPlugin/Shop/Article/category_index.html.twig";
  112.     }
  113.     public function isTraitable()
  114.     {
  115.         return false;
  116.     }
  117.     public function getDebugInfo()
  118.     {
  119.         return array (  118 => 18,  114 => 17,  109 => 14,  99 => 13,  86 => 9,  79 => 7,  72 => 5,  69 => 4,  59 => 3,  36 => 1,);
  120.     }
  121.     public function getSourceContext()
  122.     {
  123.         return new Source("{% extends '@OdiseoSyliusBlogPlugin/Shop/Article/index.html.twig' %}
  124. {% block blog_breadcrumb %}
  125.     <div class=\"ui breadcrumb\">
  126.         <a href=\"{{ path('sylius_shop_homepage') }}\" class=\"section\">{{ 'sylius.ui.home'|trans }}</a>
  127.         <div class=\"divider\"> / </div>
  128.         <a href=\"{{ path('odiseo_sylius_blog_plugin_shop_article_index') }}\" class=\"section\">{{ 'odiseo_sylius_blog_plugin.ui.blog.header'|trans }}</a>
  129.         <div class=\"divider\"> / </div>
  130.         <div class=\"active section\">{{ 'odiseo_sylius_blog_plugin.ui.blog.category_header'|trans({'%category%': app.request.get('slug')}) }}</div>
  131.     </div>
  132. {% endblock %}
  133. {% block blog_header %}
  134.     <h1 class=\"ui header\">
  135.         <i class=\"circular newspaper icon\"></i>
  136.         <div class=\"content\">
  137.             {{ 'odiseo_sylius_blog_plugin.ui.blog.category_header'|trans({'%category%': app.request.get('slug')}) }}
  138.             <div class=\"sub header\">{{ 'odiseo_sylius_blog_plugin.ui.blog.subheader'|trans }}</div>
  139.         </div>
  140.     </h1>
  141. {% endblock %}
  142. ""@OdiseoSyliusBlogPlugin/Shop/Article/category_index.html.twig""/var/www/Bikers/templates/bundles/OdiseoSyliusBlogPlugin/Shop/Article/category_index.html.twig");
  143.     }
  144. }