var/cache/dev/twig/87/87cb18e374a040ec62958a97a962c3cc.php line 48

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. /* areas/team/view.html.twig */
  14. class __TwigTemplate_0060c4e2c3070fc4cead6d189818ce8a 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 2
  29.         return "areas_shared/settings.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/team/view.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/team/view.html.twig"));
  38.         $this->parent $this->loadTemplate("areas_shared/settings.html.twig""areas/team/view.html.twig"2);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 4
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 5
  54.         echo "
  55. \t";
  56.         // line 7
  57.         echo "\t";
  58.         if (twig_get_attribute($this->env$this->source, (isset($context["marginBottom"]) || array_key_exists("marginBottom"$context) ? $context["marginBottom"] : (function () { throw new RuntimeError('Variable "marginBottom" does not exist.'7$this->source); })()), "isEmpty", [], "method"falsefalsefalse7)) {
  59.             // line 8
  60.             echo "\t\t";
  61.             twig_get_attribute($this->env$this->source, (isset($context["marginBottom"]) || array_key_exists("marginBottom"$context) ? $context["marginBottom"] : (function () { throw new RuntimeError('Variable "marginBottom" does not exist.'8$this->source); })()), "setDataFromResource", [=> "full-margin-bottom"], "method"falsefalsefalse8);
  62.             // line 9
  63.             echo "\t";
  64.         }
  65.         // line 10
  66.         echo "
  67. \t";
  68.         // line 12
  69.         echo "\t";
  70.         if (twig_get_attribute($this->env$this->source, (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'12$this->source); })()), "isEmpty", [], "method"falsefalsefalse12)) {
  71.             // line 13
  72.             echo "\t\t";
  73.             twig_get_attribute($this->env$this->source, (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'13$this->source); })()), "setDataFromResource", [=> "background-white"], "method"falsefalsefalse13);
  74.             // line 14
  75.             echo "\t";
  76.         }
  77.         // line 15
  78.         echo "
  79. \t";
  80.         // line 17
  81.         echo "\t";
  82.         $context["title"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title", ["placeholder" => "Titel"]);
  83.         // line 20
  84.         echo "
  85. \t";
  86.         // line 22
  87.         echo "\t";
  88.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'22$this->source); })())) {
  89.             // line 23
  90.             echo "\t\t<div class=\"editmode\">
  91. \t\t\t<div class=\"accordion-container\">
  92. \t\t\t\t<div class=\"accordion-button\">
  93. \t\t\t\t\t<span class=\"accordion-button-text\">Team</span>
  94. \t\t\t\t\t";
  95.             // line 27
  96.             echo twig_include($this->env$context"svg/editmode/setting.html.twig");
  97.             echo "
  98. \t\t\t\t</div>
  99. \t\t\t\t<div class=\"panel\">
  100. \t\t\t\t\t<div class=\"settings-container\">
  101. \t\t\t\t\t\t<div class=\"setting input\">
  102. \t\t\t\t\t\t\t<label>Anker:</label>
  103. \t\t\t\t\t\t\t";
  104.             // line 34
  105.             echo (isset($context["anchor"]) || array_key_exists("anchor"$context) ? $context["anchor"] : (function () { throw new RuntimeError('Variable "anchor" does not exist.'34$this->source); })());
  106.             echo "
  107. \t\t\t\t\t\t</div>
  108. \t\t\t\t\t\t<div class=\"setting select\">
  109. \t\t\t\t\t\t\t<label>Abstand unten:</label>
  110. \t\t\t\t\t\t\t";
  111.             // line 39
  112.             echo (isset($context["marginBottom"]) || array_key_exists("marginBottom"$context) ? $context["marginBottom"] : (function () { throw new RuntimeError('Variable "marginBottom" does not exist.'39$this->source); })());
  113.             echo "
  114. \t\t\t\t\t\t</div>
  115. \t\t\t\t\t</div>
  116. \t\t\t\t</div>
  117. \t\t\t</div>
  118. \t\t</div>
  119. \t";
  120.         }
  121.         // line 47
  122.         echo "
  123. \t<div
  124. \t\tclass=\"team-brick brick-container ";
  125.         // line 49
  126.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'49$this->source); })()), "data", [], "any"falsefalsefalse49), "html"nulltrue);
  127.         echo " ";
  128.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["marginBottom"]) || array_key_exists("marginBottom"$context) ? $context["marginBottom"] : (function () { throw new RuntimeError('Variable "marginBottom" does not exist.'49$this->source); })()), "data", [], "any"falsefalsefalse49), "html"nulltrue);
  129.         echo "\">
  130. \t\t";
  131.         // line 52
  132.         echo "\t\t";
  133.         if (twig_get_attribute($this->env$this->source, (isset($context["anchor"]) || array_key_exists("anchor"$context) ? $context["anchor"] : (function () { throw new RuntimeError('Variable "anchor" does not exist.'52$this->source); })()), "data", [], "any"falsefalsefalse52)) {
  134.             // line 53
  135.             echo "\t\t\t<div class=\"anchor\" id=\"";
  136.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["anchor"]) || array_key_exists("anchor"$context) ? $context["anchor"] : (function () { throw new RuntimeError('Variable "anchor" does not exist.'53$this->source); })()), "data", [], "any"falsefalsefalse53), "html"nulltrue);
  137.             echo "\"></div>
  138. \t\t";
  139.         }
  140.         // line 55
  141.         echo "
  142. \t\t<div
  143. \t\t\tclass=\"container-1420\">
  144. \t\t\t";
  145.         // line 60
  146.         echo "\t\t\t";
  147.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'60$this->source); })()) || twig_get_attribute($this->env$this->source, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'60$this->source); })()), "data", [], "any"falsefalsefalse60))) {
  148.             // line 61
  149.             echo "\t\t\t\t<div class=\"title\">
  150. \t\t\t\t\t<h2>
  151. \t\t\t\t\t\t";
  152.             // line 63
  153.             echo (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'63$this->source); })());
  154.             echo "
  155. \t\t\t\t\t</h2>
  156. \t\t\t\t</div>
  157. \t\t\t";
  158.         }
  159.         // line 67
  160.         echo "
  161. \t\t\t";
  162.         // line 69
  163.         echo "\t\t\t<div class=\"toggle-department-filter\" id=\"toggleDepartmentFilter\">
  164. \t\t\t\t<div class=\"icon\">
  165. \t\t\t\t\t<div class=\"vertical\">
  166. \t\t\t\t\t\t";
  167.         // line 73
  168.         echo twig_include($this->env$context"svg/akkordeon/akkordeon-vertical-icon.html.twig");
  169.         echo "
  170. \t\t\t\t\t</div>
  171. \t\t\t\t\t<div class=\"horizontal\">
  172. \t\t\t\t\t\t";
  173.         // line 77
  174.         echo twig_include($this->env$context"svg/akkordeon/akkordeon-horizontal-icon.html.twig");
  175.         echo "
  176. \t\t\t\t\t</div>
  177. \t\t\t\t</div>
  178. \t\t\t\t<span>";
  179.         // line 81
  180.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("team.departments.mobile-filter"), "html"nulltrue);
  181.         echo "</span>
  182. \t\t\t</div>
  183. \t\t\t";
  184.         // line 86
  185.         echo "\t\t\t<div class=\"departments-container\">
  186. \t\t\t\t<div class=\"departments hidden\" id=\"departments\">
  187. \t\t\t\t\t";
  188.         // line 90
  189.         $context['_parent'] = $context;
  190.         $context['_seq'] = twig_ensure_traversable((isset($context["departments"]) || array_key_exists("departments"$context) ? $context["departments"] : (function () { throw new RuntimeError('Variable "departments" does not exist.'90$this->source); })()));
  191.         foreach ($context['_seq'] as $context["_key"] => $context["department"]) {
  192.             // line 91
  193.             echo "
  194. \t\t\t\t\t\t";
  195.             // line 93
  196.             echo "\t\t\t\t\t\t";
  197.             if (twig_get_attribute($this->env$this->source$context["department"], "hasPersons", [], "any"falsefalsefalse93)) {
  198.                 // line 94
  199.                 echo "\t\t\t\t\t\t\t<div class=\"department\" data-id=\"";
  200.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["department"], "id", [], "any"falsefalsefalse94), "html"nulltrue);
  201.                 echo "\">
  202. \t\t\t\t\t\t\t\t<span>";
  203.                 // line 95
  204.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["department"], "title", [], "any"falsefalsefalse95), "html"nulltrue);
  205.                 echo "</span>
  206. \t\t\t\t\t\t\t</div>
  207. \t\t\t\t\t\t";
  208.             }
  209.             // line 98
  210.             echo "
  211. \t\t\t\t\t";
  212.         }
  213.         $_parent $context['_parent'];
  214.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['department'], $context['_parent'], $context['loop']);
  215.         $context array_intersect_key($context$_parent) + $_parent;
  216.         // line 100
  217.         echo "
  218. \t\t\t\t</div>
  219. \t\t\t</div>
  220. \t\t\t";
  221.         // line 105
  222.         echo "\t\t\t<div class=\"persons\">
  223. \t\t\t\t";
  224.         // line 107
  225.         $context['_parent'] = $context;
  226.         $context['_seq'] = twig_ensure_traversable((isset($context["persons"]) || array_key_exists("persons"$context) ? $context["persons"] : (function () { throw new RuntimeError('Variable "persons" does not exist.'107$this->source); })()));
  227.         $context['loop'] = [
  228.           'parent' => $context['_parent'],
  229.           'index0' => 0,
  230.           'index'  => 1,
  231.           'first'  => true,
  232.         ];
  233.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  234.             $length count($context['_seq']);
  235.             $context['loop']['revindex0'] = $length 1;
  236.             $context['loop']['revindex'] = $length;
  237.             $context['loop']['length'] = $length;
  238.             $context['loop']['last'] = === $length;
  239.         }
  240.         foreach ($context['_seq'] as $context["_key"] => $context["person"]) {
  241.             // line 108
  242.             echo "
  243. \t\t\t\t\t";
  244.             // line 109
  245.             $context["departments"] = "";
  246.             // line 110
  247.             echo "
  248. \t\t\t\t\t";
  249.             // line 111
  250.             $context['_parent'] = $context;
  251.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["person"], "departments", [], "any"falsefalsefalse111));
  252.             $context['loop'] = [
  253.               'parent' => $context['_parent'],
  254.               'index0' => 0,
  255.               'index'  => 1,
  256.               'first'  => true,
  257.             ];
  258.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  259.                 $length count($context['_seq']);
  260.                 $context['loop']['revindex0'] = $length 1;
  261.                 $context['loop']['revindex'] = $length;
  262.                 $context['loop']['length'] = $length;
  263.                 $context['loop']['last'] = === $length;
  264.             }
  265.             foreach ($context['_seq'] as $context["_key"] => $context["department"]) {
  266.                 // line 112
  267.                 echo "\t\t\t\t\t\t";
  268.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse112)) {
  269.                     // line 113
  270.                     echo "\t\t\t\t\t\t\t";
  271.                     $context["departments"] = ((isset($context["departments"]) || array_key_exists("departments"$context) ? $context["departments"] : (function () { throw new RuntimeError('Variable "departments" does not exist.'113$this->source); })()) . twig_get_attribute($this->env$this->source$context["department"], "id", [], "any"falsefalsefalse113));
  272.                     // line 114
  273.                     echo "\t\t\t\t\t\t";
  274.                 } else {
  275.                     // line 115
  276.                     echo "\t\t\t\t\t\t\t";
  277.                     $context["departments"] = (((isset($context["departments"]) || array_key_exists("departments"$context) ? $context["departments"] : (function () { throw new RuntimeError('Variable "departments" does not exist.'115$this->source); })()) . twig_get_attribute($this->env$this->source$context["department"], "id", [], "any"falsefalsefalse115)) . ",");
  278.                     // line 116
  279.                     echo "\t\t\t\t\t\t";
  280.                 }
  281.                 // line 117
  282.                 echo "\t\t\t\t\t";
  283.                 ++$context['loop']['index0'];
  284.                 ++$context['loop']['index'];
  285.                 $context['loop']['first'] = false;
  286.                 if (isset($context['loop']['length'])) {
  287.                     --$context['loop']['revindex0'];
  288.                     --$context['loop']['revindex'];
  289.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  290.                 }
  291.             }
  292.             $_parent $context['_parent'];
  293.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['department'], $context['_parent'], $context['loop']);
  294.             $context array_intersect_key($context$_parent) + $_parent;
  295.             // line 118
  296.             echo "
  297. \t\t\t\t\t<div
  298. \t\t\t\t\t\tclass=\"person active\" data-departments=\"";
  299.             // line 120
  300.             echo twig_escape_filter($this->env, (isset($context["departments"]) || array_key_exists("departments"$context) ? $context["departments"] : (function () { throw new RuntimeError('Variable "departments" does not exist.'120$this->source); })()), "html"nulltrue);
  301.             echo "\">
  302. \t\t\t\t\t\t";
  303.             // line 123
  304.             echo "\t\t\t\t\t\t";
  305.             if (twig_get_attribute($this->env$this->source$context["person"], "image", [], "any"falsefalsefalse123)) {
  306.                 // line 124
  307.                 echo "\t\t\t\t\t\t\t<div class=\"image\">
  308. \t\t\t\t\t\t\t\t";
  309.                 // line 125
  310.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["person"], "image", [], "any"falsefalsefalse125), "thumbnail", [=> "team"], "method"falsefalsefalse125), "html", [=> ["alt" => "Alt hier"]], "method"falsefalsefalse125);
  311.                 echo "
  312. \t\t\t\t\t\t\t</div>
  313. \t\t\t\t\t\t";
  314.             }
  315.             // line 128
  316.             echo "
  317. \t\t\t\t\t\t";
  318.             // line 130
  319.             echo "\t\t\t\t\t\t<div class=\"name\">
  320. \t\t\t\t\t\t\t<span>";
  321.             // line 131
  322.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["person"], "firstname", [], "any"falsefalsefalse131) . " ") . twig_get_attribute($this->env$this->source$context["person"], "lastname", [], "any"falsefalsefalse131)), "html"nulltrue);
  323.             echo "</span>
  324. \t\t\t\t\t\t</div>
  325. \t\t\t\t\t\t<div class=\"text-wave\">
  326. \t\t\t\t\t\t\t";
  327.             // line 135
  328.             echo twig_include($this->env$context"svg/text-wave/text-wave.html.twig");
  329.             echo "
  330. \t\t\t\t\t\t</div>
  331. \t\t\t\t\t\t";
  332.             // line 139
  333.             echo "\t\t\t\t\t\t";
  334.             if (twig_get_attribute($this->env$this->source$context["person"], "functions", [], "any"falsefalsefalse139)) {
  335.                 // line 140
  336.                 echo "\t\t\t\t\t\t\t<div class=\"functions\">
  337. \t\t\t\t\t\t\t\t<p>
  338. \t\t\t\t\t\t\t\t\t";
  339.                 // line 142
  340.                 echo twig_nl2br(twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["person"], "functions", [], "any"falsefalsefalse142), "html"nulltrue));
  341.                 echo "
  342. \t\t\t\t\t\t\t\t</p>
  343. \t\t\t\t\t\t\t</div>
  344. \t\t\t\t\t\t";
  345.             }
  346.             // line 146
  347.             echo "
  348. \t\t\t\t\t\t";
  349.             // line 148
  350.             echo "\t\t\t\t\t\t";
  351.             if (twig_get_attribute($this->env$this->source$context["person"], "email", [], "any"falsefalsefalse148)) {
  352.                 // line 149
  353.                 echo "\t\t\t\t\t\t\t<div class=\"email\">
  354. \t\t\t\t\t\t\t\t<a href=\"";
  355.                 // line 150
  356.                 echo $this->extensions['App\Twig\Extension\EncodeEmailExtension']->encodeEmail(("mailto:" twig_get_attribute($this->env$this->source$context["person"], "email", [], "any"falsefalsefalse150)));
  357.                 echo "\" target=\"_blank\">";
  358.                 echo $this->extensions['App\Twig\Extension\EncodeEmailExtension']->encodeEmail(twig_get_attribute($this->env$this->source$context["person"], "email", [], "any"falsefalsefalse150));
  359.                 echo "</a>
  360. \t\t\t\t\t\t\t</div>
  361. \t\t\t\t\t\t";
  362.             }
  363.             // line 153
  364.             echo "
  365. \t\t\t\t\t</div>
  366. \t\t\t\t";
  367.             ++$context['loop']['index0'];
  368.             ++$context['loop']['index'];
  369.             $context['loop']['first'] = false;
  370.             if (isset($context['loop']['length'])) {
  371.                 --$context['loop']['revindex0'];
  372.                 --$context['loop']['revindex'];
  373.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  374.             }
  375.         }
  376.         $_parent $context['_parent'];
  377.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['person'], $context['_parent'], $context['loop']);
  378.         $context array_intersect_key($context$_parent) + $_parent;
  379.         // line 157
  380.         echo "
  381. \t\t\t</div>
  382. \t\t</div>
  383. \t</div>
  384. ";
  385.         
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  387.         
  388.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  389.     }
  390.     public function getTemplateName()
  391.     {
  392.         return "areas/team/view.html.twig";
  393.     }
  394.     public function isTraitable()
  395.     {
  396.         return false;
  397.     }
  398.     public function getDebugInfo()
  399.     {
  400.         return array (  412 => 157,  395 => 153,  387 => 150,  384 => 149,  381 => 148,  378 => 146,  371 => 142,  367 => 140,  364 => 139,  358 => 135,  351 => 131,  348 => 130,  345 => 128,  339 => 125,  336 => 124,  333 => 123,  328 => 120,  324 => 118,  310 => 117,  307 => 116,  304 => 115,  301 => 114,  298 => 113,  295 => 112,  278 => 111,  275 => 110,  273 => 109,  270 => 108,  253 => 107,  249 => 105,  243 => 100,  236 => 98,  230 => 95,  225 => 94,  222 => 93,  219 => 91,  215 => 90,  209 => 86,  202 => 81,  195 => 77,  188 => 73,  182 => 69,  179 => 67,  172 => 63,  168 => 61,  165 => 60,  159 => 55,  153 => 53,  150 => 52,  143 => 49,  139 => 47,  128 => 39,  120 => 34,  110 => 27,  104 => 23,  101 => 22,  98 => 20,  95 => 17,  92 => 15,  89 => 14,  86 => 13,  83 => 12,  80 => 10,  77 => 9,  74 => 8,  71 => 7,  68 => 5,  58 => 4,  35 => 2,);
  401.     }
  402.     public function getSourceContext()
  403.     {
  404.         return new Source("{# settings #}
  405. {% extends ('areas_shared/settings.html.twig') %}
  406. {% block content %}
  407. \t{# default margin #}
  408. \t{% if marginBottom.isEmpty() %}
  409. \t\t{% do marginBottom.setDataFromResource('full-margin-bottom') %}
  410. \t{% endif %}
  411. \t{# default background color #}
  412. \t{% if backgroundColor.isEmpty() %}
  413. \t\t{% do backgroundColor.setDataFromResource('background-white') %}
  414. \t{% endif %}
  415. \t{# title #}
  416. \t{% set title = pimcore_input('title', {
  417.         'placeholder': 'Titel'
  418.     }) %}
  419. \t{# editmode #}
  420. \t{% if editmode %}
  421. \t\t<div class=\"editmode\">
  422. \t\t\t<div class=\"accordion-container\">
  423. \t\t\t\t<div class=\"accordion-button\">
  424. \t\t\t\t\t<span class=\"accordion-button-text\">Team</span>
  425. \t\t\t\t\t{{ include('svg/editmode/setting.html.twig') }}
  426. \t\t\t\t</div>
  427. \t\t\t\t<div class=\"panel\">
  428. \t\t\t\t\t<div class=\"settings-container\">
  429. \t\t\t\t\t\t<div class=\"setting input\">
  430. \t\t\t\t\t\t\t<label>Anker:</label>
  431. \t\t\t\t\t\t\t{{ anchor|raw }}
  432. \t\t\t\t\t\t</div>
  433. \t\t\t\t\t\t<div class=\"setting select\">
  434. \t\t\t\t\t\t\t<label>Abstand unten:</label>
  435. \t\t\t\t\t\t\t{{ marginBottom|raw }}
  436. \t\t\t\t\t\t</div>
  437. \t\t\t\t\t</div>
  438. \t\t\t\t</div>
  439. \t\t\t</div>
  440. \t\t</div>
  441. \t{% endif %}
  442. \t<div
  443. \t\tclass=\"team-brick brick-container {{ backgroundColor.data }} {{ marginBottom.data }}\">
  444. \t\t{# anchor #}
  445. \t\t{% if anchor.data %}
  446. \t\t\t<div class=\"anchor\" id=\"{{ anchor.data }}\"></div>
  447. \t\t{% endif %}
  448. \t\t<div
  449. \t\t\tclass=\"container-1420\">
  450. \t\t\t{# title #}
  451. \t\t\t{% if editmode or title.data %}
  452. \t\t\t\t<div class=\"title\">
  453. \t\t\t\t\t<h2>
  454. \t\t\t\t\t\t{{ title|raw }}
  455. \t\t\t\t\t</h2>
  456. \t\t\t\t</div>
  457. \t\t\t{% endif %}
  458. \t\t\t{# mobile toggle filter #}
  459. \t\t\t<div class=\"toggle-department-filter\" id=\"toggleDepartmentFilter\">
  460. \t\t\t\t<div class=\"icon\">
  461. \t\t\t\t\t<div class=\"vertical\">
  462. \t\t\t\t\t\t{{ include('svg/akkordeon/akkordeon-vertical-icon.html.twig') }}
  463. \t\t\t\t\t</div>
  464. \t\t\t\t\t<div class=\"horizontal\">
  465. \t\t\t\t\t\t{{ include('svg/akkordeon/akkordeon-horizontal-icon.html.twig') }}
  466. \t\t\t\t\t</div>
  467. \t\t\t\t</div>
  468. \t\t\t\t<span>{{ 'team.departments.mobile-filter'|trans }}</span>
  469. \t\t\t</div>
  470. \t\t\t{# departments #}
  471. \t\t\t<div class=\"departments-container\">
  472. \t\t\t\t<div class=\"departments hidden\" id=\"departments\">
  473. \t\t\t\t\t{% for department in departments %}
  474. \t\t\t\t\t\t{# only show departments with persons #}
  475. \t\t\t\t\t\t{% if department.hasPersons %}
  476. \t\t\t\t\t\t\t<div class=\"department\" data-id=\"{{ department.id }}\">
  477. \t\t\t\t\t\t\t\t<span>{{ department.title }}</span>
  478. \t\t\t\t\t\t\t</div>
  479. \t\t\t\t\t\t{% endif %}
  480. \t\t\t\t\t{% endfor %}
  481. \t\t\t\t</div>
  482. \t\t\t</div>
  483. \t\t\t{# persons #}
  484. \t\t\t<div class=\"persons\">
  485. \t\t\t\t{% for person in persons %}
  486. \t\t\t\t\t{% set departments = '' %}
  487. \t\t\t\t\t{% for department in person.departments %}
  488. \t\t\t\t\t\t{% if loop.last %}
  489. \t\t\t\t\t\t\t{% set departments = departments ~ department.id %}
  490. \t\t\t\t\t\t{% else %}
  491. \t\t\t\t\t\t\t{% set departments = departments ~ department.id ~ ',' %}
  492. \t\t\t\t\t\t{% endif %}
  493. \t\t\t\t\t{% endfor %}
  494. \t\t\t\t\t<div
  495. \t\t\t\t\t\tclass=\"person active\" data-departments=\"{{ departments }}\">
  496. \t\t\t\t\t\t{# image #}
  497. \t\t\t\t\t\t{% if person.image %}
  498. \t\t\t\t\t\t\t<div class=\"image\">
  499. \t\t\t\t\t\t\t\t{{ person.image.thumbnail('team').html({'alt': 'Alt hier'})|raw }}
  500. \t\t\t\t\t\t\t</div>
  501. \t\t\t\t\t\t{% endif %}
  502. \t\t\t\t\t\t{# name #}
  503. \t\t\t\t\t\t<div class=\"name\">
  504. \t\t\t\t\t\t\t<span>{{ person.firstname ~ ' ' ~ person.lastname }}</span>
  505. \t\t\t\t\t\t</div>
  506. \t\t\t\t\t\t<div class=\"text-wave\">
  507. \t\t\t\t\t\t\t{{ include('svg/text-wave/text-wave.html.twig') }}
  508. \t\t\t\t\t\t</div>
  509. \t\t\t\t\t\t{# functions #}
  510. \t\t\t\t\t\t{% if person.functions %}
  511. \t\t\t\t\t\t\t<div class=\"functions\">
  512. \t\t\t\t\t\t\t\t<p>
  513. \t\t\t\t\t\t\t\t\t{{ person.functions|nl2br }}
  514. \t\t\t\t\t\t\t\t</p>
  515. \t\t\t\t\t\t\t</div>
  516. \t\t\t\t\t\t{% endif %}
  517. \t\t\t\t\t\t{# email #}
  518. \t\t\t\t\t\t{% if person.email %}
  519. \t\t\t\t\t\t\t<div class=\"email\">
  520. \t\t\t\t\t\t\t\t<a href=\"{{ encodeEmail('mailto:' ~ person.email)|raw }}\" target=\"_blank\">{{ encodeEmail(person.email)|raw }}</a>
  521. \t\t\t\t\t\t\t</div>
  522. \t\t\t\t\t\t{% endif %}
  523. \t\t\t\t\t</div>
  524. \t\t\t\t{% endfor %}
  525. \t\t\t</div>
  526. \t\t</div>
  527. \t</div>
  528. {% endblock %}
  529. ""areas/team/view.html.twig""/home/httpd/vhosts/a4interactive.ch/httpdocs/lutisbach.a4interactive.ch/templates/areas/team/view.html.twig");
  530.     }
  531. }