<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* content/tmpl/partner-webinars.html.twig */
class __TwigTemplate_9f71bce25d52c5f2ea1c268218c2ea45 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'column' => [$this, 'block_column'],
];
}
protected function doGetParent(array $context)
{
// line 3
return "1-col-sidebar.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/tmpl/partner-webinars.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/tmpl/partner-webinars.html.twig"));
$this->parent = $this->loadTemplate("1-col-sidebar.html.twig", "content/tmpl/partner-webinars.html.twig", 3);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_column($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
// line 7
echo "
\t\t\t";
// line 8
if (((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 8, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
// line 9
echo "\t\t\t
";
// line 10
$this->loadTemplate("includes/curtain-ads/rlw.html.twig", "content/tmpl/partner-webinars.html.twig", 10)->display($context);
// line 11
echo "\t\t\t";
}
// line 12
echo "\t";
if (twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 12, $this->source); })()), "getShowTitle", [], "method", false, false, false, 12)) {
// line 13
echo "\t\t<h1>";
echo twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 13, $this->source); })()), "getTitle", [], "method", false, false, false, 13);
echo "</h1>
\t";
}
// line 15
echo "
\t";
// line 17
if (twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 17, $this->source); })()), "getFeaturedImageTag", [], "method", false, false, false, 17)) {
// line 18
echo "\t\t";
echo twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 18, $this->source); })()), "getFeaturedImageTag", ["display-block", ""], "method", false, false, false, 18);
echo "
\t";
}
// line 20
echo "
\t";
// line 22
echo "\t";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "getContentFull", [], "method", false, false, false, 22))) {
// line 23
echo "\t\t";
echo $this->extensions['App\Twig\RCSExtension']->wordpress(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 23, $this->source); })()), "getContentFull", [], "method", false, false, false, 23));
echo "
\t";
}
// line 25
echo "
\t";
// line 71
echo "
\t";
// line 73
echo "\t<br>
\t<h2>Webinars On Demand</h2>
\t<hr>
\t";
// line 76
if ((twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 76, $this->source); })()), "getContentBuilder", [], "method", false, false, false, 76) && (twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 76, $this->source); })()), "getContentBuilder", [], "method", false, false, false, 76) != "{}"))) {
// line 77
echo "\t\t";
echo $this->extensions['App\Twig\RCSExtension']->builder(twig_get_attribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 77, $this->source); })()), "getContentBuilder", [], "method", false, false, false, 77));
echo "
\t";
}
// line 79
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/tmpl/partner-webinars.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 134 => 79, 128 => 77, 126 => 76, 121 => 73, 118 => 71, 114 => 25, 108 => 23, 105 => 22, 102 => 20, 96 => 18, 94 => 17, 90 => 15, 84 => 13, 81 => 12, 78 => 11, 76 => 10, 73 => 9, 71 => 8, 68 => 7, 58 => 6, 35 => 3,);
}
public function getSourceContext()
{
return new Source("
{% extends \"1-col-sidebar.html.twig\" %}
{# webinars #}
{% block column %}
\t\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t
{% include \"includes/curtain-ads/rlw.html.twig\" %}
\t\t\t{% endif %}
\t{% if content.getShowTitle() %}
\t\t<h1>{{ content.getTitle() | raw }}</h1>
\t{% endif %}
\t{% if content.getFeaturedImageTag() %}
\t\t{{ content.getFeaturedImageTag(\"display-block\",\"\")|raw }}
\t{% endif %}
\t{# show full content #}
\t{% if content.getContentFull() is not empty %}
\t\t{{ content.getContentFull() | wordpress | raw }}
\t{% endif %}
\t{#<hr>
\t{% if webinars['coming_up'] %}
\t<h2 style=\"color: #ab1616;\">Sign up for these upcoming webinars today!</h2>
\t{% endif %}
\t{% set count = 0 %}
\t{% for webinar in webinars['coming_up'] %}
\t\t<div class=\"row my-3\">
\t\t\t{% if webinar.getFeaturedImageTag() is not empty %}
\t\t\t\t<div class=\"col-3 post-thumbnail\">
\t\t\t\t\t{{ webinar.getFeaturedImageTag(\"\",\"\")|raw }}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t<div class={{ (webinar.getFeaturedImageTag() is empty) ? \"col-12\" : \"col-9\" }}>
\t\t\t\t<h3 class=\"list-post-title\" style=\"color: #62696b; margin-bottom: 0.5em;\"><a href=\"{{ webinar.getURL() }}\">{{ webinar.title }}</a></h3>
\t\t\t\t<p>{{ webinar.contentfull | wordpress | raw }}</p>
\t\t\t</div>
\t\t</div>
\t\t<hr>
\t\t{% set count = count + 1 %}
\t{% endfor %}#]
\t{#
\t<br><br>
\t<h2>RCS Webinar Series On Demand</h2>
\t<hr>
\t{% set count = 0 %}
\t{% for webinar in webinars['series_2018'] %}
\t\t<div class=\"row my-3\">
\t\t\t{% if webinar.getFeaturedImageTag() is not empty %}
\t\t\t\t<div class=\"col-3 post-thumbnail\">
\t\t\t\t\t{{ webinar.getFeaturedImageTag(\"\",\"\")|raw }}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t<div class={{ (webinar.getFeaturedImageTag() is empty) ? \"col-12\" : \"col-9\" }}>
\t\t\t\t<h3 class=\"list-post-title\" style=\"color: #62696b; margin-bottom: 0.5em;\"><a href=\"{{ webinar.getURL() }}\">{{ webinar.title }}</a></h3>
\t\t\t\t<p>{{ webinar.contentfull | wordpress | raw }}</p>
\t\t\t</div>
\t\t</div>
\t\t<hr>
\t\t{% set count = count + 1 %}
\t{% endfor %}
\t#}
\t{# show builder content #}
\t<br>
\t<h2>Webinars On Demand</h2>
\t<hr>
\t{% if content.getContentBuilder() and content.getContentBuilder() != '{}' %}
\t\t{{ content.getContentBuilder() | builder | raw }}
\t{% endif %}
{% endblock %}
", "content/tmpl/partner-webinars.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/partner-webinars.html.twig");
}
}