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

/* zak/show.html.twig */
class __TwigTemplate_4ec6cf18a030d4b4d2dc0ac52b7fb40b95765713b790636b88f907548f59e4dd extends Template
{
    private $source;
    private $macros = [];

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

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

        $this->blocks = [
            'body' => [$this, 'block_body'],
            'title' => [$this, 'block_title'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "zak/show.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "zak/show.html.twig"));

        $this->parent = $this->loadTemplate("base.html.twig", "zak/show.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    // line 3
    public function block_body($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        // line 4
        echo "
    <div class=\"container-mt-3\" style=\"min-width: 400px\">
        <h3 class=\"h3 card-title mb-3 font-weight-normal\">Profil žáka</h3>

        <hr>

        ";
        // line 10
        if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_TEACHER"))) {
            // line 11
            echo "
        <h4 class=\"h4 card-title mb-3 font-weight-normal\">";
            // line 12
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 12, $this->source); })()), "jmeno", [], "any", false, false, false, 12), "html", null, true);
            echo " ";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 12, $this->source); })()), "prijmeni", [], "any", false, false, false, 12), "html", null, true);
            echo "</h4>

        <div class=\"d-flex justify-content-center jumbotron shadow\">

            ";
            // line 16
            if (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 16, $this->source); })()), "image", [], "any", false, false, false, 16), null)) {
                // line 17
                echo "
                <img src=\"";
                // line 18
                echo twig_escape_filter($this->env, ("/uploads/" . twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 18, $this->source); })()), "image", [], "any", false, false, false, 18)), "html", null, true);
                echo "\" alt=\"Profilový obrázek\"
                     style=\"max-width: 200px; max-height: 300px; margin: 20px\" class=\"shadow card\">

            ";
            }
            // line 22
            echo "
            <div id=\"InfoBox\" class=\"shadow card\" style= \"margin: 20px\">

                <br>

                <h4 class=\"h5 card-title mb-3 font-weight-normal\">Základní Informace</h4> <hr>

                <ul class=\"list-group list-group-flush\">
                    <li class=\"list-group-item\">Ve třídě: ";
            // line 30
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 30, $this->source); })()), "trida", [], "any", false, false, false, 30), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Kmenová učebna: ";
            // line 31
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 31, $this->source); })()), "trida", [], "any", false, false, false, 31), "ucebna", [], "any", false, false, false, 31), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Telefon: ";
            // line 32
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 32, $this->source); })()), "tel", [], "any", false, false, false, 32), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Email: ";
            // line 33
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 33, $this->source); })()), "email", [], "any", false, false, false, 33), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Datum Narození: ";
            // line 34
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 34, $this->source); })()), "datNar", [], "any", false, false, false, 34), "Y-m-d"), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Rodné číslo: ";
            // line 35
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 35, $this->source); })()), "rodCis", [], "any", false, false, false, 35), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Pohlaví:
                        ";
            // line 37
            if (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 37, $this->source); })()), "pohlavi", [], "any", false, false, false, 37), 1)) {
                // line 38
                echo "                        Muž
                        ";
            } else {
                // line 40
                echo "                        Žena
                        ";
            }
            // line 42
            echo "                    </li>
                    <li class=\"list-group-item\">Občanství: ";
            // line 43
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 43, $this->source); })()), "obcanstvi", [], "any", false, false, false, 43), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Číslo Op: ";
            // line 44
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 44, $this->source); })()), "oP", [], "any", false, false, false, 44), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Číslo Pasu: ";
            // line 45
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 45, $this->source); })()), "pas", [], "any", false, false, false, 45), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Předchozí škola: ";
            // line 46
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 46, $this->source); })()), "predSkol", [], "any", false, false, false, 46), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Datum zahájení studia: ";
            // line 47
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 47, $this->source); })()), "datZah", [], "any", false, false, false, 47), "Y-m-d"), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Datum Ukončení studia: ";
            // line 48
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 48, $this->source); })()), "datUk", [], "any", false, false, false, 48), "Y-m-d"), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Zdravotní Pojišťovna: ";
            // line 49
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 49, $this->source); })()), "zdPoj", [], "any", false, false, false, 49), "html", null, true);
            echo "</li>
                </ul>
            </div>

            <div id=\"InfoBox\" class=\"shadow card\" style= \"margin: 20px\">

                <br>

                <h4 class=\"h5 card-title mb-3 font-weight-normal\">Adresa</h4> <hr>

                <ul class=\"list-group list-group-flush\">
                    <li class=\"list-group-item\">Stát: ";
            // line 60
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 60, $this->source); })()), "stat", [], "any", false, false, false, 60), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Okres: ";
            // line 61
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 61, $this->source); })()), "okres", [], "any", false, false, false, 61), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Městská část: ";
            // line 62
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 62, $this->source); })()), "mCast", [], "any", false, false, false, 62), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Ulice: ";
            // line 63
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 63, $this->source); })()), "ulice", [], "any", false, false, false, 63), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Číslo popisné: ";
            // line 64
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 64, $this->source); })()), "cisPop", [], "any", false, false, false, 64), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">PSČ: ";
            // line 65
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 65, $this->source); })()), "psc", [], "any", false, false, false, 65), "html", null, true);
            echo "</li>
                </ul>
            </div>

            <div id=\"InfoBox\" class=\"shadow card\" style= \"margin: 20px\">

                <br>

                <h4 class=\"h5 card-title mb-3 font-weight-normal\">Znevýhodnění</h4> <hr>

                <ul class=\"list-group list-group-flush\">
                    <li class=\"list-group-item\">Nadání: ";
            // line 76
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 76, $this->source); })()), "nadani", [], "any", false, false, false, 76), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Individuální Studijní Plán: ";
            // line 77
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 77, $this->source); })()), "indStudPlan", [], "any", false, false, false, 77), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Znevýhodnění: ";
            // line 78
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 78, $this->source); })()), "znevyhodneni", [], "any", false, false, false, 78), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Upravený vzdělávací program: ";
            // line 79
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 79, $this->source); })()), "uprVzdProgram", [], "any", false, false, false, 79), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Odlisné kulturní prostředí: ";
            // line 80
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 80, $this->source); })()), "odlKultProstredi", [], "any", false, false, false, 80), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Prodloužená délka vzdělávání o: ";
            // line 81
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 81, $this->source); })()), "prodlDelkaVzd", [], "any", false, false, false, 81), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Úprava výstupů vzdělávání: ";
            // line 82
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 82, $this->source); })()), "upravaVystVzdel", [], "any", false, false, false, 82), "html", null, true);
            echo " </li>
                    <li class=\"list-group-item\">Datum vydání doporučení: ";
            // line 83
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 83, $this->source); })()), "datVydDoporuc", [], "any", false, false, false, 83), "Y-m-d"), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Datum konce platnosti doporučení: ";
            // line 84
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 84, $this->source); })()), "datKonceDoporuc", [], "any", false, false, false, 84), "Y-m-d"), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Normovaná finanční náročnost: ";
            // line 85
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 85, $this->source); })()), "normFinNarocnost", [], "any", false, false, false, 85), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Finanční náročnost: ";
            // line 86
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 86, $this->source); })()), "finNarocnost", [], "any", false, false, false, 86), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Datum zahájení poskytování PO: ";
            // line 87
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 87, $this->source); })()), "datZahPO", [], "any", false, false, false, 87), "Y-m-d"), "html", null, true);
            echo "</li>
                    <li class=\"list-group-item\">Datum ukončení poskytování PO: ";
            // line 88
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 88, $this->source); })()), "datUkPO", [], "any", false, false, false, 88), "Y-m-d"), "html", null, true);
            echo "</li>
                </ul>
            </div>
        </div>

        ";
        } else {
            // line 94
            echo "
            <div class=\"d-flex justify-content-center\">

                ";
            // line 97
            if (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 97, $this->source); })()), "image", [], "any", false, false, false, 97), null)) {
                // line 98
                echo "
                    <img src=\"";
                // line 99
                echo twig_escape_filter($this->env, ("/uploads/" . twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 99, $this->source); })()), "image", [], "any", false, false, false, 99)), "html", null, true);
                echo "\" alt=\"Profilový obrázek\"
                         style=\"max-width: 200px; max-height: 300px; margin-right: 20px\">

                ";
            }
            // line 103
            echo "

                <div id=\"InfoBox\">

                    <h4 class=\"h4 card-title mb-3 font-weight-normal\">";
            // line 107
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 107, $this->source); })()), "jmeno", [], "any", false, false, false, 107), "html", null, true);
            echo " ";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 107, $this->source); })()), "prijmeni", [], "any", false, false, false, 107), "html", null, true);
            echo "</h4>

                    <br>

                    <ul class=\"list-group list-group-flush\">
                        <li class=\"list-group-item\">Ve třídě: ";
            // line 112
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 112, $this->source); })()), "trida", [], "any", false, false, false, 112), "html", null, true);
            echo "</li>
                        <li class=\"list-group-item\">Kmenová učebna: ";
            // line 113
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 113, $this->source); })()), "trida", [], "any", false, false, false, 113), "ucebna", [], "any", false, false, false, 113), "html", null, true);
            echo "</li>
                        <li class=\"list-group-item\">Datum Narození: ";
            // line 114
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 114, $this->source); })()), "datNar", [], "any", false, false, false, 114), "Y-m-d"), "html", null, true);
            echo "</li>
                        <li class=\"list-group-item\">Pohlaví:
                            ";
            // line 116
            if (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 116, $this->source); })()), "pohlavi", [], "any", false, false, false, 116), 1)) {
                // line 117
                echo "                                Muž
                            ";
            } else {
                // line 119
                echo "                                Žena
                            ";
            }
            // line 121
            echo "                        </li>
                        <li class=\"list-group-item\">Zdravotní Pojišťovna: ";
            // line 122
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 122, $this->source); })()), "zdPoj", [], "any", false, false, false, 122), "html", null, true);
            echo "</li>
                        <li class=\"list-group-item\">Telefon: ";
            // line 123
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 123, $this->source); })()), "tel", [], "any", false, false, false, 123), "html", null, true);
            echo "</li>
                        <li class=\"list-group-item\">Email: ";
            // line 124
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 124, $this->source); })()), "email", [], "any", false, false, false, 124), "html", null, true);
            echo "</li>
                    </ul>
                </div>

                <br>
            </div>

            <div class=\"d-flex justify-content-center\">
                <div id=\"Textbox\" style=\"max-width: 400px; margin-top: 30px\">
                    <h6 class=\"h5 card-title mb-6 font-weight-normal\">Poznámka:</h6>
                    <hr>
                    <article class=\"text-justify\">";
            // line 135
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 135, $this->source); })()), "poznamka", [], "any", false, false, false, 135), "html", null, true);
            echo "</article>
                </div>
            </div>


        ";
        }
        // line 141
        echo "        ";
        if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_TEACHER"))) {
            // line 142
            echo "
            <div id=\"Textbox\" style=\" margin-top: 30px\">
                    <h5 class =\"h5 card-title mb-0 font-weight-normal float-left\">Dodatečné informace: </h5>
                    <br>
                    <hr>
                    <article class=\"text-justify\">";
            // line 147
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 147, $this->source); })()), "poznamka", [], "any", false, false, false, 147), "html", null, true);
            echo "</article>
                </div>
            </div>

        ";
        }
        // line 152
        echo "
        <hr>

        ";
        // line 155
        if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
            // line 156
            echo "        <div class=\"btn-group\">
            <a href=\"";
            // line 157
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("zak.edit", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 157, $this->source); })()), "id", [], "any", false, false, false, 157)]), "html", null, true);
            echo "\" class=\"btn btn-outline-primary btn-group\">Upravit</a>
            <a href=\"";
            // line 158
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("zak.delete", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 158, $this->source); })()), "id", [], "any", false, false, false, 158)]), "html", null, true);
            echo "\" class=\"btn btn-outline-danger btn-group\">Smazat</a>
        </div>
        ";
        }
        // line 161
        echo "
        ";
        // line 162
        if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_TEACHER")) {
            // line 163
            echo "
            <a href=\"";
            // line 164
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("zak.edit", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 164, $this->source); })()), "id", [], "any", false, false, false, 164)]), "html", null, true);
            echo "\" class=\"btn btn-outline-primary btn-group\">Upravit</a>

        ";
        }
        // line 167
        echo "
        ";
        // line 168
        if (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 168, $this->source); })()), "user", [], "any", false, false, false, 168), null)) {
            // line 169
            echo "            <a href=\"";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("zprava.create", ["prijemce" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["zak"]) || array_key_exists("zak", $context) ? $context["zak"] : (function () { throw new RuntimeError('Variable "zak" does not exist.', 169, $this->source); })()), "user", [], "any", false, false, false, 169), "id", [], "any", false, false, false, 169)]), "html", null, true);
            echo "\" class=\"btn btn-outline-primary float-left\">Poslat zprávu</a>
        ";
        }
        // line 171
        echo "
    </div>

    <style type = \"text/css\">
        .scroll {
            display:block;
            border: 1px ;
            padding:5px;
            margin-top:5px;
            width: 1000px;
            height: 450px;

            overflow:scroll;
        }
        .auto {
            display:block;
            border: 1px;
            padding:5px;
            margin-top:5px;
            overflow:auto;
            width: 1000px;
            height: 450px;
        }
    </style>


