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

/* timesheet-team/index.html.twig */
class __TwigTemplate_d5df0491bd6af5a3696ab655da5896a858648a3921deb8747e5e488cca2df47e 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'],
            'page_actions' => [$this, 'block_page_actions'],
            'row_action' => [$this, 'block_row_action'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "timesheet/layout-listing.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        $macros["actions"] = $this->macros["actions"] = $this->loadTemplate("timesheet-team/actions.html.twig", "timesheet-team/index.html.twig", 2)->unwrap();
        // line 4
        $context["tableName"] = "timesheet_admin";
        // line 5
        $context["paginationRoute"] = "admin_timesheet_paginated";
        // line 6
        $context["editRoute"] = "admin_timesheet_edit";
        // line 7
        $context["canSeeRate"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("view_rate_other_timesheet");
        // line 8
        $context["canSeeUsername"] = true;
        // line 9
        $context["allowMarkdown"] = false;
        // line 1
        $this->parent = $this->loadTemplate("timesheet/layout-listing.html.twig", "timesheet-team/index.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 11
    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_timesheet.title"), "html", null, true);
    }

    // line 12
    public function block_page_actions($context, array $blocks = [])
    {
        $macros = $this->macros;
        echo twig_call_macro($macros["actions"], "macro_timesheets_team", ["index"], 12, $context, $this->getSourceContext());
    }

    // line 14
    public function block_row_action($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 15
        echo twig_call_macro($macros["actions"], "macro_timesheet_team", [($context["entry"] ?? null), "index"], 15, $context, $this->getSourceContext());
    }

    public function getTemplateName()
    {
        return "timesheet-team/index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  81 => 15,  77 => 14,  70 => 12,  63 => 11,  58 => 1,  56 => 9,  54 => 8,  52 => 7,  50 => 6,  48 => 5,  46 => 4,  44 => 2,  37 => 1,);
    }

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