var/cache/dev/twig/4f/4f748e099b85158fbb3530ad9e7b2a39ae0b3202a45269a548467f17f47694e3.php line 60

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. /* @BidcozFrontend/campaign.html.twig */
  14. class __TwigTemplate_9a31f10918f91378b5b09ccf24251d18a4a992ff45d548c8cd61be1deb983d61 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.             'title' => [$this'block_title'],
  24.             'beforeContent' => [$this'block_beforeContent'],
  25.             'sidebar' => [$this'block_sidebar'],
  26.             'sponsorships' => [$this'block_sponsorships'],
  27.             'shareButtons' => [$this'block_shareButtons'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "@BidcozFrontend/organization.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  41.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BidcozFrontend/campaign.html.twig"));
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BidcozFrontend/campaign.html.twig"));
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BidcozFrontend/campaign.html.twig"));
  46.         // line 3
  47.         $context["campaignParams"] = ["orgSlug" => twig_get_attribute($this->env$this->source, (isset($context["organization"]) || array_key_exists("organization"$context) ? $context["organization"] : (function () { throw new RuntimeError('Variable "organization" does not exist.'3$this->source); })()), "slug", [], "any"falsefalsefalse3), "campaignSlug" => twig_get_attribute($this->env$this->source, (isset($context["campaign"]) || array_key_exists("campaign"$context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.'3$this->source); })()), "slug", [], "any"falsefalsefalse3)];
  48.         // line 1
  49.         $this->parent $this->loadTemplate("@BidcozFrontend/organization.html.twig""@BidcozFrontend/campaign.html.twig"1);
  50.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  53.         
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.     }
  58.     // line 5
  59.     public function block_title($context, array $blocks = [])
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  63.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  68.         echo "CausePilot - ";
  69.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["campaign"]) || array_key_exists("campaign"$context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.'5$this->source); })()), "name", [], "any"falsefalsefalse5), "html"nulltrue);
  70.         echo " - ";
  71.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["organization"]) || array_key_exists("organization"$context) ? $context["organization"] : (function () { throw new RuntimeError('Variable "organization" does not exist.'5$this->source); })()), "name", [], "any"falsefalsefalse5), "html"nulltrue);
  72.         
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  74.         
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  76.         
  77.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  78.     }
  79.     // line 7
  80.     public function block_beforeContent($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  84.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeContent"));
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeContent"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeContent"));
  89.         // line 8
  90.         echo "    ";
  91.         $this->displayParentBlock("beforeContent"$context$blocks);
  92.         echo "
  93.     <div class=\"breadcrumbs\">
  94.         <a href=\"";
  95.         // line 11
  96.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("campaign_home", (isset($context["campaignParams"]) || array_key_exists("campaignParams"$context) ? $context["campaignParams"] : (function () { throw new RuntimeError('Variable "campaignParams" does not exist.'11$this->source); })())), "html"nulltrue);
  97.         echo "\" class=\"d-flex align-items-center\">
  98.             ";
  99.         // line 12
  100.         $this->loadTemplate("@BidcozCore/Components/icon.html.twig""@BidcozFrontend/campaign.html.twig"12)->display(twig_array_merge($context, ["icon" => "arrow-left""class" => "icon-md"]));
  101.         // line 13
  102.         echo "            Back
  103.         </a>
  104.     </div>
  105. ";
  106.         
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  108.         
  109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  110.         
  111.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  112.     }
  113.     // line 18
  114.     public function block_sidebar($context, array $blocks = [])
  115.     {
  116.         $macros $this->macros;
  117.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  118.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  123.         echo "";
  124.         
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.         
  129.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  130.     }
  131.     // line 20
  132.     public function block_sponsorships($context, array $blocks = [])
  133.     {
  134.         $macros $this->macros;
  135.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  136.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sponsorships"));
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sponsorships"));
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sponsorships"));
  141.         // line 21
  142.         echo "    ";
  143.         // line 22
  144.         echo "    ";
  145.         if ((twig_get_attribute($this->env$this->source, (isset($context["campaign"]) || array_key_exists("campaign"$context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.'22$this->source); })()), "hasSponsorship", [], "any"falsefalsefalse22) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("SPONSORSHIP", (isset($context["organization"]) || array_key_exists("organization"$context) ? $context["organization"] : (function () { throw new RuntimeError('Variable "organization" does not exist.'22$this->source); })())))) {
  146.             // line 23
  147.             echo "        ";
  148.             $context["sponsorships"] = $this->extensions['Bidcoz\Bundle\FrontendBundle\Twig\Extension\CampaignExtension']->getCampaignSponsorships((isset($context["campaign"]) || array_key_exists("campaign"$context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.'23$this->source); })()));
  149.             // line 24
  150.             echo "        ";
  151.             // line 25
  152.             echo "        ";
  153.             if (twig_length_filter($this->env, (isset($context["sponsorships"]) || array_key_exists("sponsorships"$context) ? $context["sponsorships"] : (function () { throw new RuntimeError('Variable "sponsorships" does not exist.'25$this->source); })()))) {
  154.                 // line 26
  155.                 echo "            <div class=\"d-flex align-items-center mb-4\">
  156.                 <h4 class=\"my-0 flex-grow-1 d-block\">Featured Sponsors</h4>
  157.                 <a href=\"";
  158.                 // line 28
  159.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("all_sponsors", (isset($context["campaignParams"]) || array_key_exists("campaignParams"$context) ? $context["campaignParams"] : (function () { throw new RuntimeError('Variable "campaignParams" does not exist.'28$this->source); })())), "html"nulltrue);
  160.                 echo "\" class=\"flex-shrink-0 d-flex align-items-center\">
  161.                     <strong>View All Sponsors</strong>
  162.                     <i class=\"fas fa-arrow-right ml-1\"></i>
  163.                 </a>
  164.             </div>
  165.             ";
  166.                 // line 33
  167.                 $this->loadTemplate("@BidcozCore/Layout/Blocks/sponsorship/main.html.twig""@BidcozFrontend/campaign.html.twig"33)->display(twig_array_merge($context, ["sponsorships" => (isset($context["sponsorships"]) || array_key_exists("sponsorships"$context) ? $context["sponsorships"] : (function () { throw new RuntimeError('Variable "sponsorships" does not exist.'33$this->source); })())]));
  168.                 // line 34
  169.                 echo "        ";
  170.             }
  171.             // line 35
  172.             echo "    ";
  173.         }
  174.         
  175.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  176.         
  177.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  178.         
  179.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  180.     }
  181.     // line 38
  182.     public function block_shareButtons($context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  186.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""shareButtons"));
  187.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  188.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""shareButtons"));
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""shareButtons"));
  191.         // line 39
  192.         echo "    <script defer src=\"https://static.addtoany.com/menu/page.js\"></script>
  193. ";
  194.         
  195.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  196.         
  197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  198.         
  199.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  200.     }
  201.     // line 42
  202.     public function block_stylesheets($context, array $blocks = [])
  203.     {
  204.         $macros $this->macros;
  205.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  206.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  208.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  209.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  210.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  211.         // line 43
  212.         echo "    ";
  213.         $this->displayParentBlock("stylesheets"$context$blocks);
  214.         echo "
  215.     ";
  216.         // line 44
  217.         if ((array_key_exists("organization"$context) || array_key_exists("campaign"$context))) {
  218.             // line 45
  219.             echo "        <link rel=\"stylesheet\" href=\"/css/manage.css?v=";
  220.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetVersion(""), "html"nulltrue);
  221.             echo "\">
  222.     ";
  223.         }
  224.         
  225.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  226.         
  227.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  228.         
  229.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  230.     }
  231.     // line 49
  232.     public function block_javascripts($context, array $blocks = [])
  233.     {
  234.         $macros $this->macros;
  235.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  236.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  237.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  238.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  240.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  241.         // line 50
  242.         echo "    ";
  243.         $this->displayParentBlock("javascripts"$context$blocks);
  244.         echo "
  245.     <script src=\"/components/font-awesome/js/all.js\"></script>
  246.     <script src=\"/js/clipboard.min.js\"></script>
  247. ";
  248.         
  249.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  250.         
  251.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  252.         
  253.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  254.     }
  255.     public function getTemplateName()
  256.     {
  257.         return "@BidcozFrontend/campaign.html.twig";
  258.     }
  259.     public function isTraitable()
  260.     {
  261.         return false;
  262.     }
  263.     public function getDebugInfo()
  264.     {
  265.         return array (  302 => 50,  289 => 49,  272 => 45,  270 => 44,  265 => 43,  252 => 42,  238 => 39,  225 => 38,  211 => 35,  208 => 34,  206 => 33,  198 => 28,  194 => 26,  191 => 25,  189 => 24,  186 => 23,  183 => 22,  181 => 21,  168 => 20,  143 => 18,  127 => 13,  125 => 12,  121 => 11,  114 => 8,  101 => 7,  73 => 5,  59 => 1,  57 => 3,  41 => 1,);
  266.     }
  267.     public function getSourceContext()
  268.     {
  269.         return new Source("{% extends '@BidcozFrontend/organization.html.twig' %}
  270. {% set campaignParams = {orgSlug: organization.slug, campaignSlug: campaign.slug} %}
  271. {% block title %}CausePilot - {{ campaign.name }} - {{ organization.name }}{% endblock %}
  272. {% block beforeContent %}
  273.     {{ parent() }}
  274.     <div class=\"breadcrumbs\">
  275.         <a href=\"{{ path('campaign_home', campaignParams) }}\" class=\"d-flex align-items-center\">
  276.             {% include '@BidcozCore/Components/icon.html.twig' with { icon: 'arrow-left', class: 'icon-md' } %}
  277.             Back
  278.         </a>
  279.     </div>
  280. {% endblock %}
  281. {% block sidebar '' %}
  282. {% block sponsorships %}
  283.     {# If the have sponsorships enabled. #}
  284.     {% if campaign.hasSponsorship and is_granted('SPONSORSHIP', organization) %}
  285.         {% set sponsorships = campaign_sponsorships(campaign) %}
  286.         {# If the have any actual sponsorships. #}
  287.         {% if sponsorships|length %}
  288.             <div class=\"d-flex align-items-center mb-4\">
  289.                 <h4 class=\"my-0 flex-grow-1 d-block\">Featured Sponsors</h4>
  290.                 <a href=\"{{ path('all_sponsors', campaignParams) }}\" class=\"flex-shrink-0 d-flex align-items-center\">
  291.                     <strong>View All Sponsors</strong>
  292.                     <i class=\"fas fa-arrow-right ml-1\"></i>
  293.                 </a>
  294.             </div>
  295.             {% include '@BidcozCore/Layout/Blocks/sponsorship/main.html.twig' with { sponsorships: sponsorships } %}
  296.         {% endif %}
  297.     {% endif %}
  298. {% endblock %}
  299. {% block shareButtons %}
  300.     <script defer src=\"https://static.addtoany.com/menu/page.js\"></script>
  301. {% endblock %}
  302. {% block stylesheets %}
  303.     {{ parent() }}
  304.     {% if organization is defined or campaign is defined %}
  305.         <link rel=\"stylesheet\" href=\"/css/manage.css?v={{ asset_version('') }}\">
  306.     {% endif %}
  307. {% endblock %}
  308. {% block javascripts %}
  309.     {{ parent() }}
  310.     <script src=\"/components/font-awesome/js/all.js\"></script>
  311.     <script src=\"/js/clipboard.min.js\"></script>
  312. {% endblock %}
  313. ""@BidcozFrontend/campaign.html.twig""/var/www/causepilot/src/Bidcoz/Bundle/FrontendBundle/Resources/views/campaign.html.twig");
  314.     }
  315. }