init without trunk

This commit is contained in:
Kevin Adametz 2020-07-09 12:49:32 +02:00
parent ed24ac4994
commit bb809e7233
14652 changed files with 177862 additions and 94817 deletions

View file

@ -0,0 +1,160 @@
<?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;
/* default/components/pageLodgingBox.html.twig */
class __TwigTemplate_c6a2aef20152c43362fa9c8f3a83def494534067a2c3ff1cf9ae765e65238c1a extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/components/pageLodgingBox.html.twig"));
// line 2
echo "<div class=\"col-md-4 col-sm-4\">
<div class=\"travel-wrapper get-box-link\">
<div class=\"item text-left\">
<div class=\"item-img\">
<div class=\"lb\">
";
// line 7
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 7, $this->source); })()), "page", [], "any", false, false, false, 7), "boxStar", [], "any", false, false, false, 7))) {
// line 8
echo " <div class=\"cstar_left\">";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 8, $this->source); })()), "page", [], "any", false, false, false, 8), "boxStar", [], "any", false, false, false, 8);
echo "</div>
";
}
// line 10
echo " ";
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 10, $this->source); })()), "page", [], "any", false, false, false, 10), "travelProgram", [], "any", false, false, false, 10)) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 10, $this->source); })()), "page", [], "any", false, false, false, 10), "travelProgram", [], "any", false, false, false, 10), "lowestPrice", [], "any", false, false, false, 10) > 0))) {
// line 11
echo " <div class=\"cprice\">ab ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 11, $this->source); })()), "page", [], "any", false, false, false, 11), "travelProgram", [], "any", false, false, false, 11), "lowestPrice", [], "any", false, false, false, 11)), "html", null, true);
echo " € p.P.</div>
";
}
// line 13
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 13, $this->source); })()), "page", [], "any", false, false, false, 13), "boxDiscount", [], "any", false, false, false, 13))) {
// line 14
echo " <div class=\"cdiscount\">";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 14, $this->source); })()), "page", [], "any", false, false, false, 14), "boxDiscount", [], "any", false, false, false, 14);
echo "</div>
";
}
// line 16
echo " </div>
";
// line 18
$this->loadTemplate("default/components/pageBoxImage.html.twig", "default/components/pageLodgingBox.html.twig", 18)->display(twig_array_merge($context, ["page" => twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 18, $this->source); })()), "page", [], "any", false, false, false, 18)]));
// line 19
echo "
</div>
<div class=\"box_mid\">
<div class=\"hl5\">";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 22, $this->source); })()), "page", [], "any", false, false, false, 22), "title", [], "any", false, false, false, 22), "html", null, true);
echo "</div>
<p>";
// line 23
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["lodging"] ?? null), "page", [], "any", false, true, false, 23), "boxBody", [], "any", true, true, false, 23) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["lodging"] ?? null), "page", [], "any", false, true, false, 23), "boxBody", [], "any", false, false, false, 23)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["lodging"] ?? null), "page", [], "any", false, true, false, 23), "boxBody", [], "any", false, false, false, 23)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 23, $this->source); })()), "page", [], "any", false, false, false, 23), "description", [], "any", false, false, false, 23))), "html", null, true);
echo "</p>
</div>
<a class=\"item-button is-box-link dobble_line\" href=\"";
// line 25
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 25, $this->source); })()), "page", [], "any", false, false, false, 25), "urlPath", [], "any", false, false, false, 25), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 25, $this->source); })()), "page", [], "any", false, false, false, 25), "title", [], "any", false, false, false, 25), "html", null, true);
echo "\">
<span>";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 26, $this->source); })()), "page", [], "any", false, false, false, 26), "title", [], "any", false, false, false, 26), "html", null, true);
echo "</span>
</a>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "default/components/pageLodgingBox.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 99 => 26, 93 => 25, 88 => 23, 84 => 22, 79 => 19, 77 => 18, 73 => 16, 67 => 14, 64 => 13, 58 => 11, 55 => 10, 49 => 8, 47 => 7, 40 => 2,);
}
public function getSourceContext()
{
return new Source("{# @var lodging \\AppBundle\\Entity\\FewoLodging #}
<div class=\"col-md-4 col-sm-4\">
<div class=\"travel-wrapper get-box-link\">
<div class=\"item text-left\">
<div class=\"item-img\">
<div class=\"lb\">
{% if lodging.page.boxStar is not empty %}
<div class=\"cstar_left\">{{ lodging.page.boxStar|raw }}</div>
{% endif %}
{% if lodging.page.travelProgram is not empty and lodging.page.travelProgram.lowestPrice > 0 %}
<div class=\"cprice\">ab {{ lodging.page.travelProgram.lowestPrice|number_format }} € p.P.</div>
{% endif %}
{% if lodging.page.boxDiscount is not empty %}
<div class=\"cdiscount\">{{ lodging.page.boxDiscount|raw }}</div>
{% endif %}
</div>
{% include 'default/components/pageBoxImage.html.twig' with {page: lodging.page} %}
</div>
<div class=\"box_mid\">
<div class=\"hl5\">{{ lodging.page.title }}</div>
<p>{{ lodging.page.boxBody ?? lodging.page.description }}</p>
</div>
<a class=\"item-button is-box-link dobble_line\" href=\"{{ lodging.page.urlPath }}\" title=\"{{ lodging.page.title }}\">
<span>{{ lodging.page.title }}</span>
</a>
</div>
</div>
</div>
", "default/components/pageLodgingBox.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/pageLodgingBox.html.twig");
}
}