<?php

/* FishmanFrontEndBundle:Dashboard/Index:dashboard_poll_admin.html.twig */
class __TwigTemplate_7bd8f54321a73fcd88ed9108f7914214 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'),
            '__internal_3fba436f9278dda2c773bb42da938b8fc1816c86' => array($this, 'block___internal_3fba436f9278dda2c773bb42da938b8fc1816c86'),
        );
    }

    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 class=\"current\"><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>
</ul>
";
    }

    // line 38
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 39
        echo "<span class=\"icos-cog4\"></span></span><h5>Dashboard - Encuesta</h5>";
    }

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

<div class=\"dashboard\">

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 49
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_3fba436f9278dda2c773bb42da938b8fc1816c86", $context, $blocks)), "html", null, true);
        echo "</h6>
            <a href=\"";
        // line 50
        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\" title=\"\">Ver todos</a>
        </div>

        ";
        // line 53
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["notifications"]) ? $context["notifications"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["notification"]) {
            // line 54
            echo "        
        <div class=\"messageArea\">
            <div class=\"infoRow clearfix\">
                ";
            // line 57
            if (($this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "type") == "message")) {
                // line 58
                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 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["notification"]) ? $context["notification"] : null), "type")) . ": ") . $this->getAttribute((isset($context["notification"]) ? $context["notification"] : null), "type_name")), "html", null, true);
                echo "</strong></span>
                ";
            }
            // line 62
            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 64
            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 65
            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 66
            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["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 70
        echo "        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

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

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  179 => 49,  168 => 70,  158 => 66,  154 => 65,  150 => 64,  144 => 62,  138 => 60,  132 => 58,  130 => 57,  125 => 54,  121 => 53,  115 => 50,  111 => 49,  101 => 42,  98 => 41,  94 => 39,  91 => 38,  82 => 34,  78 => 33,  75 => 32,  72 => 31,  68 => 28,  65 => 27,  61 => 24,  58 => 23,  51 => 20,  48 => 19,  40 => 15,  38 => 14,  36 => 4,  33 => 3,);
    }
}
