<?php

/* FishmanPollBundle:Pollschedulingpeople:index.html.twig */
class __TwigTemplate_9c251c95536366a0b6a6ef2931247645 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base_fishman.html.twig");

        $this->blocks = array(
            'subtitle' => array($this, 'block_subtitle'),
            'top_navigation' => array($this, 'block_top_navigation'),
            'navigation' => array($this, 'block_navigation'),
            'breadcrumb' => array($this, 'block_breadcrumb'),
            'subtitle2' => array($this, 'block_subtitle2'),
            'content' => array($this, 'block_content'),
            '__internal_11bbda589a19cf851ab88fe469fffe3c1fd9cbe6' => array($this, 'block___internal_11bbda589a19cf851ab88fe469fffe3c1fd9cbe6'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::base_fishman.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_subtitle($context, array $blocks = array())
    {
        echo "<span class=\"icon-screen\"></span>Programaciones";
    }

    // line 5
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 6
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "scheduling")));
    }

    // line 9
    public function block_navigation($context, array $blocks = array())
    {
        // line 10
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "scheduling")));
    }

    // line 13
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 14
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 15
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_homepage"), "html", null, true);
        echo "\">Dashboard</a></li>
    <li><a href=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollscheduling"), "html", null, true);
        echo "\">Programación de Encuestas</a></li>
    <li><a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollscheduling_show", array("id" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "title") . " ") . $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "version")), "html", null, true);
        echo "</a></li>
    <li class=\"current\"><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">Personas</a></li>
</ul>
";
    }

    // line 22
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 23
        echo "<span class=\"icos-cog4\"></span><h5>Programación de Encuestas: ";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "title") . " ") . $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "version")), "html", null, true);
        echo "</h5>
