<?php

/* FishmanAuthBundle:User:index.html.twig */
class __TwigTemplate_b8b5f951c2b9652c9565e72746453002 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_6262e814cbb37d575786ea46c11e4e1da8e52b50' => array($this, 'block___internal_6262e814cbb37d575786ea46c11e4e1da8e52b50'),
            '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>Mantenimientos";
    }

    // 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" => "admin")));
    }

    // 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" => "admin")));
    }

    // 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 class=\"current\"><a href=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user"), "html", null, true);
        echo "\">Personas</a></li>
</ul>
";
    }

    // line 20
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 21
        echo "<span class=\"icos-users2\"></span><h5>Mantenimiento de Personas</h5>
";
    }

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

<div class=\"dataList\">

    <div class=\"menuCrud clearfix\">
        <ul>
            <li>
                <a href=\"";
        // line 32
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_import"), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Importar Personas
                </a>
            </li>
            <li>
                <a href=\"";
        // line 37
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_new"), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Crear Persona
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 48
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_6262e814cbb37d575786ea46c11e4e1da8e52b50", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>
        
        <div class=\"tablePars clearfix\">
            <div class=\"dataTables_filter clearfix\">
                <form action=\"\" method=\"get\" ";
        // line 53
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"clearfix\">
                    <div class=\"formRow formRowWord clearfix\">
                        ";
        // line 55
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'label', array("label" => "Id / Persona / Correo"));
        echo "
                        <div>";
        // line 56
        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 59
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "company"), 'label', array("label" => "Empresa"));
        echo "
                        <div>";
        // line 60
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "company"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 63
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'label', array("label" => "Unidad Organizativa"));
        echo "
                        <div>";
        // line 64
        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 67
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'label', array("label" => "Cargo"));
        echo "
                        <div>";
        // line 68
        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 71
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "rol"), 'label', array("label" => "Rol"));
        echo "
                        <div>";
        // line 72
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "rol"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 75
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'label', array("label" => "Estado"));
        echo "
                        <div>";
        // line 76
        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 82
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'widget');
        echo "
                    </div>
                </form>
            </div>
        </div>
        <!-- /.tablePars -->
        
        <div class=\"dataListTable\">
            <table class=\"records_list dataTable\">
                <thead>
                    <tr>
                        <th>Id</th>
                        <th>Ape. Paterno</th>
                        <th>Ape. Materno</th>
                        <th>Nombres</th>
                        <th>Correo</th>
                        <th>Empresa</th>
                        <th>Unidad</th>
                        <th>Cargo</th>
                        <th>Rol</th>
                        <th>Modificado por</th>
                        <th>Última modificación</th>
                        <th>Estado</th>
                        <th>Acciones</th>
                    </tr>
                </thead>
                <tbody>
                ";
        // line 109
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["entities"]) ? $context["entities"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
            // line 110
            echo "                    <tr>
                        <td><a href=\"";
            // line 111
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_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), "id"), "html", null, true);
            echo "</a></td>
                        <td>";
            // line 112
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "usersurname"), "html", null, true);
            echo "</td>
                        <td>";
            // line 113
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "userlastname"), "html", null, true);
            echo "</td>
                        <td>";
            // line 114
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "usernames"), "html", null, true);
            echo "</td>
                        <td>";
            // line 115
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "email"), "html", null, true);
            echo "</td>
                        <td>";
            // line 116
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company"), "html", null, true);
            echo "</td>
                        <td>";
            // line 117
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "organizationalunit"), "html", null, true);
            echo "</td>
                        <td>";
            // line 118
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "charge"), "html", null, true);
            echo "</td>
                        <td>";
            // line 119
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "roles"));
            foreach ($context['_seq'] as $context["_key"] => $context["rol"]) {
                echo " ";
                echo twig_escape_filter($this->env, ($this->env->getExtension('fishman_extension')->rolNameFilter((isset($context["rol"]) ? $context["rol"] : null)) . ", "), "html", null, true);
                echo " ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['rol'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            echo " Usuario</td>
                        <td>";
            // line 120
            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 121
            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 122
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->statusNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "enabled")), "html", null, true);
            echo "</td>
                        <td class=\"actionsButtons actionsButtonsFour\">
                            <ul>
                                <li>
                                    <a href=\"";
            // line 126
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_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 129
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_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>
                                <li>
                                    <a href=\"";
            // line 132
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_drop", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\" class=\"tablectrl_small bDefault\" title=\"Eliminar\"><span class=\"icos-cross\"></span></a>
                                </li>
                                <li>
                                    <a href=\"";
            // line 135
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_resetting_password", array("username" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "username"))), "html", null, true);
            echo "\" class=\"tablectrl_small bDefault\" title=\"Cambiar clave\"><span class=\"icos-bag\"></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 141
        echo "                </tbody>
            </table>
            
            <div class=\"fg-toolbar tableFooter\">
                <div class=\"dataTables_info\">";
        // line 145
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
                ";
        // line 146
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "user", "rparams" => array("form" => (isset($context["form_data"]) ? $context["form_data"] : null)), "id" => "user")));
        // line 147
        echo "            </div>
            
        </div>
        <!-- /.dataListTable -->
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

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

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

    public function getTemplateName()
    {
        return "FishmanAuthBundle:User:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  360 => 162,  356 => 161,  353 => 160,  347 => 48,  332 => 147,  330 => 146,  326 => 145,  320 => 141,  308 => 135,  302 => 132,  296 => 129,  290 => 126,  283 => 122,  277 => 121,  273 => 120,  260 => 119,  256 => 118,  252 => 117,  248 => 116,  244 => 115,  240 => 114,  236 => 113,  232 => 112,  226 => 111,  223 => 110,  219 => 109,  189 => 82,  180 => 76,  176 => 75,  170 => 72,  166 => 71,  160 => 68,  156 => 67,  150 => 64,  146 => 63,  140 => 60,  136 => 59,  130 => 56,  126 => 55,  121 => 53,  113 => 48,  99 => 37,  91 => 32,  81 => 25,  78 => 24,  73 => 21,  70 => 20,  63 => 16,  59 => 15,  56 => 14,  53 => 13,  49 => 10,  46 => 9,  42 => 6,  39 => 5,  33 => 3,);
    }
}
