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

/* user/delete.html.twig */
class __TwigTemplate_78d892870af9d35569d9af5f27b7d1af24854fbf0ba57edcc3f7b38e98305239 extends Template
{
    private $source;
    private $macros = [];

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

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

        $this->blocks = [
            'page_title' => [$this, 'block_page_title'],
            'main' => [$this, 'block_main'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return $this->loadTemplate(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 1), "xmlHttpRequest", [], "any", false, false, false, 1)) ? ("form.html.twig") : ("base.html.twig")), "user/delete.html.twig", 1);
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        $macros["widgets"] = $this->macros["widgets"] = $this->loadTemplate("macros/widgets.html.twig", "user/delete.html.twig", 2)->unwrap();
        // line 3
        $macros["tables"] = $this->macros["tables"] = $this->loadTemplate("macros/datatables.html.twig", "user/delete.html.twig", 3)->unwrap();
        // line 1
        $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
    }

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

    // line 7
    public function block_main($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 8
        echo "
    ";
        // line 9
        $context["inUse"] = 1 === twig_compare(twig_get_attribute($this->env, $this->source, ($context["stats"] ?? null), "recordsTotal", [], "any", false, false, false, 9), 0);
        // line 10
        echo "
    ";
        // line 11
        $context["params"] = ["%user%" => (("<strong>" . twig_call_macro($macros["widgets"], "macro_username", [        // line 12
($context["user"] ?? null)], 12, $context, $this->getSourceContext())) . "</strong>"), "%records%" => (("<strong>" . twig_get_attribute($this->env, $this->source,         // line 13
($context["stats"] ?? null), "recordsTotal", [], "any", false, false, false, 13)) . "</strong>"), "%duration%" => (("<strong>" . $this->extensions['App\Twig\LocaleExtensions']->duration(twig_get_attribute($this->env, $this->source,         // line 14
($context["stats"] ?? null), "durationTotal", [], "any", false, false, false, 14))) . "</strong>")];
        // line 16
        echo "
    ";
        // line 17
        $context["message"] = (("<p>" . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin_user.short_stats", ($context["params"] ?? null))) . "</p>");
        // line 18
        echo "
    ";
        // line 19
        echo twig_include($this->env, $context, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 19), "xmlHttpRequest", [], "any", false, false, false, 19)) ? ("default/_form_delete_modal.html.twig") : ("default/_form_delete.html.twig")), ["message" =>         // line 20
($context["message"] ?? null), "form" =>         // line 21
($context["form"] ?? null), "used" =>         // line 22
($context["inUse"] ?? null), "back" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_user")]);
        // line 24
        echo "

";
    }

    public function getTemplateName()
    {
        return "user/delete.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  88 => 24,  86 => 22,  85 => 21,  84 => 20,  83 => 19,  80 => 18,  78 => 17,  75 => 16,  73 => 14,  72 => 13,  71 => 12,  70 => 11,  67 => 10,  65 => 9,  62 => 8,  58 => 7,  51 => 5,  47 => 1,  45 => 3,  43 => 2,  36 => 1,);
    }

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