<?php

/* FishmanFrontEndBundle:Dashboard/Index:dashboard_all_profile.html.twig */
class __TwigTemplate_d344f6239d8160bf2c2c9b79a949944b 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_3baf1bd8865a8c966d78e11759805d08deb2f978' => array($this, 'block___internal_3baf1bd8865a8c966d78e11759805d08deb2f978'),
            '__internal_53cefac7f2073e0766b9f9d0c48a74a3f9872c15' => array($this, 'block___internal_53cefac7f2073e0766b9f9d0c48a74a3f9872c15'),
            '__internal_f97aaaf1a020cd11f145f271ef8ee256a732b4f6' => array($this, 'block___internal_f97aaaf1a020cd11f145f271ef8ee256a732b4f6'),
        );
    }

    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_3baf1bd8865a8c966d78e11759805d08deb2f978", $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 clearfix\">
            <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_53cefac7f2073e0766b9f9d0c48a74a3f9872c15", $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>Inicio</th>
                            <th>Fin</th>
                        </tr>
                    </thead>
                    <tbody>
                    ";
        // line 75
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["workshopapplications"]) ? $context["workshopapplications"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["workshopapplication"]) {
            // line 76
            echo "                        <tr>
                            <td>";
            // line 77
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["workshopapplication"]) ? $context["workshopapplication"] : null), "id"), "html", null, true);
            echo "</td>
                            <td><a href=\"";
            // line 78
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_workshop", array("wa" => $this->getAttribute((isset($context["workshopapplication"]) ? $context["workshopapplication"] : null), "id"))), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["workshopapplication"]) ? $context["workshopapplication"] : null), "name"), "html", null, true);
            echo "</a></td>
                            <td>";
            // line 79
            if ($this->getAttribute((isset($context["workshopapplication"]) ? $context["workshopapplication"] : null), "initdate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["workshopapplication"]) ? $context["workshopapplication"] : null), "initdate"), "d/m/Y"), "html", null, true);
            }
            echo "</td>
                            <td>";
            // line 80
            if ($this->getAttribute((isset($context["workshopapplication"]) ? $context["workshopapplication"] : null), "enddate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["workshopapplication"]) ? $context["workshopapplication"] : null), "enddate"), "d/m/Y"), "html", null, true);
            }
            echo "</td>
                        </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['workshopapplication'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 83
        echo "                    </tbody>
                </table>
            </div>
            <!-- /.dataListTable -->
       
        </div>

        <div class=\"widget grid6 tableDefault clearfix\">
        
            <div class=\"whead clearfix\">
                <h6>";
        // line 93
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_f97aaaf1a020cd11f145f271ef8ee256a732b4f6", $context, $blocks)), "html", null, true);
        echo "</h6>
                <a href=\"";
        // line 94
        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>Inicio</th>
                            <th>Fin</th>
                        </tr>
                    </thead>
                    <tbody>
                        ";
        // line 108
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["polls"]) ? $context["polls"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["poll"]) {
            // line 109
            echo "                        <tr>
                            <td>";
            // line 110
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "html", null, true);
            echo "</td>
                            ";
            // line 111
            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 112
                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 114
                echo "                            <td>";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "html", null, true);
                echo "</td>
                            ";
            }
            // line 116
            echo "                            <td>";
            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 117
            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 120
        echo "                    </tbody>
                </table>
            </div>
            <!-- /.dataListTable -->
            
        </div>
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

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

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

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

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  315 => 93,  309 => 60,  303 => 27,  286 => 120,  275 => 117,  268 => 116,  262 => 114,  254 => 112,  252 => 111,  248 => 110,  245 => 109,  241 => 108,  224 => 94,  220 => 93,  208 => 83,  197 => 80,  191 => 79,  185 => 78,  181 => 77,  178 => 76,  174 => 75,  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,);
    }
}
