<?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;

/* widget/widget-userteams.html.twig */
class __TwigTemplate_b81b1ff4e64263fa681800b3ff09186e76171779a9d6d5c89647e9faa91d978d 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 1
        $context["teams"] = ($context["data"] ?? null);
        // line 2
        $context["title"] = ((twig_get_attribute($this->env, $this->source, ($context["options"] ?? null), "title", [], "any", true, true, false, 2)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["options"] ?? null), "title", [], "any", false, false, false, 2), (((isset($context["title"]) || array_key_exists("title", $context))) ? (_twig_default_filter(($context["title"] ?? null), "label.teams")) : ("label.teams")))) : ((((isset($context["title"]) || array_key_exists("title", $context))) ? (_twig_default_filter(($context["title"] ?? null), "label.teams")) : ("label.teams"))));
        // line 3
        $context["widgetId"] = twig_get_attribute($this->env, $this->source, ($context["options"] ?? null), "id", [], "any", false, false, false, 3);
        // line 4
        echo "
";
        // line 5
        if (1 === twig_compare(twig_length_filter($this->env, ($context["teams"] ?? null)), 0)) {
            // line 6
            echo "<div class=\"row\">
    <div class=\"col-md-12\">
        ";
            // line 8
            $this->loadTemplate("widget/widget-userteams.html.twig", "widget/widget-userteams.html.twig", 8, "539421442")->display(twig_array_merge($context, ["border" => false]));
            // line 17
            echo "    </div>
</div>
";
        }
    }

    public function getTemplateName()
    {
        return "widget/widget-userteams.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  54 => 17,  52 => 8,  48 => 6,  46 => 5,  43 => 4,  41 => 3,  39 => 2,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "widget/widget-userteams.html.twig", "/var/www/html/kimai2/templates/widget/widget-userteams.html.twig");
    }
}


/* widget/widget-userteams.html.twig */
class __TwigTemplate_b81b1ff4e64263fa681800b3ff09186e76171779a9d6d5c89647e9faa91d978d___539421442 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'box_title' => [$this, 'block_box_title'],
            'box_attributes' => [$this, 'block_box_attributes'],
            'box_body_class' => [$this, 'block_box_body_class'],
            'box_body' => [$this, 'block_box_body'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 8
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 9
        $macros["widgets"] = $this->macros["widgets"] = $this->loadTemplate("macros/widgets.html.twig", "widget/widget-userteams.html.twig", 9)->unwrap();
        // line 8
        $this->parent = $this->loadTemplate("@AdminLTE/Widgets/box-widget.html.twig", "widget/widget-userteams.html.twig", 8);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 10
    public function block_box_title($context, array $blocks = [])
    {
        $macros = $this->macros;
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(($context["title"] ?? null)), "html", null, true);
    }

    // line 11
    public function block_box_attributes($context, array $blocks = [])
    {
        $macros = $this->macros;
        echo "id=\"";
        echo twig_escape_filter($this->env, ($context["widgetId"] ?? null), "html", null, true);
        echo "\"";
    }

    // line 12
    public function block_box_body_class($context, array $blocks = [])
    {
        $macros = $this->macros;
        echo "no-padding";
    }

    // line 13
    public function block_box_body($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 14
        echo "                ";
        echo twig_call_macro($macros["widgets"], "macro_team_list", [($context["teams"] ?? null), false], 14, $context, $this->getSourceContext());
        echo "
            ";
    }

    public function getTemplateName()
    {
        return "widget/widget-userteams.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  146 => 14,  142 => 13,  135 => 12,  126 => 11,  119 => 10,  114 => 8,  112 => 9,  105 => 8,  54 => 17,  52 => 8,  48 => 6,  46 => 5,  43 => 4,  41 => 3,  39 => 2,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "widget/widget-userteams.html.twig", "/var/www/html/kimai2/templates/widget/widget-userteams.html.twig");
    }
}
