<?php

/* FishmanFrontEndBundle:Dashboard/Notification:index.html.twig */
class __TwigTemplate_0eba125dda44e3c3575dd126599b4ef2 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'),
            'content' => array($this, 'block_content'),
            '__internal_f65cd17ca0b8d1dcd9ff48a58c4f5b23566539d5' => array($this, 'block___internal_f65cd17ca0b8d1dcd9ff48a58c4f5b23566539d5'),
            '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())
    {
        // line 4
        if (((($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_ADMIN") || ($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_SUPER_ADMIN")) || ($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_TEACHER"))) {
            // line 5
            echo "<span class=\"icon-screen\"></span>Notificaciones
";
        } else {
            // line 7
            echo "<span class=\"icon-screen\"></span>Notificaciones | ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "workinginformation"), "method"), "company_name"), "html", null, true);
            echo "
";
        }
    }

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

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

    // line 19
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 20
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 21
        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 22
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_notifications"), "html", null, true);
        echo "\">Notificaciones</a></li>
</ul>
";
    }

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

<div class=\"dataList\">

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 34
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_f65cd17ca0b8d1dcd9ff48a58c4f5b23566539d5", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>
        
        <div class=\"tablePars clearfix\">
            <div class=\"dataTables_filter clearfix\">
                <form action=\"\" method=\"get\" ";
        // line 39
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"clearfix\">
                    <div class=\"formRow formSequence clearfix\">
                        ";
        // line 41
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'label', array("label" => "Orden"));
        echo "
                        <div>";
        // line 42
        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 formRowWord clearfix\">
                        ";
        // line 45
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'label', array("label" => "Asunto / Mensaje"));
        echo "
                        <div>";
        // line 46
        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 49
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "type"), 'label', array("label" => "Tipo Mensaje"));
        echo "
                        <div>";
        // line 50
        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 clearfix\">
                        ";
        // line 53
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "entity"), 'label', array("label" => "Taller/Encuesta"));
        echo "
                        <div>";
        // line 54
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "entity"), 'widget');
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 57
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "company"), 'label', array("label" => "Empresa"));
        echo "
                        <div>";
        // line 58
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "company"), 'widget');
        echo "</div>
                    </div>
                    <div class=\"formRow formDatetime clearfix\">
                        ";
        // line 61
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sended"), 'label', array("label" => "Recibido el"));
        echo "
                        <div>";
        // line 62
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sended"), 'widget', array("attr" => array("class" => "datepicker", "value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sended"), "vars"), "value"))));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <button type=\"submit\" class=\"buttonSearch sideB\"></button>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 68
        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>Orden</th>
                        <th>Asunto</th>
                        <th>Mensaje</th>
                        <th>Tipo Mensaje</th>
                        <th>Taller/Encuesta</th>
                        <th>Empresa</th>
                        <th>Recibido el</th>
                        <th>Acción</th>
                    </tr>
                </thead>
                <tbody>
                ";
        // line 90
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["notifications"]) ? $context["notifications"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["notification"]) {
            // line 91
            echo "                    <tr>
                        <td>";
            // line 92
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "sequence"), "html", null, true);
            echo "</td>
                        <td><a href=\"";
            // line 93
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_notifications_show", array("id" => $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "id"))), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "subject"), "html", null, true);
            echo "</a></td>
                        <td>";
            // line 94
            echo $this->env->getExtension('fishman_extension')->filterCut($this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "message"), 100);
            echo "</td>
                        <td>";
            // line 95
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->notificationtypeNameFilter($this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "type")), "html", null, true);
            echo "</td>
                        <td>";
            // line 96
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "entity_name"), "html", null, true);
            echo "</td>
                        <td>";
            // line 97
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "company"), "html", null, true);
            echo "</td>
                        <td>";
            // line 98
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "sended"), "j/n/Y g:ia"), "html", null, true);
            echo "</td>
                        <td class=\"actionsButtons actionsButtonsView\">
                            <ul>
                                <li>
                                    <a href=\"";
            // line 102
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_notifications_show", array("id" => $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "id"))), "html", null, true);
            echo "\" class=\"tablectrl_small bDefault\" title=\"Ver\"><span class=\"icos-preview\"></span></a>
                                </li>
                            </ul>
                        </td>
                    </tr>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notification'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 108
        echo "                </tbody>
            </table>
            
            <div class=\"fg-toolbar tableFooter\">
                <div class=\"dataTables_info\">";
        // line 112
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
                ";
        // line 113
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "fishman_front_end_notifications", "rparams" => array("form" => (isset($context["form_data"]) ? $context["form_data"] : null)), "id" => "notifications")));
        // line 114
        echo "            </div>
            
        </div>
        <!-- /.dataListTable -->
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

    // line 34
    public function block___internal_f65cd17ca0b8d1dcd9ff48a58c4f5b23566539d5($context, array $blocks = array())
    {
        echo "Listado de Notificaciones";
    }

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

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  286 => 129,  282 => 128,  279 => 127,  273 => 34,  258 => 114,  256 => 113,  252 => 112,  246 => 108,  234 => 102,  227 => 98,  223 => 97,  219 => 96,  215 => 95,  211 => 94,  205 => 93,  201 => 92,  198 => 91,  194 => 90,  169 => 68,  160 => 62,  156 => 61,  150 => 58,  146 => 57,  140 => 54,  136 => 53,  130 => 50,  126 => 49,  120 => 46,  116 => 45,  110 => 42,  106 => 41,  101 => 39,  93 => 34,  83 => 27,  80 => 26,  73 => 22,  69 => 21,  66 => 20,  63 => 19,  59 => 16,  56 => 15,  52 => 12,  49 => 11,  41 => 7,  37 => 5,  35 => 4,  32 => 3,);
    }
}