";
    }

    // line 26
    public function block_content($context, array $blocks = array())
    {
        // line 27
        $this->displayParentBlock("content", $context, $blocks);
        echo "

<div class=\"dataList dataListDelete\">

    <div class=\"menuCrud clearfix\">
        <ul>
            <li>
                <a href=\"";
        // line 34
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_new", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Buscar y Asignar
                </a>
            </li>
            <li>
                <a href=\"";
        // line 39
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_import", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Importar
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->
    
    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 50
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_11bbda589a19cf851ab88fe469fffe3c1fd9cbe6", $context, $blocks)), "html", null, true);
        echo "</h6>
            <div class=\"navTabs\">
                <ul>
                    <li><a href=\"";
        // line 53
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollscheduling_show", array("id" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">General</a></li>
                    ";
        // line 54
        if (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "entitytype") == "pollscheduling")) {
            // line 55
            echo "                    <li class=\"activeTab\"><a href=\"";
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
            echo "\">Personas</a></li>
                    ";
        }
        // line 57
        echo "                    <li><a href=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingevaluator", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">Evaluaciones</a></li>
                    ";
        // line 58
        if (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "level") != 0)) {
            // line 59
            echo "                        <li><a href=\"";
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingsection", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
            echo "\">Secciones</a></li>
                    ";
        }
        // line 61
        echo "                    <li><a href=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingquestion", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">Preguntas</a></li>
                    <li><a href=\"";
        // line 62
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingnotification", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\">Notificaciones</a></li>
                </ul>
            </div>
        </div>
        
        <div class=\"tablePars clearfix\">
            <div class=\"dataTables_filter clearfix\">
                <form action=\"\" method=\"get\" ";
        // line 69
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"clearfix\">
                    <div class=\"formRow formRowWord clearfix\">
                        ";
        // line 71
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'label', array("label" => "Código / Persona"));
        echo "
                        <div>";
        // line 72
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'widget');
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 75
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'label', array("label" => "Unidad"));
        echo "
                        <div>";
        // line 76
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 79
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'label', array("label" => "Cargo"));
        echo "
                        <div>";
        // line 80
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 83
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "profile"), 'label', array("label" => "Perfil"));
        echo "
                        <div>";
        // line 84
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "profile"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 87
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'label', array("label" => "Estado"));
        echo "
                        <div>";
        // line 88
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <button type=\"submit\" class=\"buttonSearch sideB\"></button>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 94
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'widget');
        echo "
                    </div>
                </form>
            </div>
        </div>
        <!-- /.tablePars -->

        <form action=\"";
        // line 101
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_dropmultiple", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\" method=\"post\" ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["deletes_form"]) ? $context["deletes_form"] : null), 'enctype');
        echo " class=\"formDeletes\">
        
            ";
        // line 103
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["deletes_form"]) ? $context["deletes_form"] : null), 'errors');
        echo "
            
            <div class=\"menuCrud clearfix\">
                <ul class=\"record_actions\">
                    <li>
                        <button type=\"submit\" class=\"sideB bGreyish mt10\">Eliminar Asignados</button>
                    </li>
                </ul>
            </div>
        
            <div class=\"dataListTable\">
                <table class=\"records_list dataTable check_all\">
                    <thead>
                        <tr>
                            <th class=\"check\"><input type=\"checkbox\" id=\"form_deletes_check_all\" name=\"form_deletes[check_all]\" value=\"1\"></th>
                            <th>Código</th>
                            <th>Ape. Paterno</th>
                            <th>Ape. Materno</th>
                            <th>Nombres</th>
                            <th>Información</th>
                            <th>Unidad</th>
                            <th>Cargo</th>
                            <th>Perfil</th>
                            <th>Modificado por</th>
                            <th>Última modificación</th>
                            <th>Estado</th>
                            <th>Acción</th>
                        </tr>
                    </thead>
                    <tbody>
                    ";
        // line 133
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["entities"]) ? $context["entities"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
            // line 134
            echo "                        <tr>
                            <td class=\"check\"><input type=\"checkbox\" id=\"form_deletes_registers_";
            // line 135
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"), "html", null, true);
            echo "\" name=\"form_deletes[registers][]\" value=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"), "html", null, true);
            echo "\"></td>
                            <td><a href=\"";
            // line 136
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "code"), "html", null, true);
            echo "</a></td>
                            <td>";
            // line 137
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pspu_surname"), "html", null, true);
            echo "</td>
                            <td>";
            // line 138
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pspu_lastname"), "html", null, true);
            echo "</td>
                            <td>";
            // line 139
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pspu_names"), "html", null, true);
            echo "</td>
                            <td>";
            // line 140
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->workinginformationTypeFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type")), "html", null, true);
            echo "</td>
                            <td>";
            // line 141
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "organizationalunit"), "html", null, true);
            echo "</td>
                            <td>";
            // line 142
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "charge"), "html", null, true);
            echo "</td>
                            <td>";
            // line 143
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->profileNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "profile")), "html", null, true);
            echo "</td>
                            <td>";
            // line 144
            echo twig_escape_filter($this->env, (((($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "names") . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "surname")) . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "lastname")), "html", null, true);
            echo "</td>
                            <td>";
            // line 145
            if ($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "changed")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "changed"), "d/m/Y - H:i"), "html", null, true);
            }
            echo "</td>
                            <td>";
            // line 146
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->statusNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "status")), "html", null, true);
            echo "</td>
                            <td class=\"actionsButtons actionsButtonsTwo\">
                                <ul>
                                    <li>
                                        <a href=\"";
            // line 150
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\" class=\"tablectrl_small bDefault\" title=\"Ver\"><span class=\"icos-preview\"></span></a>
                                    </li>
                                    <li>
                                        <a href=\"";
            // line 153
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingpeople_edit", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\" class=\"tablectrl_small bDefault\" title=\"Editar\"><span class=\"icos-pencil\"></span></a>
                                    </li>
                                </ul>
                            </td>
                        </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 159
        echo "                    </tbody>
                </table>
                
                <div class=\"fg-toolbar tableFooter\">
                    <div class=\"dataTables_info\">";
        // line 163
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
                    ";
        // line 164
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "pollschedulingpeople", "rparams" => array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"), "form" => (isset($context["form_data"]) ? $context["form_data"] : null)), "id" => "pollschedulingpeople")));
        // line 165
        echo "                </div>
                
            </div>
            <!-- /.dataListTable -->
            
            <div class=\"hide\">
                ";
        // line 171
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["deletes_form"]) ? $context["deletes_form"] : null), 'rest');
        echo "
            </div>
            
        </form>
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

    // line 50
    public function block___internal_11bbda589a19cf851ab88fe469fffe3c1fd9cbe6($context, array $blocks = array())
    {
        echo "Listado de Personas Asignadas";
    }

    // line 184
    public function block_javascripts($context, array $blocks = array())
    {
        // line 185
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 186
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_fischman.js"), "html", null, true);
        echo "\"></script>
";
    }

    public function getTemplateName()
    {
        return "FishmanPollBundle:Pollschedulingpeople:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  410 => 186,  406 => 185,  403 => 184,  397 => 50,  381 => 171,  373 => 165,  371 => 164,  367 => 163,  361 => 159,  349 => 153,  343 => 150,  336 => 146,  330 => 145,  326 => 144,  322 => 143,  318 => 142,  314 => 141,  310 => 140,  306 => 139,  302 => 138,  298 => 137,  292 => 136,  286 => 135,  283 => 134,  279 => 133,  246 => 103,  239 => 101,  229 => 94,  220 => 88,  216 => 87,  210 => 84,  206 => 83,  200 => 80,  196 => 79,  190 => 76,  186 => 75,  180 => 72,  176 => 71,  171 => 69,  161 => 62,  156 => 61,  150 => 59,  148 => 58,  143 => 57,  137 => 55,  135 => 54,  131 => 53,  125 => 50,  111 => 39,  103 => 34,  93 => 27,  90 => 26,  83 => 23,  80 => 22,  73 => 18,  67 => 17,  63 => 16,  59 => 15,  56 => 14,  53 => 13,  49 => 10,  46 => 9,  42 => 6,  39 => 5,  33 => 3,);
    }
}
