<?php

/* FishmanFrontEndBundle:Dashboard/Poll:evaluateds.html.twig */
class __TwigTemplate_0b4b4318dd72b4cdad8dd2cc71b9966d extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

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

        $this->blocks = array(
            'customheader' => array($this, 'block_customheader'),
            'subtitle' => array($this, 'block_subtitle'),
            'top_navigation' => array($this, 'block_top_navigation'),
            'navigation' => array($this, 'block_navigation'),
            'breadcrumb' => array($this, 'block_breadcrumb'),
            'content' => array($this, 'block_content'),
            '__internal_a178d3302eef820b3d298ed7cca2083222cb49a8' => array($this, 'block___internal_a178d3302eef820b3d298ed7cca2083222cb49a8'),
        );
    }

    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_customheader($context, array $blocks = array())
    {
        // line 4
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:customheader.html.twig")->display(array_merge($context, array("customheadertitle" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitle"), "customheadertitletext" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitletext"), "customheadertitledescription" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitledescription"), "customheaderlogo" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheaderlogo"), "companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "companyname" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "companyimage" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "image"))));
    }

    // line 16
    public function block_subtitle($context, array $blocks = array())
    {
        // line 17
        echo "<span class=\"icon-screen\"></span>Encuesta : ";
        echo twig_escape_filter($this->env, (((((($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title") . " | V ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "version")) . " | ") . $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name")) . " | ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "pollschedulingperiod")), "html", null, true);
        echo "
";
    }

    // line 20
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 21
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 24
    public function block_navigation($context, array $blocks = array())
    {
        // line 25
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 28
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 29
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 30
        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 31
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "html", null, true);
        echo "</a></li>
    <li class=\"current\"><a href=\"";
        // line 32
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_evaluateds", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">Evaluar</a></li>
</ul>
";
    }

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

<div class=\"dataList\">

    ";
        // line 41
        if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "multipleevaluation") == 1)) {
            // line 42
            echo "    <div class=\"menuCrud clearfix\">
        <ul>
            <li>
                <a href=\"";
            // line 45
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_evaluateds_multipleevaluation_edit", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
            echo "\" class=\"sideB bGreyish mt10\">
                    Resolver Encuesta
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->
    ";
        }
        // line 53
        echo "
    <div class=\"widget tableDefault clearfix\">
        
        <div class=\"whead clearfix\">
            <h6>";
        // line 57
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_a178d3302eef820b3d298ed7cca2083222cb49a8", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>
        
        <div class=\"tablePars clearfix\">
            <div class=\"dataTables_filter clearfix\">
                <form action=\"\" method=\"get\" ";
        // line 62
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"clearfix\">
                    <div class=\"formRow formRowWord clearfix\">
                        ";
        // line 64
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'label', array("label" => "Id / Persona"));
        echo "
                        <div>";
        // line 65
        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 68
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "organizationalunit"), 'label', array("label" => "Unidad Organizativa"));
        echo "
                        <div>";
        // line 69
        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 72
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "charge"), 'label', array("label" => "Cargo"));
        echo "
                        <div>";
        // line 73
        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\">
                        <button type=\"submit\" class=\"buttonSearch sideB\"></button>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 79
        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>Código</th>
                        <th>Apellido Paterno</th>
                        <th>Apellido Materno</th>
                        <th>Nombres</th>
                        <th>Unidad</th>
                        <th>Cargo</th>
                        ";
        // line 97
        if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "multipleevaluation") == 0)) {
            // line 98
            echo "                        <th>Acción</th>
                        ";
        }
        // line 100
        echo "                    </tr>
                </thead>
                <tbody>
                ";
        // line 103
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["pollapplications"]) ? $context["pollapplications"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["pollapplication"]) {
            // line 104
            echo "                    <tr>
                        <td>";
            // line 105
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "wi_id"), "html", null, true);
            echo "</td>
                        <td>";
            // line 106
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "code"), "html", null, true);
            echo "</td>
                        <td>";
            // line 107
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "surname"), "html", null, true);
            echo "</td>
                        <td>";
            // line 108
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "lastname"), "html", null, true);
            echo "</td>
                        <td>";
            // line 109
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "names"), "html", null, true);
            echo "</td>
                        <td>";
            // line 110
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "organizationalunit"), "html", null, true);
            echo "</td>
                        <td>";
            // line 111
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "charge"), "html", null, true);
            echo "</td>
                        ";
            // line 112
            if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "multipleevaluation") == 0)) {
                // line 113
                echo "                        <td class=\"actionsButtons actionsButtonsView\">
                        ";
                // line 114
                if ((!$this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "finished"))) {
                    // line 115
                    echo "                            <ul>
                                <li>
                                    <a href=\"";
                    // line 117
                    echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_evaluateds_edit", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "pollapplicationid" => $this->getAttribute((isset($context["pollapplication"]) ? $context["pollapplication"] : null), "id"))), "html", null, true);
                    echo "\" class=\"tablectrl_small bDefault\" title=\"Resolver\"><span class=\"icos-preview\"></span></a>
                                </li>
                            </ul>
                        ";
                }
                // line 121
                echo "                        </td>
                        ";
            }
            // line 123
            echo "                    </tr>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pollapplication'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 125
        echo "                </tbody>
            </table>
            
            <div class=\"fg-toolbar tableFooter\">
                <div class=\"dataTables_info\">";
        // line 129
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
                ";
        // line 130
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "fishman_front_end_poll_evaluateds", "rparams" => array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "form" => (isset($context["form_data"]) ? $context["form_data"] : null)), "id" => "pollsintegrants")));
        // line 131
        echo "            </div>
            
        </div>
        <!-- /.dataListTable -->
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

    // line 57
    public function block___internal_a178d3302eef820b3d298ed7cca2083222cb49a8($context, array $blocks = array())
    {
        echo "Listado de personas a evaluar";
    }

    public function getTemplateName()
    {
        return "FishmanFrontEndBundle:Dashboard/Poll:evaluateds.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  289 => 57,  274 => 131,  272 => 130,  268 => 129,  262 => 125,  255 => 123,  251 => 121,  244 => 117,  240 => 115,  238 => 114,  235 => 113,  233 => 112,  229 => 111,  225 => 110,  221 => 109,  217 => 108,  213 => 107,  209 => 106,  205 => 105,  202 => 104,  198 => 103,  193 => 100,  189 => 98,  187 => 97,  166 => 79,  157 => 73,  153 => 72,  147 => 69,  143 => 68,  137 => 65,  133 => 64,  128 => 62,  120 => 57,  114 => 53,  103 => 45,  98 => 42,  96 => 41,  89 => 37,  86 => 36,  79 => 32,  73 => 31,  69 => 30,  66 => 29,  63 => 28,  59 => 25,  56 => 24,  52 => 21,  49 => 20,  42 => 17,  39 => 16,  35 => 4,  32 => 3,);
    }
}
