/
var
/
www
/
html
/
restaurants
/
var
/
cache
/
prod
/
twig
/
d2
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* @KnpPaginator/Pagination/semantic_ui_pagination.html.twig */ class __TwigTemplate_1999f9236108e3490e92a74c6355fc95824ccf56442552c400cd9fedd291b422 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 13 echo "<div class=\"ui pagination menu\"> "; // line 14 if ((array_key_exists("first", $context) && (0 !== twig_compare(($context["current"] ?? null), ($context["first"] ?? null))))) { // line 15 echo " <a class=\"icon item\" href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["route"] ?? null), twig_array_merge(($context["query"] ?? null), [($context["pageParameterName"] ?? null) => ($context["first"] ?? null)])), "html", null, true); echo "\"> <i class=\"angle double left icon\"></i> </a> "; } // line 19 echo " "; // line 20 if (array_key_exists("previous", $context)) { // line 21 echo " <a rel=\"prev\" class=\"item icon\" href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["route"] ?? null), twig_array_merge(($context["query"] ?? null), [($context["pageParameterName"] ?? null) => ($context["previous"] ?? null)])), "html", null, true); echo "\"> <i class=\"angle left icon\"></i> </a> "; } // line 25 echo " "; // line 26 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["pagesInRange"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["page"]) { // line 27 echo " "; if ((0 !== twig_compare($context["page"], ($context["current"] ?? null)))) { // line 28 echo " <a class=\"item\" href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["route"] ?? null), twig_array_merge(($context["query"] ?? null), [($context["pageParameterName"] ?? null) => $context["page"]])), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["page"], "html", null, true); echo "</a> "; } else { // line 30 echo " <span class=\"active item\">"; echo twig_escape_filter($this->env, $context["page"], "html", null, true); echo "</span> "; } // line 32 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['page'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 34 echo " "; // line 35 if (array_key_exists("next", $context)) { // line 36 echo " <a rel=\"next\" class=\"icon item\" href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["route"] ?? null), twig_array_merge(($context["query"] ?? null), [($context["pageParameterName"] ?? null) => ($context["next"] ?? null)])), "html", null, true); echo "\"> <i class=\"angle right icon\"></i> </a> "; } // line 40 echo " "; // line 41 if ((array_key_exists("last", $context) && (0 !== twig_compare(($context["current"] ?? null), ($context["last"] ?? null))))) { // line 42 echo " <a class=\"icon item\" href=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["route"] ?? null), twig_array_merge(($context["query"] ?? null), [($context["pageParameterName"] ?? null) => ($context["last"] ?? null)])), "html", null, true); echo "\"> <i class=\"angle right double icon\"></i> </a> "; } // line 46 echo "</div> "; } public function getTemplateName() { return "@KnpPaginator/Pagination/semantic_ui_pagination.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 120 => 46, 112 => 42, 110 => 41, 107 => 40, 99 => 36, 97 => 35, 94 => 34, 87 => 32, 81 => 30, 73 => 28, 70 => 27, 66 => 26, 63 => 25, 55 => 21, 53 => 20, 50 => 19, 42 => 15, 40 => 14, 37 => 13,); } public function getSourceContext() { return new Source("", "@KnpPaginator/Pagination/semantic_ui_pagination.html.twig", "/var/www/html/restaurants/vendor/knplabs/knp-paginator-bundle/templates/Pagination/semantic_ui_pagination.html.twig"); } }