var/cache/dev/twig/82/820d704a6c23a813af94a6860b649356.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* content/tmpl/event-list.html.twig */
  14. class __TwigTemplate_23553b67e0cc0a6695020a147fb17626 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/event-list.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/event-list.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""content/tmpl/event-list.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 2
  46.     public function block_body($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  53.         // line 3
  54.         echo "
  55. ";
  56.         // line 4
  57.         $this->loadTemplate("content/tmpl/event-list.html.twig""content/tmpl/event-list.html.twig"4"1167824465")->display($context);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.     }
  63.     public function getTemplateName()
  64.     {
  65.         return "content/tmpl/event-list.html.twig";
  66.     }
  67.     public function isTraitable()
  68.     {
  69.         return false;
  70.     }
  71.     public function getDebugInfo()
  72.     {
  73.         return array (  71 => 4,  68 => 3,  58 => 2,  35 => 1,);
  74.     }
  75.     public function getSourceContext()
  76.     {
  77.         return new Source("{% extends \"base.html.twig\" %}
  78. {% block body %}
  79. {% embed \"1-col-sidebar.html.twig\" %}
  80. {# event list view #}
  81. {% block column %}
  82. \t{% include  \"includes/curtain-ads/information.html.twig\" %}
  83. \t<h1 class=\"page-title\">Events</h1>
  84. \t{% set selected_view = \"/events\" %}
  85. \t{% include \"includes/events-navigation-bar.html.twig\" %}
  86. \t{% if pagenum > 0 %}
  87. \t\t<h3 style=\"text-align: center;\">Upcoming Events</h3>
  88. \t{% else %}
  89. \t\t<h3 style=\"text-align: center;\">Past Events</h3>
  90. \t{% endif %}
  91. \t{% block pagination %}
  92. \t\t<div class=\"row\" style=\"padding-bottom: 30px;\">
  93. \t\t\t<div class=\"col-6\">
  94. \t\t\t\t{% if previous_pagenum != 0 %}
  95. \t\t\t\t\t<a href=\"/events/{{ previous_pagenum }}/{{ search }}\">« Previous Events</a>
  96. \t\t\t\t{% endif %}
  97. \t\t\t</div>
  98. \t\t\t<div class=\"col-6\">
  99. \t\t\t\t{% if next_pagenum != 0 %}
  100. \t\t\t\t\t<a href=\"/events/{{ next_pagenum }}/{{ search }}\" style=\"float: right;\">Next Events »</a>
  101. \t\t\t\t{% endif %}
  102. \t\t\t</div>
  103. \t\t</div>
  104. \t{% endblock %}
  105. \t{% set last_month = \"\" %}
  106. \t{% set this_month = \"\" %}
  107. \t{% for event in events %}
  108. \t\t<div class=\"row\">
  109. \t\t\t<div class=\"col-12 eventsingle\">
  110. \t\t\t\t{% set last_month = this_month %}
  111. \t\t\t\t{% set this_month = attribute(events_meta, event.id)._EventStartDate | date(\"F Y\") %}
  112. \t\t\t\t{% if this_month != last_month %}
  113. \t\t\t\t\t<p class=\"event-separator\">{{ this_month }}</p>
  114. \t\t\t\t{% endif %}
  115. \t\t\t\t<h3 class=\"list-post-title\"><a href=\"/event/{{event.getSlug()}}\" style=\"font-family: 'Proxima Nova', 'proxima-nova', 'Source Sans Pro', 'source-sans-pro', sans-serif;\">{{ event.title }}</a></h3>
  116. \t\t\t\t<p class=\"post-byline\"><strong>
  117. \t\t\t\t{% if attribute(events_meta, event.id)._EventAllDay is defined and attribute(events_meta, event.id)._EventAllDay == \"yes\" %}
  118. \t\t\t\t\t{{ attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y\") }} - {{ attribute(events_meta, event.id)._EventEndDate | date(\"F j, Y\") }}
  119. \t\t\t\t{% elseif attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y\") == attribute(events_meta, event.id)._EventEndDate | date(\"F j, Y\") %}
  120. \t\t\t\t\t{{ attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y @ g:i a\") }} - {{ attribute(events_meta, event.id)._EventEndDate | date(\"g:i a\") }} {{ attribute(events_meta, event.id)._EventTimezone|timezone }}
  121. \t\t\t\t{% else %}
  122. \t\t\t\t\t{{ attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y @ g:i a\") }} - {{ attribute(events_meta, event.id)._EventEndDate | date(\"F j, Y @ g:i a\") }} {{ attribute(events_meta, event.id)._EventTimezone|timezone }}
  123. \t\t\t\t{% endif %}
  124. \t\t\t\t</strong></p>
  125. \t\t\t\t
  126. \t\t\t\t{% if attribute(events_meta, event.id)._VenueTitle is defined and attribute(events_meta, event.id)._VenueTitle is not empty %}
  127. \t\t\t\t\t<strong>
  128. \t\t\t\t\t\t<label>{{ attribute(events_meta, event.id)._VenueTitle}}</label>
  129. \t\t\t\t\t</strong>
  130. \t\t\t\t\t
  131. \t\t\t\t\t{% if attribute(events_meta, event.id)._VenueAddress is defined and attribute(events_meta, event.id)._VenueAddress is not empty
  132. \t\t\t\t\tand attribute(events_meta, event.id)._VenueCity is defined and attribute(events_meta, event.id)._VenueCity is not empty
  133. \t\t\t\t\tand attribute(events_meta, event.id)._VenueState is defined and attribute(events_meta, event.id)._VenueState is not empty
  134. \t\t\t\t\tand attribute(events_meta, event.id)._VenueZip is defined and attribute(events_meta, event.id)._VenueZip is not empty
  135. \t\t\t\t\tand attribute(events_meta, event.id)._VenueCountry is defined and attribute(events_meta, event.id)._VenueCountry is not empty
  136. \t\t\t\t\t%}
  137. \t\t\t\t\t\t<strong>
  138. \t\t\t\t\t\t\t,{{ attribute(events_meta, event.id)._VenueAddress}}
  139. \t\t\t\t\t\t\t{{ attribute(events_meta, event.id)._VenueCity}}, {{ attribute(events_meta, event.id)._VenueState}}, {{ attribute(events_meta, event.id)._VenueZip}} {{ attribute(events_meta, event.id)._VenueCountry}}
  140. \t\t\t\t\t\t</strong>
  141. \t\t\t\t\t\t<a href=\"https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=
  142. \t\t\t\t\t\t{{ attribute(events_meta, event.id)._VenueAddress ~ ' ' ~ 
  143. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueCity ~ ' ' ~ 
  144. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueState ~ ' ' ~ 
  145. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueZip ~ ' ' ~ 
  146. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueCountry | replace({' ': '+'}) }}\"
  147. \t\t\t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">+ Google Map</a>
  148. \t\t\t\t\t{% endif %}
  149. \t\t\t\t{% endif %}
  150. \t\t\t\t{#
  151. \t\t\t\t{% if attribute(venues, event.id) is not empty %}
  152. \t\t\t\t\t<strong>
  153. \t\t\t\t\t\t<label>{{ attribute(venues, event.id).title}},</label>
  154. \t\t\t\t\t\t{{ attribute(venues, event.id)._VenueAddress}}
  155. \t\t\t\t\t\t{{ attribute(venues, event.id)._VenueCity}}, {{ attribute(venues, event.id)._VenueState}}, {{ attribute(venues, event.id)._VenueZip}} {{ attribute(venues, event.id)._VenueCountry}}
  156. \t\t\t\t\t</strong>
  157. \t\t\t\t\t<a href=\"https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=
  158. \t\t\t\t\t{{ attribute(venues, event.id)._VenueAddress ~ ' ' ~ 
  159. \t\t\t\t\t\tattribute(venues, event.id)._VenueCity ~ ' ' ~ 
  160. \t\t\t\t\t\tattribute(venues, event.id)._VenueState ~ ' ' ~ 
  161. \t\t\t\t\t\tattribute(venues, event.id)._VenueZip ~ ' ' ~ 
  162. \t\t\t\t\t\tattribute(venues, event.id)._VenueCountry | replace({' ': '+'}) }}\"
  163. \t\t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">+ Google Map</a>
  164. \t\t\t\t{% endif %}
  165. \t\t\t\t#}
  166. \t\t\t\t
  167. \t\t\t\t<div class=\"row\">
  168. \t\t\t\t\t{% if event.getFeaturedImageTag() is not empty %}
  169. \t\t\t\t\t\t<div class=\"col-3 post-thumbnail\">
  170. \t\t\t\t\t\t\t<a href=\"/event/{{event.getSlug()}}\" title=\"{{ event.getTitle() }}\">
  171. \t\t\t\t\t\t\t{{ event.getFeaturedImageTag()|raw }}
  172. \t\t\t\t\t\t\t</a>
  173. \t\t\t\t\t\t</div>
  174. \t\t\t\t\t{% endif %}
  175. \t\t\t\t\t
  176. \t\t\t\t\t<div class={{ (event.getFeaturedImageTag() is empty) ? \"col-12\" : \"col-9\" }}>
  177. \t\t\t\t\t\t{{ event.getIntroText()|raw }}<br><a href=\"/event/{{event.getSlug()}}\">Find out more »</a>
  178. \t\t\t\t\t</div>
  179. \t\t\t\t</div>
  180. \t\t\t\t<hr>
  181. \t\t\t</div>
  182. \t\t</div>
  183. \t{% endfor %}
  184. \t{{ block('pagination') }}
  185. \t
  186. {% endblock %}
  187. {% endembed %}
  188. {% endblock %}
  189. ""content/tmpl/event-list.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/event-list.html.twig");
  190.     }
  191. }
  192. /* content/tmpl/event-list.html.twig */
  193. class __TwigTemplate_23553b67e0cc0a6695020a147fb17626___1167824465 extends Template
  194. {
  195.     private $source;
  196.     private $macros = [];
  197.     public function __construct(Environment $env)
  198.     {
  199.         parent::__construct($env);
  200.         $this->source $this->getSourceContext();
  201.         $this->blocks = [
  202.             'column' => [$this'block_column'],
  203.             'pagination' => [$this'block_pagination'],
  204.         ];
  205.     }
  206.     protected function doGetParent(array $context)
  207.     {
  208.         return "1-col-sidebar.html.twig";
  209.     }
  210.     protected function doDisplay(array $context, array $blocks = [])
  211.     {
  212.         $macros $this->macros;
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  214.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/event-list.html.twig"));
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/event-list.html.twig"));
  217.         $this->parent $this->loadTemplate("1-col-sidebar.html.twig""content/tmpl/event-list.html.twig"4);
  218.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  219.         
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  221.         
  222.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  223.     }
  224.     // line 6
  225.     public function block_column($context, array $blocks = [])
  226.     {
  227.         $macros $this->macros;
  228.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  230.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  231.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  232.         // line 7
  233.         echo "\t";
  234.         $this->loadTemplate("includes/curtain-ads/information.html.twig""content/tmpl/event-list.html.twig"7)->display($context);
  235.         // line 8
  236.         echo "\t<h1 class=\"page-title\">Events</h1>
  237. \t";
  238.         // line 9
  239.         $context["selected_view"] = "/events";
  240.         // line 10
  241.         echo "\t";
  242.         $this->loadTemplate("includes/events-navigation-bar.html.twig""content/tmpl/event-list.html.twig"10)->display($context);
  243.         // line 11
  244.         echo "\t";
  245.         if (((isset($context["pagenum"]) || array_key_exists("pagenum"$context) ? $context["pagenum"] : (function () { throw new RuntimeError('Variable "pagenum" does not exist.'11$this->source); })()) > 0)) {
  246.             // line 12
  247.             echo "\t\t<h3 style=\"text-align: center;\">Upcoming Events</h3>
  248. \t";
  249.         } else {
  250.             // line 14
  251.             echo "\t\t<h3 style=\"text-align: center;\">Past Events</h3>
  252. \t";
  253.         }
  254.         // line 16
  255.         echo "\t";
  256.         $this->displayBlock('pagination'$context$blocks);
  257.         // line 30
  258.         echo "\t";
  259.         $context["last_month"] = "";
  260.         // line 31
  261.         echo "\t";
  262.         $context["this_month"] = "";
  263.         // line 32
  264.         echo "\t";
  265.         $context['_parent'] = $context;
  266.         $context['_seq'] = twig_ensure_traversable((isset($context["events"]) || array_key_exists("events"$context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.'32$this->source); })()));
  267.         foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
  268.             // line 33
  269.             echo "\t\t<div class=\"row\">
  270. \t\t\t<div class=\"col-12 eventsingle\">
  271. \t\t\t\t";
  272.             // line 35
  273.             $context["last_month"] = (isset($context["this_month"]) || array_key_exists("this_month"$context) ? $context["this_month"] : (function () { throw new RuntimeError('Variable "this_month" does not exist.'35$this->source); })());
  274.             // line 36
  275.             echo "\t\t\t\t";
  276.             $context["this_month"] = twig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'36$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse36), [], "any"falsefalsefalse36), "_EventStartDate", [], "any"falsefalsefalse36), "F Y");
  277.             // line 37
  278.             echo "\t\t\t\t";
  279.             if (((isset($context["this_month"]) || array_key_exists("this_month"$context) ? $context["this_month"] : (function () { throw new RuntimeError('Variable "this_month" does not exist.'37$this->source); })()) != (isset($context["last_month"]) || array_key_exists("last_month"$context) ? $context["last_month"] : (function () { throw new RuntimeError('Variable "last_month" does not exist.'37$this->source); })()))) {
  280.                 // line 38
  281.                 echo "\t\t\t\t\t<p class=\"event-separator\">";
  282.                 echo twig_escape_filter($this->env, (isset($context["this_month"]) || array_key_exists("this_month"$context) ? $context["this_month"] : (function () { throw new RuntimeError('Variable "this_month" does not exist.'38$this->source); })()), "html"nulltrue);
  283.                 echo "</p>
  284. \t\t\t\t";
  285.             }
  286.             // line 40
  287.             echo "\t\t\t\t<h3 class=\"list-post-title\"><a href=\"/event/";
  288.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "getSlug", [], "method"falsefalsefalse40), "html"nulltrue);
  289.             echo "\" style=\"font-family: 'Proxima Nova', 'proxima-nova', 'Source Sans Pro', 'source-sans-pro', sans-serif;\">";
  290.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "title", [], "any"falsefalsefalse40), "html"nulltrue);
  291.             echo "</a></h3>
  292. \t\t\t\t<p class=\"post-byline\"><strong>
  293. \t\t\t\t";
  294.             // line 42
  295.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["events_meta"] ?? null), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse42), [], "any"falsetruefalse42), "_EventAllDay", [], "any"truetruefalse42) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'42$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse42), [], "any"falsefalsefalse42), "_EventAllDay", [], "any"falsefalsefalse42) == "yes"))) {
  296.                 // line 43
  297.                 echo "\t\t\t\t\t";
  298.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'43$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse43), [], "any"falsefalsefalse43), "_EventStartDate", [], "any"falsefalsefalse43), "F j, Y"), "html"nulltrue);
  299.                 echo " - ";
  300.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'43$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse43), [], "any"falsefalsefalse43), "_EventEndDate", [], "any"falsefalsefalse43), "F j, Y"), "html"nulltrue);
  301.                 echo "
  302. \t\t\t\t";
  303.             } elseif ((twig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 44
  304. (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'44$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse44), [], "any"falsefalsefalse44), "_EventStartDate", [], "any"falsefalsefalse44), "F j, Y") == twig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'44$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse44), [], "any"falsefalsefalse44), "_EventEndDate", [], "any"falsefalsefalse44), "F j, Y"))) {
  305.                 // line 45
  306.                 echo "\t\t\t\t\t";
  307.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'45$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse45), [], "any"falsefalsefalse45), "_EventStartDate", [], "any"falsefalsefalse45), "F j, Y @ g:i a"), "html"nulltrue);
  308.                 echo " - ";
  309.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'45$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse45), [], "any"falsefalsefalse45), "_EventEndDate", [], "any"falsefalsefalse45), "g:i a"), "html"nulltrue);
  310.                 echo " ";
  311.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\RCSExtension']->timezoneFilter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'45$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse45), [], "any"falsefalsefalse45), "_EventTimezone", [], "any"falsefalsefalse45)), "html"nulltrue);
  312.                 echo "
  313. \t\t\t\t";
  314.             } else {
  315.                 // line 47
  316.                 echo "\t\t\t\t\t";
  317.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'47$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse47), [], "any"falsefalsefalse47), "_EventStartDate", [], "any"falsefalsefalse47), "F j, Y @ g:i a"), "html"nulltrue);
  318.                 echo " - ";
  319.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'47$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse47), [], "any"falsefalsefalse47), "_EventEndDate", [], "any"falsefalsefalse47), "F j, Y @ g:i a"), "html"nulltrue);
  320.                 echo " ";
  321.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\RCSExtension']->timezoneFilter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'47$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse47), [], "any"falsefalsefalse47), "_EventTimezone", [], "any"falsefalsefalse47)), "html"nulltrue);
  322.                 echo "
  323. \t\t\t\t";
  324.             }
  325.             // line 49
  326.             echo "\t\t\t\t</strong></p>
  327. \t\t\t\t
  328. \t\t\t\t";
  329.             // line 51
  330.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["events_meta"] ?? null), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse51), [], "any"falsetruefalse51), "_VenueTitle", [], "any"truetruefalse51) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'51$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse51), [], "any"falsefalsefalse51), "_VenueTitle", [], "any"falsefalsefalse51)))) {
  331.                 // line 52
  332.                 echo "\t\t\t\t\t<strong>
  333. \t\t\t\t\t\t<label>";
  334.                 // line 53
  335.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'53$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse53), [], "any"falsefalsefalse53), "_VenueTitle", [], "any"falsefalsefalse53), "html"nulltrue);
  336.                 echo "</label>
  337. \t\t\t\t\t</strong>
  338. \t\t\t\t\t
  339. \t\t\t\t\t";
  340.                 // line 56
  341.                 if ((((((((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["events_meta"] ?? null), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse56), [], "any"falsetruefalse56), "_VenueAddress", [], "any"truetruefalse56) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'56$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse56), [], "any"falsefalsefalse56), "_VenueAddress", [], "any"falsefalsefalse56))) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 57
  342. ($context["events_meta"] ?? null), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse57), [], "any"falsetruefalse57), "_VenueCity", [], "any"truetruefalse57)) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'57$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse57), [], "any"falsefalsefalse57), "_VenueCity", [], "any"falsefalsefalse57))) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 58
  343. ($context["events_meta"] ?? null), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse58), [], "any"falsetruefalse58), "_VenueState", [], "any"truetruefalse58)) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'58$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse58), [], "any"falsefalsefalse58), "_VenueState", [], "any"falsefalsefalse58))) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 59
  344. ($context["events_meta"] ?? null), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse59), [], "any"falsetruefalse59), "_VenueZip", [], "any"truetruefalse59)) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'59$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse59), [], "any"falsefalsefalse59), "_VenueZip", [], "any"falsefalsefalse59))) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 60
  345. ($context["events_meta"] ?? null), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse60), [], "any"falsetruefalse60), "_VenueCountry", [], "any"truetruefalse60)) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'60$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse60), [], "any"falsefalsefalse60), "_VenueCountry", [], "any"falsefalsefalse60)))) {
  346.                     // line 62
  347.                     echo "\t\t\t\t\t\t<strong>
  348. \t\t\t\t\t\t\t,";
  349.                     // line 63
  350.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'63$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse63), [], "any"falsefalsefalse63), "_VenueAddress", [], "any"falsefalsefalse63), "html"nulltrue);
  351.                     echo "
  352. \t\t\t\t\t\t\t";
  353.                     // line 64
  354.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'64$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse64), [], "any"falsefalsefalse64), "_VenueCity", [], "any"falsefalsefalse64), "html"nulltrue);
  355.                     echo ", ";
  356.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'64$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse64), [], "any"falsefalsefalse64), "_VenueState", [], "any"falsefalsefalse64), "html"nulltrue);
  357.                     echo ", ";
  358.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'64$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse64), [], "any"falsefalsefalse64), "_VenueZip", [], "any"falsefalsefalse64), "html"nulltrue);
  359.                     echo " ";
  360.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'64$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse64), [], "any"falsefalsefalse64), "_VenueCountry", [], "any"falsefalsefalse64), "html"nulltrue);
  361.                     echo "
  362. \t\t\t\t\t\t</strong>
  363. \t\t\t\t\t\t<a href=\"https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=
  364. \t\t\t\t\t\t";
  365.                     // line 67
  366.                     echo twig_escape_filter($this->env, ((((((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'67$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse67), [], "any"falsefalsefalse67), "_VenueAddress", [], "any"falsefalsefalse67) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 68
  367. (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'68$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse68), [], "any"falsefalsefalse68), "_VenueCity", [], "any"falsefalsefalse68)) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 69
  368. (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'69$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse69), [], "any"falsefalsefalse69), "_VenueState", [], "any"falsefalsefalse69)) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 70
  369. (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'70$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse70), [], "any"falsefalsefalse70), "_VenueZip", [], "any"falsefalsefalse70)) . " ") . twig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 71
  370. (isset($context["events_meta"]) || array_key_exists("events_meta"$context) ? $context["events_meta"] : (function () { throw new RuntimeError('Variable "events_meta" does not exist.'71$this->source); })()), twig_get_attribute($this->env$this->source$context["event"], "id", [], "any"falsefalsefalse71), [], "any"falsefalsefalse71), "_VenueCountry", [], "any"falsefalsefalse71), [" " => "+"])), "html"nulltrue);
  371.                     echo "\"
  372. \t\t\t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">+ Google Map</a>
  373. \t\t\t\t\t";
  374.                 }
  375.                 // line 74
  376.                 echo "\t\t\t\t";
  377.             }
  378.             // line 75
  379.             echo "\t\t\t\t";
  380.             // line 91
  381.             echo "\t\t\t\t
  382. \t\t\t\t<div class=\"row\">
  383. \t\t\t\t\t";
  384.             // line 93
  385.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["event"], "getFeaturedImageTag", [], "method"falsefalsefalse93))) {
  386.                 // line 94
  387.                 echo "\t\t\t\t\t\t<div class=\"col-3 post-thumbnail\">
  388. \t\t\t\t\t\t\t<a href=\"/event/";
  389.                 // line 95
  390.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "getSlug", [], "method"falsefalsefalse95), "html"nulltrue);
  391.                 echo "\" title=\"";
  392.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "getTitle", [], "method"falsefalsefalse95), "html"nulltrue);
  393.                 echo "\">
  394. \t\t\t\t\t\t\t";
  395.                 // line 96
  396.                 echo twig_get_attribute($this->env$this->source$context["event"], "getFeaturedImageTag", [], "method"falsefalsefalse96);
  397.                 echo "
  398. \t\t\t\t\t\t\t</a>
  399. \t\t\t\t\t\t</div>
  400. \t\t\t\t\t";
  401.             }
  402.             // line 100
  403.             echo "\t\t\t\t\t
  404. \t\t\t\t\t<div class=";
  405.             // line 101
  406.             echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["event"], "getFeaturedImageTag", [], "method"falsefalsefalse101))) ? ("col-12") : ("col-9"));
  407.             echo ">
  408. \t\t\t\t\t\t";
  409.             // line 102
  410.             echo twig_get_attribute($this->env$this->source$context["event"], "getIntroText", [], "method"falsefalsefalse102);
  411.             echo "<br><a href=\"/event/";
  412.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["event"], "getSlug", [], "method"falsefalsefalse102), "html"nulltrue);
  413.             echo "\">Find out more »</a>
  414. \t\t\t\t\t</div>
  415. \t\t\t\t</div>
  416. \t\t\t\t<hr>
  417. \t\t\t</div>
  418. \t\t</div>
  419. \t";
  420.         }
  421.         $_parent $context['_parent'];
  422.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
  423.         $context array_intersect_key($context$_parent) + $_parent;
  424.         // line 109
  425.         echo "\t";
  426.         $this->displayBlock("pagination"$context$blocks);
  427.         echo "
  428. \t
  429. ";
  430.         
  431.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  432.         
  433.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  434.     }
  435.     // line 16
  436.     public function block_pagination($context, array $blocks = [])
  437.     {
  438.         $macros $this->macros;
  439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagination"));
  441.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagination"));
  443.         // line 17
  444.         echo "\t\t<div class=\"row\" style=\"padding-bottom: 30px;\">
  445. \t\t\t<div class=\"col-6\">
  446. \t\t\t\t";
  447.         // line 19
  448.         if (((isset($context["previous_pagenum"]) || array_key_exists("previous_pagenum"$context) ? $context["previous_pagenum"] : (function () { throw new RuntimeError('Variable "previous_pagenum" does not exist.'19$this->source); })()) != 0)) {
  449.             // line 20
  450.             echo "\t\t\t\t\t<a href=\"/events/";
  451.             echo twig_escape_filter($this->env, (isset($context["previous_pagenum"]) || array_key_exists("previous_pagenum"$context) ? $context["previous_pagenum"] : (function () { throw new RuntimeError('Variable "previous_pagenum" does not exist.'20$this->source); })()), "html"nulltrue);
  452.             echo "/";
  453.             echo twig_escape_filter($this->env, (isset($context["search"]) || array_key_exists("search"$context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.'20$this->source); })()), "html"nulltrue);
  454.             echo "\">« Previous Events</a>
  455. \t\t\t\t";
  456.         }
  457.         // line 22
  458.         echo "\t\t\t</div>
  459. \t\t\t<div class=\"col-6\">
  460. \t\t\t\t";
  461.         // line 24
  462.         if (((isset($context["next_pagenum"]) || array_key_exists("next_pagenum"$context) ? $context["next_pagenum"] : (function () { throw new RuntimeError('Variable "next_pagenum" does not exist.'24$this->source); })()) != 0)) {
  463.             // line 25
  464.             echo "\t\t\t\t\t<a href=\"/events/";
  465.             echo twig_escape_filter($this->env, (isset($context["next_pagenum"]) || array_key_exists("next_pagenum"$context) ? $context["next_pagenum"] : (function () { throw new RuntimeError('Variable "next_pagenum" does not exist.'25$this->source); })()), "html"nulltrue);
  466.             echo "/";
  467.             echo twig_escape_filter($this->env, (isset($context["search"]) || array_key_exists("search"$context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.'25$this->source); })()), "html"nulltrue);
  468.             echo "\" style=\"float: right;\">Next Events »</a>
  469. \t\t\t\t";
  470.         }
  471.         // line 27
  472.         echo "\t\t\t</div>
  473. \t\t</div>
  474. \t";
  475.         
  476.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  477.         
  478.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  479.     }
  480.     public function getTemplateName()
  481.     {
  482.         return "content/tmpl/event-list.html.twig";
  483.     }
  484.     public function isTraitable()
  485.     {
  486.         return false;
  487.     }
  488.     public function getDebugInfo()
  489.     {
  490.         return array (  513 => 27,  505 => 25,  503 => 24,  499 => 22,  491 => 20,  489 => 19,  485 => 17,  475 => 16,  461 => 109,  446 => 102,  442 => 101,  439 => 100,  432 => 96,  426 => 95,  423 => 94,  421 => 93,  417 => 91,  415 => 75,  412 => 74,  406 => 71,  405 => 70,  404 => 69,  403 => 68,  402 => 67,  390 => 64,  386 => 63,  383 => 62,  381 => 60,  380 => 59,  379 => 58,  378 => 57,  377 => 56,  371 => 53,  368 => 52,  366 => 51,  362 => 49,  352 => 47,  342 => 45,  340 => 44,  333 => 43,  331 => 42,  323 => 40,  317 => 38,  314 => 37,  311 => 36,  309 => 35,  305 => 33,  300 => 32,  297 => 31,  294 => 30,  291 => 16,  287 => 14,  283 => 12,  280 => 11,  277 => 10,  275 => 9,  272 => 8,  269 => 7,  259 => 6,  71 => 4,  68 => 3,  58 => 2,  35 => 1,);
  491.     }
  492.     public function getSourceContext()
  493.     {
  494.         return new Source("{% extends \"base.html.twig\" %}
  495. {% block body %}
  496. {% embed \"1-col-sidebar.html.twig\" %}
  497. {# event list view #}
  498. {% block column %}
  499. \t{% include  \"includes/curtain-ads/information.html.twig\" %}
  500. \t<h1 class=\"page-title\">Events</h1>
  501. \t{% set selected_view = \"/events\" %}
  502. \t{% include \"includes/events-navigation-bar.html.twig\" %}
  503. \t{% if pagenum > 0 %}
  504. \t\t<h3 style=\"text-align: center;\">Upcoming Events</h3>
  505. \t{% else %}
  506. \t\t<h3 style=\"text-align: center;\">Past Events</h3>
  507. \t{% endif %}
  508. \t{% block pagination %}
  509. \t\t<div class=\"row\" style=\"padding-bottom: 30px;\">
  510. \t\t\t<div class=\"col-6\">
  511. \t\t\t\t{% if previous_pagenum != 0 %}
  512. \t\t\t\t\t<a href=\"/events/{{ previous_pagenum }}/{{ search }}\">« Previous Events</a>
  513. \t\t\t\t{% endif %}
  514. \t\t\t</div>
  515. \t\t\t<div class=\"col-6\">
  516. \t\t\t\t{% if next_pagenum != 0 %}
  517. \t\t\t\t\t<a href=\"/events/{{ next_pagenum }}/{{ search }}\" style=\"float: right;\">Next Events »</a>
  518. \t\t\t\t{% endif %}
  519. \t\t\t</div>
  520. \t\t</div>
  521. \t{% endblock %}
  522. \t{% set last_month = \"\" %}
  523. \t{% set this_month = \"\" %}
  524. \t{% for event in events %}
  525. \t\t<div class=\"row\">
  526. \t\t\t<div class=\"col-12 eventsingle\">
  527. \t\t\t\t{% set last_month = this_month %}
  528. \t\t\t\t{% set this_month = attribute(events_meta, event.id)._EventStartDate | date(\"F Y\") %}
  529. \t\t\t\t{% if this_month != last_month %}
  530. \t\t\t\t\t<p class=\"event-separator\">{{ this_month }}</p>
  531. \t\t\t\t{% endif %}
  532. \t\t\t\t<h3 class=\"list-post-title\"><a href=\"/event/{{event.getSlug()}}\" style=\"font-family: 'Proxima Nova', 'proxima-nova', 'Source Sans Pro', 'source-sans-pro', sans-serif;\">{{ event.title }}</a></h3>
  533. \t\t\t\t<p class=\"post-byline\"><strong>
  534. \t\t\t\t{% if attribute(events_meta, event.id)._EventAllDay is defined and attribute(events_meta, event.id)._EventAllDay == \"yes\" %}
  535. \t\t\t\t\t{{ attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y\") }} - {{ attribute(events_meta, event.id)._EventEndDate | date(\"F j, Y\") }}
  536. \t\t\t\t{% elseif attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y\") == attribute(events_meta, event.id)._EventEndDate | date(\"F j, Y\") %}
  537. \t\t\t\t\t{{ attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y @ g:i a\") }} - {{ attribute(events_meta, event.id)._EventEndDate | date(\"g:i a\") }} {{ attribute(events_meta, event.id)._EventTimezone|timezone }}
  538. \t\t\t\t{% else %}
  539. \t\t\t\t\t{{ attribute(events_meta, event.id)._EventStartDate | date(\"F j, Y @ g:i a\") }} - {{ attribute(events_meta, event.id)._EventEndDate | date(\"F j, Y @ g:i a\") }} {{ attribute(events_meta, event.id)._EventTimezone|timezone }}
  540. \t\t\t\t{% endif %}
  541. \t\t\t\t</strong></p>
  542. \t\t\t\t
  543. \t\t\t\t{% if attribute(events_meta, event.id)._VenueTitle is defined and attribute(events_meta, event.id)._VenueTitle is not empty %}
  544. \t\t\t\t\t<strong>
  545. \t\t\t\t\t\t<label>{{ attribute(events_meta, event.id)._VenueTitle}}</label>
  546. \t\t\t\t\t</strong>
  547. \t\t\t\t\t
  548. \t\t\t\t\t{% if attribute(events_meta, event.id)._VenueAddress is defined and attribute(events_meta, event.id)._VenueAddress is not empty
  549. \t\t\t\t\tand attribute(events_meta, event.id)._VenueCity is defined and attribute(events_meta, event.id)._VenueCity is not empty
  550. \t\t\t\t\tand attribute(events_meta, event.id)._VenueState is defined and attribute(events_meta, event.id)._VenueState is not empty
  551. \t\t\t\t\tand attribute(events_meta, event.id)._VenueZip is defined and attribute(events_meta, event.id)._VenueZip is not empty
  552. \t\t\t\t\tand attribute(events_meta, event.id)._VenueCountry is defined and attribute(events_meta, event.id)._VenueCountry is not empty
  553. \t\t\t\t\t%}
  554. \t\t\t\t\t\t<strong>
  555. \t\t\t\t\t\t\t,{{ attribute(events_meta, event.id)._VenueAddress}}
  556. \t\t\t\t\t\t\t{{ attribute(events_meta, event.id)._VenueCity}}, {{ attribute(events_meta, event.id)._VenueState}}, {{ attribute(events_meta, event.id)._VenueZip}} {{ attribute(events_meta, event.id)._VenueCountry}}
  557. \t\t\t\t\t\t</strong>
  558. \t\t\t\t\t\t<a href=\"https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=
  559. \t\t\t\t\t\t{{ attribute(events_meta, event.id)._VenueAddress ~ ' ' ~ 
  560. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueCity ~ ' ' ~ 
  561. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueState ~ ' ' ~ 
  562. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueZip ~ ' ' ~ 
  563. \t\t\t\t\t\t\tattribute(events_meta, event.id)._VenueCountry | replace({' ': '+'}) }}\"
  564. \t\t\t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">+ Google Map</a>
  565. \t\t\t\t\t{% endif %}
  566. \t\t\t\t{% endif %}
  567. \t\t\t\t{#
  568. \t\t\t\t{% if attribute(venues, event.id) is not empty %}
  569. \t\t\t\t\t<strong>
  570. \t\t\t\t\t\t<label>{{ attribute(venues, event.id).title}},</label>
  571. \t\t\t\t\t\t{{ attribute(venues, event.id)._VenueAddress}}
  572. \t\t\t\t\t\t{{ attribute(venues, event.id)._VenueCity}}, {{ attribute(venues, event.id)._VenueState}}, {{ attribute(venues, event.id)._VenueZip}} {{ attribute(venues, event.id)._VenueCountry}}
  573. \t\t\t\t\t</strong>
  574. \t\t\t\t\t<a href=\"https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=
  575. \t\t\t\t\t{{ attribute(venues, event.id)._VenueAddress ~ ' ' ~ 
  576. \t\t\t\t\t\tattribute(venues, event.id)._VenueCity ~ ' ' ~ 
  577. \t\t\t\t\t\tattribute(venues, event.id)._VenueState ~ ' ' ~ 
  578. \t\t\t\t\t\tattribute(venues, event.id)._VenueZip ~ ' ' ~ 
  579. \t\t\t\t\t\tattribute(venues, event.id)._VenueCountry | replace({' ': '+'}) }}\"
  580. \t\t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">+ Google Map</a>
  581. \t\t\t\t{% endif %}
  582. \t\t\t\t#}
  583. \t\t\t\t
  584. \t\t\t\t<div class=\"row\">
  585. \t\t\t\t\t{% if event.getFeaturedImageTag() is not empty %}
  586. \t\t\t\t\t\t<div class=\"col-3 post-thumbnail\">
  587. \t\t\t\t\t\t\t<a href=\"/event/{{event.getSlug()}}\" title=\"{{ event.getTitle() }}\">
  588. \t\t\t\t\t\t\t{{ event.getFeaturedImageTag()|raw }}
  589. \t\t\t\t\t\t\t</a>
  590. \t\t\t\t\t\t</div>
  591. \t\t\t\t\t{% endif %}
  592. \t\t\t\t\t
  593. \t\t\t\t\t<div class={{ (event.getFeaturedImageTag() is empty) ? \"col-12\" : \"col-9\" }}>
  594. \t\t\t\t\t\t{{ event.getIntroText()|raw }}<br><a href=\"/event/{{event.getSlug()}}\">Find out more »</a>
  595. \t\t\t\t\t</div>
  596. \t\t\t\t</div>
  597. \t\t\t\t<hr>
  598. \t\t\t</div>
  599. \t\t</div>
  600. \t{% endfor %}
  601. \t{{ block('pagination') }}
  602. \t
  603. {% endblock %}
  604. {% endembed %}
  605. {% endblock %}
  606. ""content/tmpl/event-list.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/event-list.html.twig");
  607.     }
  608. }