var/cache/dev/twig/ba/bab747f467e8902d95ec6d525052d2b074eb4550b206e76687152537d76c3a3e.php line 142

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. /* document/areabricks/current-achievements-brick/view.html.twig */
  14. class __TwigTemplate_62f7f69dae4a3d9df3814e2f9e3603d3bc2534c8222e949834de5509a47e58aa 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.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""document/areabricks/current-achievements-brick/view.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""document/areabricks/current-achievements-brick/view.html.twig"));
  33.         // line 27
  34.         echo "<div id=\"";
  35.         echo twig_escape_filter($this->env, ("areabrick_achievements_list" . (isset($context["brickId"]) || array_key_exists("brickId"$context) ? $context["brickId"] : (function () { throw new RuntimeError('Variable "brickId" does not exist.'27$this->source); })())), "html"nulltrue);
  36.         echo "\"
  37.   class=\"max-w-[90vw] overflow-x-scroll lg:overflow-auto\">
  38.   <div class=\"grid w-full grid-cols-12 gap-2 px-5 py-2 text-sm font-bold text-white uppercase bg-primary-500\"
  39.     style=\"min-width: 1024px\">
  40.     <div>
  41.       ";
  42.         // line 32
  43.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile.achievements.date"), "html"nulltrue);
  44.         echo "
  45.     </div>
  46.     <div class=\"flex col-span-2\">
  47.       ";
  48.         // line 35
  49.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile.achievements.horse"), "html"nulltrue);
  50.         echo "
  51.     </div>
  52.     <div class=\"col-span-2\">
  53.       ";
  54.         // line 38
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile.achievements.racingtrack"), "html"nulltrue);
  56.         echo "
  57.     </div>
  58.     <div class=\"col-span-5\">
  59.       ";
  60.         // line 42
  61.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile.achievements.description"), "html"nulltrue);
  62.         echo "
  63.     </div>
  64.     <div class=\"col-span-2\">
  65.       ";
  66.         // line 45
  67.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile.achievements.participants"), "html"nulltrue);
  68.         echo "
  69.     </div>
  70.   </div>
  71.   ";
  72.         // line 48
  73.         $context['_parent'] = $context;
  74.         $context['_seq'] = twig_ensure_traversable((isset($context["achievements"]) || array_key_exists("achievements"$context) ? $context["achievements"] : (function () { throw new RuntimeError('Variable "achievements" does not exist.'48$this->source); })()));
  75.         foreach ($context['_seq'] as $context["_key"] => $context["achievement"]) {
  76.             // line 49
  77.             echo "    <div class=\"grid items-center w-full grid-cols-12 gap-2 px-5 py-2 text-sm even:bg-white odd:bg-neutral-50\"
  78.       style=\"min-width: 1024px\">
  79.       <div>
  80.         ";
  81.             // line 52
  82.             if (twig_get_attribute($this->env$this->source$context["achievement"], "date", [], "any"falsefalsefalse52)) {
  83.                 // line 53
  84.                 echo "          ";
  85.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["achievement"], "date", [], "any"falsefalsefalse53), "d.m.Y"), "html"nulltrue);
  86.                 echo "
  87.         ";
  88.             } else {
  89.                 // line 55
  90.                 echo "          ";
  91.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("achievement.item.no.date"), "html"nulltrue);
  92.                 echo "
  93.         ";
  94.             }
  95.             // line 57
  96.             echo "      </div>
  97.       <div class=\"col-span-2 font-headline\">
  98.         ";
  99.             // line 59
  100.             if (twig_get_attribute($this->env$this->source$context["achievement"], "horse", [], "any"falsefalsefalse59)) {
  101.                 // line 60
  102.                 echo "          <a class=\"font-medium hover:opacity-70\"
  103.             href=\"";
  104.                 // line 61
  105.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["object" => twig_get_attribute($this->env$this->source$context["achievement"], "horse", [], "any"falsefalsefalse61)]), "html"nulltrue);
  106.                 echo "\">
  107.             ";
  108.                 // line 62
  109.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "horse", [], "any"falsefalsefalse62), "displayName", [], "any"falsefalsefalse62), "html"nulltrue);
  110.                 echo "
  111.           </a>
  112.           ";
  113.                 // line 65
  114.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "horse", [], "any"falsefalsefalse65), "father", [], "any"falsefalsefalse65)) {
  115.                     // line 66
  116.                     echo "      <br>
  117.         <p>";
  118.                     // line 67
  119.                     echo twig_escape_filter($this->env, ("v. " twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "horse", [], "any"falsefalsefalse67), "father", [], "any"falsefalsefalse67)), "html"nulltrue);
  120.                     echo "</span>
  121.       ";
  122.                 }
  123.                 // line 69
  124.                 echo "        ";
  125.             }
  126.             // line 70
  127.             echo "      </div>
  128.       <div class=\"col-span-2\">
  129.         ";
  130.             // line 72
  131.             if (twig_get_attribute($this->env$this->source$context["achievement"], "racingtrack", [], "any"falsefalsefalse72)) {
  132.                 // line 73
  133.                 echo "          <a class=\"flex items-center gap-1 hover:opacity-70\"
  134.             href=\"";
  135.                 // line 74
  136.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["object" => twig_get_attribute($this->env$this->source$context["achievement"], "racingtrack", [], "any"falsefalsefalse74)]), "html"nulltrue);
  137.                 echo "\">
  138.             ";
  139.                 // line 75
  140.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "racingtrack", [], "any"falsefalsefalse75), "country", [], "any"falsefalsefalse75)) {
  141.                     // line 76
  142.                     echo "              <img class=\"object-contain w-6 h-6\"
  143.                 loading=\"lazy\"
  144.                 src=\"https://flagcdn.com/w320/";
  145.                     // line 78
  146.                     echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "racingtrack", [], "any"falsefalsefalse78), "country", [], "any"falsefalsefalse78)), "html"nulltrue);
  147.                     echo ".png\"
  148.                 alt=\"";
  149.                     // line 79
  150.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "racingtrack", [], "any"falsefalsefalse79), "country", [], "any"falsefalsefalse79), "html"nulltrue);
  151.                     echo "\" />
  152.             ";
  153.                 }
  154.                 // line 81
  155.                 echo "            ";
  156.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "racingtrack", [], "any"falsefalsefalse81), "name", [], "any"falsefalsefalse81), "html"nulltrue);
  157.                 echo "
  158.           </a>
  159.         ";
  160.             } else {
  161.                 // line 84
  162.                 echo "          ";
  163.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("achievement.item.no.racingtrack"), "html"nulltrue);
  164.                 echo "
  165.         ";
  166.             }
  167.             // line 86
  168.             echo "      </div>
  169.       <div class=\"col-span-5\">
  170.         <span class=\"font-semibold\">";
  171.             // line 89
  172.             echo twig_escape_filter($this->env, (("(" $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["achievement"], "category", [], "any"falsefalsefalse89))) . ")"), "html"nulltrue);
  173.             echo "</span>
  174.         </br>
  175.         ";
  176.             // line 91
  177.             echo twig_get_attribute($this->env$this->source$context["achievement"], "description", [], "any"falsefalsefalse91);
  178.             echo "
  179.       </div>
  180.       <div class=\"flex flex-wrap col-span-2 gap-2\">
  181.         ";
  182.             // line 103
  183.             echo "        ";
  184.             if (twig_get_attribute($this->env$this->source$context["achievement"], "profile", [], "any"falsefalsefalse103)) {
  185.                 // line 104
  186.                 echo "          <a title=\"";
  187.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "profile", [], "any"falsefalsefalse104), "name", [], "any"falsefalsefalse104), "html"nulltrue);
  188.                 echo "\"
  189.             class=\"\"
  190.             href=\"";
  191.                 // line 106
  192.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["object" => twig_get_attribute($this->env$this->source$context["achievement"], "profile", [], "any"falsefalsefalse106)]), "html"nulltrue);
  193.                 echo "\">
  194.             ";
  195.                 // line 107
  196.                 $this->loadTemplate("component/avatar.html.twig""document/areabricks/current-achievements-brick/view.html.twig"107)->display(twig_to_array(["avatar" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 108
  197. $context["achievement"], "profile", [], "any"falsefalsefalse108), "avatar", [], "any"falsefalsefalse108), "initials" => $this->extensions['App\Core\Twig\Extension\InitialsExtension']->generateInitials(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 109
  198. $context["achievement"], "profile", [], "any"falsefalsefalse109), "name", [], "any"falsefalsefalse109)), "size" => "tiny"]));
  199.                 // line 112
  200.                 echo "          </a>
  201.         ";
  202.             }
  203.             // line 114
  204.             echo "
  205.         ";
  206.             // line 115
  207.             $context['_parent'] = $context;
  208.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["achievement"], "profiles", [], "any"falsefalsefalse115));
  209.             foreach ($context['_seq'] as $context["_key"] => $context["profile"]) {
  210.                 // line 116
  211.                 echo "          ";
  212.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["achievement"], "profile", [], "any"falsefalsefalse116), "id", [], "any"falsefalsefalse116) != twig_get_attribute($this->env$this->source$context["profile"], "id", [], "any"falsefalsefalse116))) {
  213.                     // line 117
  214.                     echo "            <a title=\"";
  215.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "name", [], "any"falsefalsefalse117), "html"nulltrue);
  216.                     echo "\" class=\"\" href=\"";
  217.                     echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["object" => $context["profile"]]), "html"nulltrue);
  218.                     echo "\">
  219.               ";
  220.                     // line 118
  221.                     $this->loadTemplate("component/avatar.html.twig""document/areabricks/current-achievements-brick/view.html.twig"118)->display(twig_to_array(["avatar" => twig_get_attribute($this->env$this->source,                     // line 119
  222. $context["profile"], "avatar", [], "any"falsefalsefalse119), "initials" => $this->extensions['App\Core\Twig\Extension\InitialsExtension']->generateInitials(twig_get_attribute($this->env$this->source,                     // line 120
  223. $context["profile"], "name", [], "any"falsefalsefalse120)), "size" => "tiny"]));
  224.                     // line 123
  225.                     echo "            </a>
  226.           ";
  227.                 }
  228.                 // line 125
  229.                 echo "        ";
  230.             }
  231.             $_parent $context['_parent'];
  232.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['profile'], $context['_parent'], $context['loop']);
  233.             $context array_intersect_key($context$_parent) + $_parent;
  234.             // line 126
  235.             echo "      </div>
  236.     </div>
  237.   ";
  238.         }
  239.         $_parent $context['_parent'];
  240.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['achievement'], $context['_parent'], $context['loop']);
  241.         $context array_intersect_key($context$_parent) + $_parent;
  242.         // line 129
  243.         echo "</div>
  244. ";
  245.         // line 130
  246.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'130$this->source); })()), "offset", [], "any"falsefalsefalse130), "vars", [], "any"falsefalsefalse130), "value", [], "any"falsefalsefalse130) < (isset($context["totalCount"]) || array_key_exists("totalCount"$context) ? $context["totalCount"] : (function () { throw new RuntimeError('Variable "totalCount" does not exist.'130$this->source); })()))) {
  247.             // line 131
  248.             echo "  <div class=\"flex justify-center w-full\" id=\"";
  249.             echo twig_escape_filter($this->env, ("areabrick_load_button" . (isset($context["brickId"]) || array_key_exists("brickId"$context) ? $context["brickId"] : (function () { throw new RuntimeError('Variable "brickId" does not exist.'131$this->source); })())), "html"nulltrue);
  250.             echo "\">
  251.     ";
  252.             // line 132
  253.             echo             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'132$this->source); })()), 'form_start');
  254.             echo "
  255.     ";
  256.             // line 133
  257.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'133$this->source); })()), "offset", [], "any"falsefalsefalse133), 'widget', ["value" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'133$this->source); })()), "offset", [], "any"falsefalsefalse133), "vars", [], "any"falsefalsefalse133), "value", [], "any"falsefalsefalse133)]);
  258.             echo "
  259.     ";
  260.             // line 135
  261.             echo "    ";
  262.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'135$this->source); })()), "submit", [], "any"falsefalsefalse135), 'widget', ["attr" => ["class" => "btn btn-sm btn-neutral my-4 mx-auto"]]);
  263.             echo "
  264.     ";
  265.             // line 137
  266.             echo             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'137$this->source); })()), 'form_end');
  267.             echo "
  268.   </div>
  269. ";
  270.         }
  271.         
  272.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  273.         
  274.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  275.     }
  276.     public function getTemplateName()
  277.     {
  278.         return "document/areabricks/current-achievements-brick/view.html.twig";
  279.     }
  280.     public function isTraitable()
  281.     {
  282.         return false;
  283.     }
  284.     public function getDebugInfo()
  285.     {
  286.         return array (  279 => 137,  273 => 135,  269 => 133,  265 => 132,  260 => 131,  258 => 130,  255 => 129,  247 => 126,  241 => 125,  237 => 123,  235 => 120,  234 => 119,  233 => 118,  226 => 117,  223 => 116,  219 => 115,  216 => 114,  212 => 112,  210 => 109,  209 => 108,  208 => 107,  204 => 106,  198 => 104,  195 => 103,  189 => 91,  184 => 89,  179 => 86,  173 => 84,  166 => 81,  161 => 79,  157 => 78,  153 => 76,  151 => 75,  147 => 74,  144 => 73,  142 => 72,  138 => 70,  135 => 69,  130 => 67,  127 => 66,  125 => 65,  119 => 62,  115 => 61,  112 => 60,  110 => 59,  106 => 57,  100 => 55,  94 => 53,  92 => 52,  87 => 49,  83 => 48,  77 => 45,  71 => 42,  64 => 38,  58 => 35,  52 => 32,  43 => 27,);
  287.     }
  288.     public function getSourceContext()
  289.     {
  290.         return new Source("{# {% set viewAll = pimcore_input('view-all', { placeholder: 'Linktext' }) %}
  291. <div>
  292.   <div class=\"grid gap-4\">
  293.     {% for raceday in racedays %}
  294.       {% include 'document/areabricks/current-races-brick/race-tile.html.twig' with {
  295.         raceday: raceday.day,
  296.         races: raceday.races
  297.       } %}
  298.     {% else %}
  299.       {% include 'document/areabricks/current-races-brick/empty-tile.html.twig' %}
  300.     {% endfor %}
  301.   </div>
  302.   {% if editmode or pimcore_link('view-full') is not empty %}
  303.     <div class=\"mt-12\">
  304.       {% set link = pimcore_link('view-full', { placeholder: 'Link' }) %}
  305.       {% include 'component/button.html.twig' with {
  306.         text: editmode ? link : link.text,
  307.         type: 'primary',
  308.         icon_after: 'arrow-right-tail',
  309.         attr: { href: link.href, class: 'w-full' }
  310.       } only %}
  311.     </div>
  312.   {% endif %}
  313. </div> #}
  314. <div id=\"{{ 'areabrick_achievements_list' ~ brickId }}\"
  315.   class=\"max-w-[90vw] overflow-x-scroll lg:overflow-auto\">
  316.   <div class=\"grid w-full grid-cols-12 gap-2 px-5 py-2 text-sm font-bold text-white uppercase bg-primary-500\"
  317.     style=\"min-width: 1024px\">
  318.     <div>
  319.       {{ 'profile.achievements.date'|trans }}
  320.     </div>
  321.     <div class=\"flex col-span-2\">
  322.       {{ 'profile.achievements.horse'|trans }}
  323.     </div>
  324.     <div class=\"col-span-2\">
  325.       {{ 'profile.achievements.racingtrack'|trans }}
  326.     </div>
  327.     <div class=\"col-span-5\">
  328.       {{ 'profile.achievements.description'|trans }}
  329.     </div>
  330.     <div class=\"col-span-2\">
  331.       {{ 'profile.achievements.participants'|trans }}
  332.     </div>
  333.   </div>
  334.   {% for achievement in achievements %}
  335.     <div class=\"grid items-center w-full grid-cols-12 gap-2 px-5 py-2 text-sm even:bg-white odd:bg-neutral-50\"
  336.       style=\"min-width: 1024px\">
  337.       <div>
  338.         {% if achievement.date %}
  339.           {{ achievement.date|date('d.m.Y') }}
  340.         {% else %}
  341.           {{ 'achievement.item.no.date'|trans }}
  342.         {% endif %}
  343.       </div>
  344.       <div class=\"col-span-2 font-headline\">
  345.         {% if achievement.horse %}
  346.           <a class=\"font-medium hover:opacity-70\"
  347.             href=\"{{ pimcore_url({ object: achievement.horse }) }}\">
  348.             {{ achievement.horse.displayName }}
  349.           </a>
  350.           {% if achievement.horse.father %}
  351.       <br>
  352.         <p>{{'v. ' ~ achievement.horse.father}}</span>
  353.       {% endif %}
  354.         {% endif %}
  355.       </div>
  356.       <div class=\"col-span-2\">
  357.         {% if achievement.racingtrack %}
  358.           <a class=\"flex items-center gap-1 hover:opacity-70\"
  359.             href=\"{{ pimcore_url({ object: achievement.racingtrack }) }}\">
  360.             {% if achievement.racingtrack.country %}
  361.               <img class=\"object-contain w-6 h-6\"
  362.                 loading=\"lazy\"
  363.                 src=\"https://flagcdn.com/w320/{{ achievement.racingtrack.country|lower }}.png\"
  364.                 alt=\"{{ achievement.racingtrack.country }}\" />
  365.             {% endif %}
  366.             {{ achievement.racingtrack.name }}
  367.           </a>
  368.         {% else %}
  369.           {{ 'achievement.item.no.racingtrack'|trans }}
  370.         {% endif %}
  371.       </div>
  372.       <div class=\"col-span-5\">
  373.         <span class=\"font-semibold\">{{ '(' ~ (achievement.category|trans) ~ ')' }}</span>
  374.         </br>
  375.         {{ achievement.description|raw }}
  376.       </div>
  377.       <div class=\"flex flex-wrap col-span-2 gap-2\">
  378.         {# {% for profile in achievement.profiles %}
  379.           <a title=\"{{ profile.name }}\" class=\"\" href=\"{{ pimcore_url({ object: profile }) }}\">
  380.             {% include 'component/avatar.html.twig' with {
  381.               avatar: profile.avatar,
  382.               initials: profile.name|initials,
  383.               size: 'tiny'
  384.             } only %}
  385.           </a>
  386.         {% endfor %} #}
  387.         {% if achievement.profile %}
  388.           <a title=\"{{ achievement.profile.name }}\"
  389.             class=\"\"
  390.             href=\"{{ pimcore_url({ object: achievement.profile }) }}\">
  391.             {% include 'component/avatar.html.twig' with {
  392.               avatar: achievement.profile.avatar,
  393.               initials: achievement.profile.name|initials,
  394.               size: 'tiny'
  395.             } only %}
  396.           </a>
  397.         {% endif %}
  398.         {% for profile in achievement.profiles %}
  399.           {% if achievement.profile.id != profile.id %}
  400.             <a title=\"{{ profile.name }}\" class=\"\" href=\"{{ pimcore_url({ object: profile }) }}\">
  401.               {% include 'component/avatar.html.twig' with {
  402.                 avatar: profile.avatar,
  403.                 initials: profile.name|initials,
  404.                 size: 'tiny'
  405.               } only %}
  406.             </a>
  407.           {% endif %}
  408.         {% endfor %}
  409.       </div>
  410.     </div>
  411.   {% endfor %}
  412. </div>
  413. {% if form.offset.vars.value < totalCount %}
  414.   <div class=\"flex justify-center w-full\" id=\"{{ 'areabrick_load_button' ~ brickId }}\">
  415.     {{ form_start(form) }}
  416.     {{ form_widget(form.offset, { value: form.offset.vars.value }) }}
  417.     {# {{ button.submit('show-more'|trans, 'neutral', { size: 'sm' }) }} #}
  418.     {{ form_widget(form.submit, { attr: { class: 'btn btn-sm btn-neutral my-4 mx-auto' } }) }}
  419.     {{ form_end(form) }}
  420.   </div>
  421. {% endif %}
  422. ""document/areabricks/current-achievements-brick/view.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/document/areabricks/current-achievements-brick/view.html.twig");
  423.     }
  424. }