<?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;
/* @BidcozFrontend/organization.html.twig */
class __TwigTemplate_0e7fb5ffec907800af7102db6df13c367b3f2d8d6d84f2b2578535c159445b99 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'afterAlertsContent' => [$this, 'block_afterAlertsContent'],
'afterAlerts' => [$this, 'block_afterAlerts'],
'beforeContent' => [$this, 'block_beforeContent'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@BidcozCore/Layout/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BidcozFrontend/organization.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BidcozFrontend/organization.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BidcozFrontend/organization.html.twig"));
// line 2
$macros["macro"] = $this->macros["macro"] = $this->loadTemplate("@BidcozCore/_macro.html.twig", "@BidcozFrontend/organization.html.twig", 2)->unwrap();
// line 4
$context["orgParams"] = ["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.', 4, $this->source); })()), "slug", [], "any", false, false, false, 4)];
// line 1
$this->parent = $this->loadTemplate("@BidcozCore/Layout/layout.html.twig", "@BidcozFrontend/organization.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 6
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "CausePilot - ";
echo twig_escape_filter($this->env, 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.', 6, $this->source); })()), "name", [], "any", false, false, false, 6), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 8
public function block_afterAlertsContent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterAlertsContent"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterAlertsContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterAlertsContent"));
// line 9
echo " ";
if ($this->extensions['Bidcoz\Bundle\CoreBundle\Twig\Extension\PermissionExtension']->isUserLoggedIn()) {
// line 10
echo " ";
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "user", [], "any", false, false, false, 10), "hasLoggedIn", [], "any", false, false, false, 10)) {
// line 11
echo " <div class=\"alert warning\">
<p>Please set your password.</p>
<a href=\"";
// line 13
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_change_password");
echo "\" class=\"btn btn-sm mt-2 w-100\">Set Password</a>
</div>
";
} elseif ($this->extensions['Bidcoz\Bundle\FrontendBundle\Twig\Extension\UserExtension']->shouldShowMobilePhoneUpdatePrompt(twig_get_attribute($this->env, $this->source, // line 15
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "user", [], "any", false, false, false, 15))) {
// line 16
echo " <div class=\"alert warning\">
<p>Please complete your Account profile. A mobile number is required to receive text notifications.</p>
<a href=\"";
// line 18
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_profile_edit");
echo "\" class=\"btn btn-sm mt-2 w-100\">Update Profile</a>
</div>
";
} elseif (($this->extensions['Bidcoz\Bundle\FrontendBundle\Twig\Extension\UserExtension']->shouldShowProfileUpdatePrompt(twig_get_attribute($this->env, $this->source, // line 20
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 20, $this->source); })()), "user", [], "any", false, false, false, 20)) && (0 !== twig_compare(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.', 20, $this->source); })()), "slug", [], "any", false, false, false, 20), "nvidia")))) {
// line 21
echo " <div class=\"alert warning\">
<p>Please complete your Account profile.</p>
<a href=\"";
// line 23
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_profile_edit");
echo "\" class=\"btn btn-sm mt-2 w-100\">Complete Profile</a>
<!--
<a href=\"";
// line 25
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_dismiss_modal");
echo "\" id=\"dismiss-profile-complete\" class=\"btn alert-dismissible\">
<i class=\"fas fa-times\"></i>
</a>
-->
</div>
";
}
// line 31
echo " ";
if (twig_length_filter($this->env, $this->extensions['Bidcoz\Bundle\FrontendBundle\Twig\Extension\UserExtension']->getUserRegistrations(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 31, $this->source); })()), "user", [], "any", false, false, false, 31)))) {
// line 32
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Bidcoz\Bundle\FrontendBundle\Twig\Extension\UserExtension']->getUserRegistrations(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "user", [], "any", false, false, false, 32)));
foreach ($context['_seq'] as $context["_key"] => $context["registration"]) {
// line 33
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["registration"], "requireRegistrationWaiver", [], "any", false, false, false, 33) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["registration"], "waiverConsent", [], "any", false, false, false, 33), 0)))) {
// line 34
echo " <div class=\"alert warning\">
<p>You have a purchased registration with a new waiver that must be accepted.</p>
<a href=\"";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account_campaign_registration_edit", twig_array_merge((isset($context["campaignParams"]) || array_key_exists("campaignParams", $context) ? $context["campaignParams"] : (function () { throw new RuntimeError('Variable "campaignParams" does not exist.', 36, $this->source); })()), ["id" => twig_get_attribute($this->env, $this->source, $context["registration"], "id", [], "any", false, false, false, 36)])), "html", null, true);
echo "\" class=\"btn btn-sm mt-2 w-100\">Review Registration</a>
</div>
";
}
// line 39
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['registration'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " ";
}
// line 41
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 44
public function block_afterAlerts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterAlerts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterAlerts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "afterAlerts"));
// line 45
echo " ";
if (twig_trim_filter( $this->renderBlock("afterAlertsContent", $context, $blocks))) {
// line 46
echo " <div class=\"alerts\">
";
// line 47
$this->displayBlock("afterAlertsContent", $context, $blocks);
echo "
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 52
public function block_beforeContent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeContent"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beforeContent"));
// line 53
echo " ";
if ($this->extensions['Bidcoz\Bundle\CoreBundle\Twig\Extension\PermissionExtension']->isUserLoggedIn()) {
// line 54
echo " <div class=\"alerts\">
";
// line 55
$context["notifications"] = $this->extensions['Bidcoz\Bundle\FrontendBundle\Twig\Extension\MainExtension']->getFrontEndNotifications();
// line 56
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["notifications"]) || array_key_exists("notifications", $context) ? $context["notifications"] : (function () { throw new RuntimeError('Variable "notifications" does not exist.', 56, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["notification"]) {
// line 57
echo " <div class=\"alert info col-4 float-right justify-content-between\">
";
// line 58
if (twig_get_attribute($this->env, $this->source, $context["notification"], "title", [], "any", false, false, false, 58)) {
// line 59
echo " <h4>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["notification"], "title", [], "any", false, false, false, 59), "html", null, true);
echo "</h4>
";
}
// line 61
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["notification"], "content", [], "any", false, false, false, 61), "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notification'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
echo " </div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 68
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 69
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
// line 70
if ((array_key_exists("organization", $context) || array_key_exists("campaign", $context))) {
// line 71
echo " <link rel=\"stylesheet\" href=\"/css/manage.css?v=";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetVersion(""), "html", null, true);
echo "\">
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
// line 75
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 76
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
}
public function getTemplateName()
{
return "@BidcozFrontend/organization.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 351 => 76, 338 => 75, 321 => 71, 319 => 70, 314 => 69, 301 => 68, 286 => 64, 276 => 61, 270 => 59, 268 => 58, 265 => 57, 260 => 56, 258 => 55, 255 => 54, 252 => 53, 239 => 52, 222 => 47, 219 => 46, 216 => 45, 203 => 44, 189 => 41, 186 => 40, 180 => 39, 174 => 36, 170 => 34, 167 => 33, 162 => 32, 159 => 31, 150 => 25, 145 => 23, 141 => 21, 139 => 20, 134 => 18, 130 => 16, 128 => 15, 123 => 13, 119 => 11, 116 => 10, 113 => 9, 100 => 8, 74 => 6, 60 => 1, 58 => 4, 56 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@BidcozCore/Layout/layout.html.twig' %}
{% import '@BidcozCore/_macro.html.twig' as macro %}
{% set orgParams = {orgSlug: organization.slug} %}
{% block title %}CausePilot - {{ organization.name }}{% endblock %}
{% block afterAlertsContent %}
{% if is_logged_in() %}
{% if not app.user.hasLoggedIn %}
<div class=\"alert warning\">
<p>Please set your password.</p>
<a href=\"{{ path('fos_user_change_password') }}\" class=\"btn btn-sm mt-2 w-100\">Set Password</a>
</div>
{% elseif app.user is show_mobile_update_prompt %}
<div class=\"alert warning\">
<p>Please complete your Account profile. A mobile number is required to receive text notifications.</p>
<a href=\"{{ path('fos_user_profile_edit') }}\" class=\"btn btn-sm mt-2 w-100\">Update Profile</a>
</div>
{% elseif app.user is show_profile_update_prompt and organization.slug != 'nvidia' %}
<div class=\"alert warning\">
<p>Please complete your Account profile.</p>
<a href=\"{{ path('fos_user_profile_edit') }}\" class=\"btn btn-sm mt-2 w-100\">Complete Profile</a>
<!--
<a href=\"{{ path('profile_dismiss_modal') }}\" id=\"dismiss-profile-complete\" class=\"btn alert-dismissible\">
<i class=\"fas fa-times\"></i>
</a>
-->
</div>
{% endif %}
{% if user_registrations(app.user)|length %}
{% for registration in user_registrations(app.user) %}
{% if registration.requireRegistrationWaiver and registration.waiverConsent == 0 %}
<div class=\"alert warning\">
<p>You have a purchased registration with a new waiver that must be accepted.</p>
<a href=\"{{ path('account_campaign_registration_edit', campaignParams|merge({id: registration.id})) }}\" class=\"btn btn-sm mt-2 w-100\">Review Registration</a>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endblock %}
{% block afterAlerts %}
{% if block('afterAlertsContent')|trim %}
<div class=\"alerts\">
{{ block('afterAlertsContent') }}
</div>
{% endif %}
{% endblock %}
{% block beforeContent %}
{% if is_logged_in() %}
<div class=\"alerts\">
{% set notifications = frontend_notifications() %}
{% for notification in notifications %}
<div class=\"alert info col-4 float-right justify-content-between\">
{% if notification.title %}
<h4>{{ notification.title }}</h4>
{% endif %}
{{ notification.content }}
</div>
{% endfor %}
</div>
{% endif %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% if organization is defined or campaign is defined %}
<link rel=\"stylesheet\" href=\"/css/manage.css?v={{ asset_version('') }}\">
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% endblock %}", "@BidcozFrontend/organization.html.twig", "/var/www/causepilot/src/Bidcoz/Bundle/FrontendBundle/Resources/views/organization.html.twig");
}
}