<?php

/* FishmanPollBundle:Pollschedulingquestion:index.html.twig */
class __TwigTemplate_61ceb5c5acceee95248753dd3115968c 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_e319b9218d1e1ae0a95523e14e4afc7ff51e65e3' => array($this, 'block___internal_e319b9218d1e1ae0a95523e14e4afc7ff51e65e3'),
            'tinymce' => array($this, 'block_tinymce'),
            '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"), "html", null, true);
        echo "</a></li>
    <li class=\"current\"><a href=\"";
        // line 18
        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>
</ul>
";
    }

    // line 22
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 23
        echo "<span class=\"icos-create2\"></span><h5>Programación de Encuestas: ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "title"), "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\">

    <div class=\"menuCrud clearfix\">
        <ul>
            <li>
                <a href=\"";
        // line 34
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingquestion_new", array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Crear Pregunta
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->
    
    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 45
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_e319b9218d1e1ae0a95523e14e4afc7ff51e65e3", $context, $blocks)), "html", null, true);
        echo "</h6>
            <div class=\"navTabs\">
                <ul>
                    <li><a href=\"";
        // line 48
        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 49
        if (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "pollschedulinganonymous") == 0)) {
            // line 50
            echo "                        ";
            if (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "entitytype") == "pollscheduling")) {
                // line 51
                echo "                        <li><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 53
            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 54
            if (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "level") != 0)) {
                // line 55
                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 57
            echo "                        <li class=\"activeTab\"><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 58
            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>
                    ";
        } else {
            // line 60
            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>
                        <li class=\"activeTab\"><a href=\"";
            // line 61
            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>
                    ";
        }
        // line 63
        echo "                </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" => "Id / Pregunta"));
        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), "section"), 'label', array("label" => "Sección"));
        echo "
                        <div>";
        // line 76
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "section"), '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), "type"), 'label', array("label" => "Tipo"));
        echo "
                        <div>";
        // line 80
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "type"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow formSequence clearfix\">
                        ";
        // line 83
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'label', array("label" => "Orden"));
        echo "
                        <div>";
        // line 84
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), '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 -->
        
        <div class=\"dataListTable\">
            <table class=\"records_list dataTable\">
                <thead>
                    <tr>
                        <th>Id</th>
                        <th>Pregunta</th>
                        <th>Sección</th>
                        <th>Tipo</th>
                        <th>Modificado por</th>
                        <th>Última modificación</th>
                        <th>Orden</th>
                        <th>Estado</th>
                        <th>Acciones</th>
                    </tr>
                </thead>
                <tbody>
                ";
        // line 117
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["entities"]) ? $context["entities"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
            // line 118
            echo "                    <tr>
                        <td><a href=\"";
            // line 119
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingquestion_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><a href=\"";
            // line 120
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingquestion_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), "question"), "html", null, true);
            echo "</a></td>
                        <td>";
            // line 121
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "pollsection"), "html", null, true);
            echo "</td>
                        <td>";
            // line 122
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->answertypeNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type")), "html", null, true);
            echo "</td>
                        <td>";
            // line 123
            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 124
            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 125
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "sequence"), "html", null, true);
            echo "</td>
                        <td>";
            // line 126
            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\">
                            <ul>
                                <li>
                                    <a href=\"";
            // line 130
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingquestion_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 133
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingquestion_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 136
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pollschedulingquestion_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>
                            </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 142
        echo "                </tbody>
            </table>
            
            <div class=\"fg-toolbar tableFooter\">
                <div class=\"dataTables_info\">";
        // line 146
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
                ";
        // line 147
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "pollschedulingquestion", "rparams" => array("pollschedulingid" => $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"), "form" => (isset($context["form_data"]) ? $context["form_data"] : null)), "id" => "pollschedulingquestion")));
        // line 148
        echo "            </div>
            
        </div>
        <!-- /.dataListTable -->
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

    // line 45
    public function block___internal_e319b9218d1e1ae0a95523e14e4afc7ff51e65e3($context, array $blocks = array())
    {
        echo "Listado de Preguntas";
    }

    // line 161
    public function block_tinymce($context, array $blocks = array())
    {
        // line 162
        echo $this->env->getExtension('stfalcon_tinymce')->tinymce_init();
        echo "
";
    }

    // line 165
    public function block_javascripts($context, array $blocks = array())
    {
        // line 166
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 167
        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:Pollschedulingquestion:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  385 => 167,  381 => 166,  378 => 165,  372 => 162,  369 => 161,  363 => 45,  348 => 148,  346 => 147,  342 => 146,  336 => 142,  324 => 136,  318 => 133,  312 => 130,  305 => 126,  301 => 125,  295 => 124,  291 => 123,  287 => 122,  283 => 121,  277 => 120,  271 => 119,  268 => 118,  264 => 117,  238 => 94,  229 => 88,  225 => 87,  219 => 84,  215 => 83,  209 => 80,  205 => 79,  199 => 76,  195 => 75,  189 => 72,  185 => 71,  180 => 69,  172 => 63,  167 => 61,  162 => 60,  157 => 58,  152 => 57,  146 => 55,  144 => 54,  139 => 53,  133 => 51,  130 => 50,  128 => 49,  124 => 48,  118 => 45,  104 => 34,  94 => 27,  91 => 26,  84 => 23,  81 => 22,  74 => 18,  68 => 17,  64 => 16,  60 => 15,  57 => 14,  54 => 13,  50 => 10,  47 => 9,  43 => 6,  40 => 5,  34 => 3,);
    }
}
