<?php

/* FishmanFrontEndBundle:Dashboard/Index:dashboard_all_admin.html.twig */
class __TwigTemplate_3ccf031da4ce030f584c9e5b0dae1b45 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_0b51cdddc2b299f675f712a05c2e74ba66b7ca83' => array($this, 'block___internal_0b51cdddc2b299f675f712a05c2e74ba66b7ca83'),
            '__internal_43a0334c91598d91816e9aca208baa3a0a2000f1' => array($this, 'block___internal_43a0334c91598d91816e9aca208baa3a0a2000f1'),
            '__internal_c613fc9ee3babf737c21abc57091ae781b85a4d4' => array($this, 'block___internal_c613fc9ee3babf737c21abc57091ae781b85a4d4'),
        );
    }

    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>Dashboard";
    }

    // 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" => "dashboard", "dashboard" => "all")));
    }

    // 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" => "dashboard", "dashboard" => "all")));
    }

    // line 13
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 14
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li class=\"current\"><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>
</ul>
";
    }

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

<div class=\"dashboard\">

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 27
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_0b51cdddc2b299f675f712a05c2e74ba66b7ca83", $context, $blocks)), "html", null, true);
        echo "</h6>
            <a href=\"";
        // line 28
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_notifications"), "html", null, true);
        echo "\" class=\"buttonH bBlack\" title=\"\">Ver todos</a>
        </div>

        ";
        // line 31
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["notifications"]) ? $context["notifications"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["notification"]) {
            // line 32
            echo "        
        <div class=\"messageArea\">
            <div class=\"clearfix name\">
                <label>";
            // line 35
            echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "name")), "html", null, true);
            echo "</label>
            </div>
            <div class=\"infoRow clearfix\">
                ";
            // line 38
            if (($this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "type") == "message")) {
                // line 39
                echo "                    <span class=\"title\"><strong><span class=\"uDone\"></span>";
                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 "</strong></span>
                ";
            } else {
                // line 41
                echo "                    <span class=\"title\"><strong><span class=\"uDone\"></span>";
                echo twig_escape_filter($this->env, (($this->env->getExtension('fishman_extension')->notificationtypeNameFilter($this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "type")) . ": ") . $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "type_name")), "html", null, true);
                echo "</strong></span>
                ";
            }
            // line 43
            echo "                <span class=\"date\"><label>Recibido el:</label> ";
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "sended"), "j/n/Y H:i a"), "html", null, true);
            echo "</span>
            </div>
            <div class=\"clearfix\"><label>Asunto:</label> ";
            // line 45
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "subject"), "html", null, true);
            echo "</div>
            <div class=\"clearfix\"><p>";
            // line 46
            echo $this->env->getExtension('fishman_extension')->filterCut($this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "message"), 300);
            echo "</p></div>
            <div class=\"textR clearfix\"><a href=\"";
            // line 47
            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 "\" title=\"Ver más\">Ver más</a></div>
        </div>

        ";
        }
        $_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 51
        echo "
    </div>
    <!-- /.tableDefault -->
    
    <div class=\"clearfix\">
        
        <div class=\"widget grid6 tableDefault clearfix\">
        
            <div class=\"whead clearfix\">
                <h6>";
        // line 60
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_43a0334c91598d91816e9aca208baa3a0a2000f1", $context, $blocks)), "html", null, true);
        echo "</h6>
                <a href=\"";
        // line 61
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_workshops"), "html", null, true);
        echo "\" class=\"buttonH bBlack\" title=\"\">Ver todos</a>
            </div>
            
            <div class=\"dataListTable\">
                <table class=\"records_list dataTable\">
                    <thead>
                        <tr>
                            <th>Código</th>
                            <th>Nombre</th>
                            <th>Número</th>
                            <th>Inicio</th>
                            <th>Fin</th>
                        </tr>
                    </thead>
                    <tbody>
                    ";
        // line 76
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["workshops"]) ? $context["workshops"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["workshop"]) {
            // line 77
            echo "                        <tr>
                            <td>";
            // line 78
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "id"), "html", null, true);
            echo "</td>
                            <td><a href=\"";
            // line 79
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_workshop_admin", array("workshopid" => $this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "id"))), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "name"), "html", null, true);
            echo "</a></td>
                            <td>";
            // line 80
            if (($this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "time_number") == "")) {
                echo "0";
            } else {
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "time_number"), "html", null, true);
            }
            echo "</td>
                            <td>";
            // line 81
            if ($this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "initdate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "initdate"), "d/m/Y"), "html", null, true);
            }
            echo "</td>
                            <td>";
            // line 82
            if ($this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "enddate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["workshop"]) ? $context["workshop"] : null), "enddate"), "d/m/Y"), "html", null, true);
            }
            echo "</td>
                        </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['workshop'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 85
        echo "                    </tbody>
                </table>
            </div>
            <!-- /.dataListTable -->
       
        </div>

        <div class=\"widget grid6 tableDefault clearfix\">
        
            <div class=\"whead clearfix\">
                <h6>";
        // line 95
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_c613fc9ee3babf737c21abc57091ae781b85a4d4", $context, $blocks)), "html", null, true);
        echo "</h6>
                <a href=\"";
        // line 96
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_polls"), "html", null, true);
        echo "\" class=\"buttonH bBlack\" title=\"\">Ver todos</a>
            </div>
            
            <div class=\"dataListTable\">
                <table class=\"records_list dataTable\">
                    <thead>
                        <tr>
                            <th>Código</th>
                            <th>Nombre</th>
                            <th>Número</th>
                            <th>Inicio</th>
                            <th>Fin</th>
                        </tr>
                    </thead>
                    <tbody>
                        ";
        // line 111
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["polls"]) ? $context["polls"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["poll"]) {
            // line 112
            echo "                        <tr>
                            <td>";
            // line 113
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "html", null, true);
            echo "</td>
                            ";
            // line 114
            if (($this->env->getExtension('fishman_extension')->dateIsBeforeFunction($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "initdate")) && $this->env->getExtension('fishman_extension')->dateIsAfterFunction($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "enddate")))) {
                // line 115
                echo "                            <td><a href=\"";
                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></td>
                            ";
            } else {
                // line 117
                echo "                            <td>";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "html", null, true);
                echo "</td>
                            ";
            }
            // line 119
            echo "                            <td>";
            if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "time_number") == "")) {
                echo "0";
            } else {
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "time_number"), "html", null, true);
            }
            echo "</td>
                            <td>";
            // line 120
            if ($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "initdate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "initdate"), "d/m/Y"), "html", null, true);
            }
            echo "</td>
                            <td>";
            // line 121
            if ($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "enddate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "enddate"), "d/m/Y"), "html", null, true);
            }
            echo "</td>
                        </tr>
                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['poll'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 124
        echo "                    </tbody>
                </table>
            </div>
            <!-- /.dataListTable -->
            
        </div>
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

    // line 27
    public function block___internal_0b51cdddc2b299f675f712a05c2e74ba66b7ca83($context, array $blocks = array())
    {
        echo "Notificaciones";
    }

    // line 60
    public function block___internal_43a0334c91598d91816e9aca208baa3a0a2000f1($context, array $blocks = array())
    {
        echo "Talleres";
    }

    // line 95
    public function block___internal_c613fc9ee3babf737c21abc57091ae781b85a4d4($context, array $blocks = array())
    {
        echo "Encuestas";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  333 => 95,  327 => 60,  321 => 27,  304 => 124,  293 => 121,  287 => 120,  278 => 119,  272 => 117,  264 => 115,  262 => 114,  258 => 113,  255 => 112,  251 => 111,  233 => 96,  229 => 95,  217 => 85,  206 => 82,  200 => 81,  192 => 80,  186 => 79,  182 => 78,  179 => 77,  175 => 76,  157 => 61,  153 => 60,  142 => 51,  132 => 47,  128 => 46,  124 => 45,  118 => 43,  112 => 41,  106 => 39,  104 => 38,  98 => 35,  93 => 32,  89 => 31,  83 => 28,  79 => 27,  69 => 20,  66 => 19,  59 => 15,  56 => 14,  53 => 13,  49 => 10,  46 => 9,  42 => 6,  39 => 5,  33 => 3,);
    }
}
