<?php

/* FishmanFrontEndBundle:Dashboard/Notification:show.html.twig */
class __TwigTemplate_d9015f0f04035477f87f14317147d8b5 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_5217a18fc2a26439d7109aa35a4a3074b02e45c4' => array($this, 'block___internal_5217a18fc2a26439d7109aa35a4a3074b02e45c4'),
        );
    }

    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><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>
    <li class=\"current\"><a href=\"";
        // line 23
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_notifications_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">Detalle</a></li>
</ul>
";
    }

    // line 27
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 28
        echo "<span class=\"icos-cog4\"></span><h5>Notificaciones</h5>
";
    }

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

<div class=\"dataList\">

    <div class=\"dashboard widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>Detalle de Notificación</h6>
            <a href=\"";
        // line 40
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_notifications"), "html", null, true);
        echo "\" class=\"buttonH bBlack\">Regresar a la lista</a>
        </div>
        
        <div class=\"messageArea\">
            <div class=\"clearfix name\"><label>";
        // line 44
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_5217a18fc2a26439d7109aa35a4a3074b02e45c4", $context, $blocks)), "html", null, true);
        echo "</label></div>
            <div class=\"infoRow clearfix\">
                ";
        // line 46
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type") == "message")) {
            // line 47
            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["entity"]) ? $context["entity"] : null), "type")), "html", null, true);
            echo "</strong></span>
                ";
        } else {
            // line 49
            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["entity"]) ? $context["entity"] : null), "type")) . ": ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type_name")), "html", null, true);
            echo "</strong></span>
                ";
        }
        // line 51
        echo "                <span class=\"date\"><label>Recibido el:</label> ";
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "sended"), "j/n/Y H:i a"), "html", null, true);
        echo "</span>
            </div>
            <div class=\"clearfix\"><label>Asunto:</label> ";
        // line 53
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "subject"), "html", null, true);
        echo "</div>
            <div class=\"clearfix\">";
        // line 54
        echo $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "message");
        echo "</div>
        </div>
        
    </div>
    <!-- /.tableDefault -->

</div>
<!-- /.dataList -->

";
    }

    // line 44
    public function block___internal_5217a18fc2a26439d7109aa35a4a3074b02e45c4($context, array $blocks = array())
    {
        echo "Taller: ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name"), "html", null, true);
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  156 => 44,  142 => 54,  138 => 53,  132 => 51,  126 => 49,  120 => 47,  118 => 46,  113 => 44,  106 => 40,  95 => 32,  92 => 31,  87 => 28,  84 => 27,  77 => 23,  73 => 22,  69 => 21,  66 => 20,  63 => 19,  59 => 16,  56 => 15,  52 => 12,  49 => 11,  41 => 7,  37 => 5,  35 => 4,  32 => 3,);
    }
}
