var/cache/dev/twig/68/68e28d2a891fc1ce812b7a25a9115d33f279b71912ffe146d159f42ee8341713.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. /* report/overview.html.twig */
  14. class __TwigTemplate_11ff4e5e9024fc6ded0f883c4c2809572915bd325a17386f2eb557fe9dd6989e extends 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.             'body' => [$this'block_body'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""report/overview.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""report/overview.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""report/overview.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_body($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         // line 4
  55.         echo "
  56.   <h3>Verfügbare Editionen für BL ";
  57.         // line 5
  58.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'5$this->source); })()), "title", [], "any"falsefalsefalse5), "html"nulltrue);
  59.         echo "</h3>
  60.     <table>
  61.       <tr>
  62.         <th>Id</th>
  63.         <th>Title</th>
  64.         <th>Code</th>
  65.         <th></th>
  66.         <th></th>
  67.       </tr>
  68.     ";
  69.         // line 15
  70.         $context['_parent'] = $context;
  71.         $context['_seq'] = twig_ensure_traversable((isset($context["editions"]) || array_key_exists("editions"$context) ? $context["editions"] : (function () { throw new RuntimeError('Variable "editions" does not exist.'15$this->source); })()));
  72.         foreach ($context['_seq'] as $context["_key"] => $context["edition"]) {
  73.             // line 16
  74.             echo "      <tr>
  75.         <td style=\"padding:0 4px 0 4px;\">";
  76.             // line 17
  77.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["edition"], 0, [], "array"falsefalsefalse17), "edition", [], "any"falsefalsefalse17), "id", [], "any"falsefalsefalse17), "html"nulltrue);
  78.             echo "</td>
  79.         <td style=\"padding:0 4px 0 4px;\">";
  80.             // line 18
  81.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["edition"], 0, [], "array"falsefalsefalse18), "edition", [], "any"falsefalsefalse18), "title", [], "any"falsefalsefalse18), "html"nulltrue);
  82.             echo "</td>
  83.         <td style=\"padding:0 4px 0 4px;\">";
  84.             // line 19
  85.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["edition"], 0, [], "array"falsefalsefalse19), "edition", [], "any"falsefalsefalse19), "codeTitle", [], "any"falsefalsefalse19), "html"nulltrue);
  86.             echo "</td>
  87.         <td style=\"padding:0 4px 0 4px;\"><a href=\"";
  88.             // line 20
  89.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ReportPrint", ["compilationVolume" => twig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'20$this->source); })()), "volume", [], "any"falsefalsefalse20), "editionId" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["edition"], 0, [], "array"falsefalsefalse20), "edition", [], "any"falsefalsefalse20), "id", [], "any"falsefalsefalse20)]), "html"nulltrue);
  90.             echo "\">PRINT</a> </td>
  91.         <td style=\"padding:0 4px 0 4px;\"><!--a href=\"";
  92.             // line 21
  93.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ReportPdf", ["compilationVolume" => twig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'21$this->source); })()), "volume", [], "any"falsefalsefalse21), "editionId" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["edition"], 0, [], "array"falsefalsefalse21), "edition", [], "any"falsefalsefalse21), "id", [], "any"falsefalsefalse21)]), "html"nulltrue);
  94.             echo "\">PDF</a--></td>
  95.       </tr>
  96.       
  97.     ";
  98.         }
  99.         $_parent $context['_parent'];
  100.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['edition'], $context['_parent'], $context['loop']);
  101.         $context array_intersect_key($context$_parent) + $_parent;
  102.         // line 25
  103.         echo "    </table>
  104. ";
  105.         
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  107.         
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  109.     }
  110.     // line 29
  111.     public function block_javascripts($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  118.         // line 30
  119.         echo "  ";
  120.         $this->displayParentBlock("javascripts"$context$blocks);
  121.         echo "
  122.   
  123.   <script src=\"";
  124.         // line 32
  125.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery/jquery-jeditable.min.js"), "html"nulltrue);
  126.         echo "\" type=\"text/javascript\"></script>
  127.   <script type=\"text/javascript\">
  128.     \$(function(){
  129.       \$('span#print').click(function(event){window.print();});
  130.     });
  131.   </script>
  132. ";
  133.         
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  135.         
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  137.     }
  138.     public function getTemplateName()
  139.     {
  140.         return "report/overview.html.twig";
  141.     }
  142.     public function isTraitable()
  143.     {
  144.         return false;
  145.     }
  146.     public function getDebugInfo()
  147.     {
  148.         return array (  146 => 32,  140 => 30,  130 => 29,  118 => 25,  108 => 21,  104 => 20,  100 => 19,  96 => 18,  92 => 17,  89 => 16,  85 => 15,  72 => 5,  69 => 4,  59 => 3,  36 => 1,);
  149.     }
  150.     public function getSourceContext()
  151.     {
  152.         return new Source("{% extends 'base.html.twig' %}
  153. {% block body %}
  154.   <h3>Verfügbare Editionen für BL {{ compilation.title }}</h3>
  155.     <table>
  156.       <tr>
  157.         <th>Id</th>
  158.         <th>Title</th>
  159.         <th>Code</th>
  160.         <th></th>
  161.         <th></th>
  162.       </tr>
  163.     {% for edition in editions %}
  164.       <tr>
  165.         <td style=\"padding:0 4px 0 4px;\">{{ edition[0].edition.id }}</td>
  166.         <td style=\"padding:0 4px 0 4px;\">{{ edition[0].edition.title }}</td>
  167.         <td style=\"padding:0 4px 0 4px;\">{{ edition[0].edition.codeTitle }}</td>
  168.         <td style=\"padding:0 4px 0 4px;\"><a href=\"{{ path('PapyrillioBeehive_ReportPrint', {'compilationVolume': compilation.volume, 'editionId': edition[0].edition.id}) }}\">PRINT</a> </td>
  169.         <td style=\"padding:0 4px 0 4px;\"><!--a href=\"{{ path('PapyrillioBeehive_ReportPdf', {'compilationVolume': compilation.volume, 'editionId': edition[0].edition.id}) }}\">PDF</a--></td>
  170.       </tr>
  171.       
  172.     {% endfor %}
  173.     </table>
  174. {% endblock %}
  175. {% block javascripts %}
  176.   {{ parent() }}
  177.   
  178.   <script src=\"{{ asset('js/jquery/jquery-jeditable.min.js') }}\" type=\"text/javascript\"></script>
  179.   <script type=\"text/javascript\">
  180.     \$(function(){
  181.       \$('span#print').click(function(event){window.print();});
  182.     });
  183.   </script>
  184. {% endblock %}""report/overview.html.twig""/var/www/beehive_dev/templates/report/overview.html.twig");
  185.     }
  186. }