<?php

/* FishmanFrontEndBundle:Dashboard/Poll/Notification:show.html.twig */
class __TwigTemplate_ff54cdc55d539d31c0512db852bbf204 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base_fishman.html.twig");

        $this->blocks = array(
            'customheader' => array($this, 'block_customheader'),
            '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'),
        );
    }

    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_customheader($context, array $blocks = array())
    {
        // line 4
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:customheader.html.twig")->display(array_merge($context, array("customheadertitle" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitle"), "customheadertitletext" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitletext"), "customheadertitledescription" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitledescription"), "customheaderlogo" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheaderlogo"), "companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "companyname" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "companyimage" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "image"))));
        // line 14
        if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitle") == 0)) {
            // line 15
            echo "    ";
            $this->displayParentBlock("customheader", $context, $blocks);
            echo "
";
        }
    }

    // line 19
    public function block_subtitle($context, array $blocks = array())
    {
        // line 20
        echo "<span class=\"icon-screen\"></span>Encuesta : ";
        echo twig_escape_filter($this->env, (((((($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title") . " | V ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "version")) . " | ") . $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name")) . " | ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "pollschedulingperiod")), "html", null, true);
        echo "
";
    }

    // line 23
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 24
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 27
    public function block_navigation($context, array $blocks = array())
    {
        // line 28
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 31
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 32
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 33
        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 34
        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></li>
    <li><a href=\"";
        // line 35
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_notifications", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">Notificaciones</a></li>
    <li class=\"current\"><a href=\"";
        // line 36
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_notifications_show", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">Detalle</a></li>
</ul>
";
    }

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

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

<div class=\"dataList\">

    <div class=\"dashboard widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>Detalle de Documetno</h6>
            <a href=\"";
        // line 53
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_notifications", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\" class=\"buttonH bBlack\">Regresar a la lista</a>
        </div>
        
        <div class=\"messageArea\">
            <div class=\"clearfix name\"><label>";
        // line 57
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name")), "html", null, true);
        echo "</label></div>
            <div class=\"infoRow clearfix\">
                ";
        // line 59
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type") == "message")) {
            // line 60
            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 62
            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 64
        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 66
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "subject"), "html", null, true);
        echo "</div>
            <div class=\"clearfix\">";
        // line 67
        echo $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "message");
        echo "</div>
        </div>
        
    </div>
    <!-- /.tableDefault -->

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

";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  156 => 67,  152 => 66,  146 => 64,  140 => 62,  134 => 60,  132 => 59,  127 => 57,  120 => 53,  109 => 45,  106 => 44,  101 => 41,  98 => 40,  91 => 36,  87 => 35,  81 => 34,  77 => 33,  74 => 32,  71 => 31,  67 => 28,  64 => 27,  60 => 24,  57 => 23,  50 => 20,  47 => 19,  39 => 15,  37 => 14,  35 => 4,  32 => 3,);
    }
}
