var/cache/dev/twig/55/552074df6718eaa90711cdd1d8c4f294d8f333befe64d63669567a6dd30a9d47.php line 34

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. /* network/widget/widget.html.twig */
  14. class __TwigTemplate_99126c5baf3641fcc3003e477699c4555f9a518425f108c07720600cce51d31f 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->parent false;
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/widget/widget.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/widget/widget.html.twig"));
  34.         // line 1
  35.         echo "<div>
  36.   ";
  37.         // line 2
  38.         if ((array_key_exists("title"$context) && (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'2$this->source); })()))) {
  39.             // line 3
  40.             echo "    <h3 class=\"mb-5 text-lg font-medium uppercase font-headline text-neutral-600\">
  41.       ";
  42.             // line 4
  43.             echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'4$this->source); })()), "html"nulltrue);
  44.             echo "
  45.       ";
  46.             // line 5
  47.             if ((array_key_exists("editlink"$context) &&  !twig_test_empty((isset($context["editlink"]) || array_key_exists("editlink"$context) ? $context["editlink"] : (function () { throw new RuntimeError('Variable "editlink" does not exist.'5$this->source); })())))) {
  48.                 // line 6
  49.                 echo "        <small class=\"underline lowercase\">
  50.           <a data-turbo=\"false\" href=\"";
  51.                 // line 7
  52.                 echo twig_escape_filter($this->env, (isset($context["editlink"]) || array_key_exists("editlink"$context) ? $context["editlink"] : (function () { throw new RuntimeError('Variable "editlink" does not exist.'7$this->source); })()), "html"nulltrue);
  53.                 echo "\">(";
  54.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("edit"), "html"nulltrue);
  55.                 echo ")</a>
  56.         </small>
  57.       ";
  58.             }
  59.             // line 10
  60.             echo "    </h3>
  61.   ";
  62.         }
  63.         // line 12
  64.         echo "
  65.   ";
  66.         // line 13
  67.         $this->displayBlock('content'$context$blocks);
  68.         // line 16
  69.         echo "</div>
  70. ";
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.     }
  76.     // line 13
  77.     public function block_content($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  84.         // line 14
  85.         echo "
  86.   ";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.     }
  92.     public function getTemplateName()
  93.     {
  94.         return "network/widget/widget.html.twig";
  95.     }
  96.     public function isTraitable()
  97.     {
  98.         return false;
  99.     }
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  99 => 14,  89 => 13,  78 => 16,  76 => 13,  73 => 12,  69 => 10,  61 => 7,  58 => 6,  56 => 5,  52 => 4,  49 => 3,  47 => 2,  44 => 1,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("<div>
  107.   {% if title is defined and title %}
  108.     <h3 class=\"mb-5 text-lg font-medium uppercase font-headline text-neutral-600\">
  109.       {{ title }}
  110.       {% if editlink is defined and editlink is not empty %}
  111.         <small class=\"underline lowercase\">
  112.           <a data-turbo=\"false\" href=\"{{ editlink }}\">({{ 'edit'|trans }})</a>
  113.         </small>
  114.       {% endif %}
  115.     </h3>
  116.   {% endif %}
  117.   {% block content %}
  118.   {% endblock %}
  119. </div>
  120. ""network/widget/widget.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/widget/widget.html.twig");
  121.     }
  122. }