";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    // line 199
    public function block_title($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        // line 200
        echo "Profil žáka
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    public function getTemplateName()
    {
        return "zak/show.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  479 => 200,  469 => 199,  433 => 171,  427 => 169,  425 => 168,  422 => 167,  416 => 164,  413 => 163,  411 => 162,  408 => 161,  402 => 158,  398 => 157,  395 => 156,  393 => 155,  388 => 152,  380 => 147,  373 => 142,  370 => 141,  361 => 135,  347 => 124,  343 => 123,  339 => 122,  336 => 121,  332 => 119,  328 => 117,  326 => 116,  321 => 114,  317 => 113,  313 => 112,  303 => 107,  297 => 103,  290 => 99,  287 => 98,  285 => 97,  280 => 94,  271 => 88,  267 => 87,  263 => 86,  259 => 85,  255 => 84,  251 => 83,  247 => 82,  243 => 81,  239 => 80,  235 => 79,  231 => 78,  227 => 77,  223 => 76,  209 => 65,  205 => 64,  201 => 63,  197 => 62,  193 => 61,  189 => 60,  175 => 49,  171 => 48,  167 => 47,  163 => 46,  159 => 45,  155 => 44,  151 => 43,  148 => 42,  144 => 40,  140 => 38,  138 => 37,  133 => 35,  129 => 34,  125 => 33,  121 => 32,  117 => 31,  113 => 30,  103 => 22,  96 => 18,  93 => 17,  91 => 16,  82 => 12,  79 => 11,  77 => 10,  69 => 4,  59 => 3,  36 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends 'base.html.twig' %}

{% block body %}

    <div class=\"container-mt-3\" style=\"min-width: 400px\">
        <h3 class=\"h3 card-title mb-3 font-weight-normal\">Profil žáka</h3>

        <hr>

        {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_TEACHER') %}

        <h4 class=\"h4 card-title mb-3 font-weight-normal\">{{ zak.jmeno }} {{ zak.prijmeni }}</h4>

        <div class=\"d-flex justify-content-center jumbotron shadow\">

            {% if zak.image != NULL %}

                <img src=\"{{ '/uploads/' ~ zak.image }}\" alt=\"Profilový obrázek\"
                     style=\"max-width: 200px; max-height: 300px; margin: 20px\" class=\"shadow card\">

            {% endif %}

            <div id=\"InfoBox\" class=\"shadow card\" style= \"margin: 20px\">

                <br>

                <h4 class=\"h5 card-title mb-3 font-weight-normal\">Základní Informace</h4> <hr>

                <ul class=\"list-group list-group-flush\">
                    <li class=\"list-group-item\">Ve třídě: {{ zak.trida }}</li>
                    <li class=\"list-group-item\">Kmenová učebna: {{ zak.trida.ucebna }}</li>
                    <li class=\"list-group-item\">Telefon: {{ zak.tel }}</li>
                    <li class=\"list-group-item\">Email: {{ zak.email }}</li>
                    <li class=\"list-group-item\">Datum Narození: {{ zak.datNar|date('Y-m-d')}}</li>
                    <li class=\"list-group-item\">Rodné číslo: {{ zak.rodCis }}</li>
                    <li class=\"list-group-item\">Pohlaví:
                        {% if zak.pohlavi == 1 %}
                        Muž
                        {% else %}
                        Žena
                        {% endif %}
                    </li>
                    <li class=\"list-group-item\">Občanství: {{ zak.obcanstvi }}</li>
                    <li class=\"list-group-item\">Číslo Op: {{ zak.oP }}</li>
                    <li class=\"list-group-item\">Číslo Pasu: {{ zak.pas }}</li>
                    <li class=\"list-group-item\">Předchozí škola: {{ zak.predSkol }}</li>
                    <li class=\"list-group-item\">Datum zahájení studia: {{ zak.datZah|date('Y-m-d') }}</li>
                    <li class=\"list-group-item\">Datum Ukončení studia: {{ zak.datUk|date('Y-m-d') }}</li>
                    <li class=\"list-group-item\">Zdravotní Pojišťovna: {{ zak.zdPoj }}</li>
                </ul>
            </div>

            <div id=\"InfoBox\" class=\"shadow card\" style= \"margin: 20px\">

                <br>

                <h4 class=\"h5 card-title mb-3 font-weight-normal\">Adresa</h4> <hr>

                <ul class=\"list-group list-group-flush\">
                    <li class=\"list-group-item\">Stát: {{ zak.stat }}</li>
                    <li class=\"list-group-item\">Okres: {{ zak.okres }}</li>
                    <li class=\"list-group-item\">Městská část: {{ zak.mCast }}</li>
                    <li class=\"list-group-item\">Ulice: {{ zak.ulice }}</li>
                    <li class=\"list-group-item\">Číslo popisné: {{ zak.cisPop }}</li>
                    <li class=\"list-group-item\">PSČ: {{ zak.psc}}</li>
                </ul>
            </div>

            <div id=\"InfoBox\" class=\"shadow card\" style= \"margin: 20px\">

                <br>

                <h4 class=\"h5 card-title mb-3 font-weight-normal\">Znevýhodnění</h4> <hr>

                <ul class=\"list-group list-group-flush\">
                    <li class=\"list-group-item\">Nadání: {{ zak.nadani }}</li>
                    <li class=\"list-group-item\">Individuální Studijní Plán: {{ zak.indStudPlan}}</li>
                    <li class=\"list-group-item\">Znevýhodnění: {{ zak.znevyhodneni }}</li>
                    <li class=\"list-group-item\">Upravený vzdělávací program: {{ zak.uprVzdProgram }}</li>
                    <li class=\"list-group-item\">Odlisné kulturní prostředí: {{ zak.odlKultProstredi }}</li>
                    <li class=\"list-group-item\">Prodloužená délka vzdělávání o: {{ zak.prodlDelkaVzd }}</li>
                    <li class=\"list-group-item\">Úprava výstupů vzdělávání: {{ zak.upravaVystVzdel }} </li>
                    <li class=\"list-group-item\">Datum vydání doporučení: {{ zak.datVydDoporuc|date('Y-m-d') }}</li>
                    <li class=\"list-group-item\">Datum konce platnosti doporučení: {{ zak.datKonceDoporuc|date('Y-m-d') }}</li>
                    <li class=\"list-group-item\">Normovaná finanční náročnost: {{ zak.normFinNarocnost }}</li>
                    <li class=\"list-group-item\">Finanční náročnost: {{ zak.finNarocnost }}</li>
                    <li class=\"list-group-item\">Datum zahájení poskytování PO: {{ zak.datZahPO|date('Y-m-d') }}</li>
                    <li class=\"list-group-item\">Datum ukončení poskytování PO: {{ zak.datUkPO|date('Y-m-d') }}</li>
                </ul>
            </div>
        </div>

        {% else %}

            <div class=\"d-flex justify-content-center\">

                {% if zak.image != NULL %}

                    <img src=\"{{ '/uploads/' ~ zak.image }}\" alt=\"Profilový obrázek\"
                         style=\"max-width: 200px; max-height: 300px; margin-right: 20px\">

                {% endif %}


                <div id=\"InfoBox\">

                    <h4 class=\"h4 card-title mb-3 font-weight-normal\">{{ zak.jmeno }} {{ zak.prijmeni }}</h4>

                    <br>

                    <ul class=\"list-group list-group-flush\">
                        <li class=\"list-group-item\">Ve třídě: {{ zak.trida }}</li>
                        <li class=\"list-group-item\">Kmenová učebna: {{ zak.trida.ucebna}}</li>
                        <li class=\"list-group-item\">Datum Narození: {{ zak.datNar|date('Y-m-d')}}</li>
                        <li class=\"list-group-item\">Pohlaví:
                            {% if zak.pohlavi == 1 %}
                                Muž
                            {% else %}
                                Žena
                            {% endif %}
                        </li>
                        <li class=\"list-group-item\">Zdravotní Pojišťovna: {{ zak.zdPoj }}</li>
                        <li class=\"list-group-item\">Telefon: {{ zak.tel }}</li>
                        <li class=\"list-group-item\">Email: {{ zak.email }}</li>
                    </ul>
                </div>

                <br>
            </div>

            <div class=\"d-flex justify-content-center\">
                <div id=\"Textbox\" style=\"max-width: 400px; margin-top: 30px\">
                    <h6 class=\"h5 card-title mb-6 font-weight-normal\">Poznámka:</h6>
                    <hr>
                    <article class=\"text-justify\">{{ zak.poznamka }}</article>
                </div>
            </div>


        {% endif %}
        {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_TEACHER') %}

            <div id=\"Textbox\" style=\" margin-top: 30px\">
                    <h5 class =\"h5 card-title mb-0 font-weight-normal float-left\">Dodatečné informace: </h5>
                    <br>
                    <hr>
                    <article class=\"text-justify\">{{ zak.poznamka }}</article>
                </div>
            </div>

        {% endif %}

        <hr>

        {% if is_granted('ROLE_ADMIN') %}
        <div class=\"btn-group\">
            <a href=\"{{ path('zak.edit', {id: zak.id}) }}\" class=\"btn btn-outline-primary btn-group\">Upravit</a>
            <a href=\"{{ path('zak.delete', {id: zak.id}) }}\" class=\"btn btn-outline-danger btn-group\">Smazat</a>
        </div>
        {% endif %}

        {% if is_granted('ROLE_TEACHER') %}

            <a href=\"{{ path('zak.edit', {id: zak.id}) }}\" class=\"btn btn-outline-primary btn-group\">Upravit</a>

        {% endif %}

        {% if zak.user != null %}
            <a href=\"{{ path('zprava.create', {prijemce: zak.user.id}) }}\" class=\"btn btn-outline-primary float-left\">Poslat zprávu</a>
        {% endif %}

    </div>

    <style type = \"text/css\">
        .scroll {
            display:block;
            border: 1px ;
            padding:5px;
            margin-top:5px;
            width: 1000px;
            height: 450px;

            overflow:scroll;
        }
        .auto {
            display:block;
            border: 1px;
            padding:5px;
            margin-top:5px;
            overflow:auto;
            width: 1000px;
            height: 450px;
        }
    </style>


{% endblock %}

{% block title %}
Profil žáka
{% endblock %}

", "zak/show.html.twig", "C:\\Users\\JanVe\\Desktop\\BakalarskaPrace\\www\\Thesis\\templates\\zak\\show.html.twig");
    }
}
