init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
749
var/cache/dev/twig/64/6482e918cc52bda068660620a6328b0d9eca7f323aad204f6df165ba9be59615.php
vendored
Normal file
749
var/cache/dev/twig/64/6482e918cc52bda068660620a6328b0d9eca7f323aad204f6df165ba9be59615.php
vendored
Normal file
|
|
@ -0,0 +1,749 @@
|
|||
<?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/pages/cms/fewoTravelProgram.html.twig */
|
||||
class __TwigTemplate_02b28598f42b9232cfbcca3cdf02ae82dfa874058bb4ecf0ae07cd4004ab0ca7 extends \Twig\Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->blocks = [
|
||||
'stylesheets' => [$this, 'block_stylesheets'],
|
||||
'body' => [$this, 'block_body'],
|
||||
'travel_lodging_program_tab_bar' => [$this, 'block_travel_lodging_program_tab_bar'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
// line 3
|
||||
return $this->loadTemplate($this->extensions['AppBundle\Twig\AppExtension']->getBaseTemplate(), "default/pages/cms/fewoTravelProgram.html.twig", 3);
|
||||
}
|
||||
|
||||
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/pages/cms/fewoTravelProgram.html.twig"));
|
||||
|
||||
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 5
|
||||
public function block_stylesheets($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(), "block", "stylesheets"));
|
||||
|
||||
// line 6
|
||||
echo " <style>.box-slider .slide:not(.active) {display: none;}</style>";
|
||||
// line 7
|
||||
echo " <link rel=\"stylesheet\" href=\"";
|
||||
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/my-fewo.css?v"), "html", null, true);
|
||||
echo twig_escape_filter($this->env, $this->extensions['AppBundle\Twig\AppExtension']->getFileLastTime("css/my-fewo.css"), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 9
|
||||
public function block_body($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(), "block", "body"));
|
||||
|
||||
// line 10
|
||||
echo "
|
||||
<section class=\"clearfix\">
|
||||
<div class=\"content-copy\">
|
||||
|
||||
<h1>";
|
||||
// line 14
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 14, $this->source); })()), "name", [], "any", false, false, false, 14), "html", null, true);
|
||||
echo "</h1>
|
||||
|
||||
";
|
||||
// line 19
|
||||
echo "
|
||||
<section class=\"section fullscreen background padding-0 margin-bottom-20\">
|
||||
<div id=\"myCarousel\" class=\"carousel slide fewo\">
|
||||
<!-- Indicators -->
|
||||
<ol class=\"carousel-indicators\">
|
||||
";
|
||||
// line 24
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable((isset($context["slider_imgs"]) || array_key_exists("slider_imgs", $context) ? $context["slider_imgs"] : (function () { throw new RuntimeError('Variable "slider_imgs" does not exist.', 24, $this->source); })()));
|
||||
$context['loop'] = [
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
];
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["lodging_image"]) {
|
||||
// line 25
|
||||
echo " <li data-target=\"#myCarousel\" data-slide-to=\"";
|
||||
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 25) - 1), "html", null, true);
|
||||
echo "\" ";
|
||||
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 25)) {
|
||||
echo "class=\"active\"";
|
||||
}
|
||||
echo "></li>
|
||||
";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lodging_image'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 27
|
||||
echo " </ol>
|
||||
<!-- Wrapper for Slides -->
|
||||
<div class=\"carousel-inner\">
|
||||
";
|
||||
// line 30
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable((isset($context["slider_imgs"]) || array_key_exists("slider_imgs", $context) ? $context["slider_imgs"] : (function () { throw new RuntimeError('Variable "slider_imgs" does not exist.', 30, $this->source); })()));
|
||||
$context['loop'] = [
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
];
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["lodging_image"]) {
|
||||
// line 31
|
||||
echo " <div class=\"item";
|
||||
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 31)) {
|
||||
echo " active";
|
||||
}
|
||||
echo "\">
|
||||
<div class=\"fill\" style=\"background-image:url(";
|
||||
// line 32
|
||||
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("_uploads/images/" . twig_get_attribute($this->env, $this->source, $context["lodging_image"], "file", [], "any", false, false, false, 32))), "html", null, true);
|
||||
echo ");background-position: center center\">
|
||||
<span class=\"image-title\">";
|
||||
// line 33
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lodging_image"], "fileName", [], "any", false, false, false, 33), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lodging_image'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 37
|
||||
echo " </div>
|
||||
|
||||
<!-- Controls -->
|
||||
<a class=\"left carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"prev\">
|
||||
<span class=\"glyphicon glyphicon-chevron-left\" aria-hidden=\"true\"></span>
|
||||
<span class=\"sr-only\">Previous</span>
|
||||
</a>
|
||||
<a class=\"right carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"next\">
|
||||
<span class=\"glyphicon glyphicon-chevron-right\" aria-hidden=\"true\"></span>
|
||||
<span class=\"sr-only\">Next</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</section><!-- end section -->
|
||||
|
||||
";
|
||||
// line 55
|
||||
echo "
|
||||
";
|
||||
// line 56
|
||||
$this->displayBlock('travel_lodging_program_tab_bar', $context, $blocks);
|
||||
// line 79
|
||||
echo "
|
||||
<div class=\"tab-content\">
|
||||
|
||||
";
|
||||
// line 85
|
||||
echo "
|
||||
<div role=\"tabpanel\" class=\"tab-pane \" id=\"travel-description-content-tab\">
|
||||
|
||||
<h3>Allgemeines</h3>
|
||||
|
||||
<div class=\"table-responsive\" id=\"no-more-tables\">
|
||||
<table class=\"table\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Typ</th>
|
||||
<th>Adresse</th>
|
||||
<th>PLZ</th>
|
||||
<th>Ort</th>
|
||||
<th>Max. Personenanzahl</th>
|
||||
<th>Kaution</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td data-title=\"Typ\">
|
||||
";
|
||||
// line 105
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 105, $this->source); })()), "type", [], "any", false, false, false, 105), "html", null, true);
|
||||
echo "
|
||||
</td>
|
||||
<td data-title=\"Adresse\">
|
||||
";
|
||||
// line 108
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 108, $this->source); })()), "adress1", [], "any", false, false, false, 108), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
// line 109
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 109, $this->source); })()), "adress2", [], "any", false, false, false, 109))) {
|
||||
// line 110
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 110, $this->source); })()), "adress2", [], "any", false, false, false, 110), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 112
|
||||
echo " </td>
|
||||
<td data-title=\"PLZ\">
|
||||
";
|
||||
// line 114
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 114, $this->source); })()), "zipCode", [], "any", false, false, false, 114), "html", null, true);
|
||||
echo "
|
||||
</td>
|
||||
<td data-title=\"Ort\">
|
||||
";
|
||||
// line 117
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 117, $this->source); })()), "city", [], "any", false, false, false, 117))) {
|
||||
// line 118
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 118, $this->source); })()), "city", [], "any", false, false, false, 118), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 120
|
||||
echo " </td>
|
||||
<td data-title=\"Max. Personenanzahl\">
|
||||
";
|
||||
// line 122
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 122, $this->source); })()), "maximumPersons", [], "any", false, false, false, 122))) {
|
||||
// line 123
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 123, $this->source); })()), "maximumPersons", [], "any", false, false, false, 123), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 125
|
||||
echo " </td>
|
||||
<td data-title=\"Kaution\">
|
||||
";
|
||||
// line 127
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 127, $this->source); })()), "deposit", [], "any", false, false, false, 127))) {
|
||||
// line 128
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 128, $this->source); })()), "deposit", [], "any", false, false, false, 128), 2, ",", "."), "html", null, true);
|
||||
echo " €
|
||||
";
|
||||
}
|
||||
// line 130
|
||||
echo " </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
";
|
||||
// line 135
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 135, $this->source); })()), "description", [], "any", false, false, false, 135))) {
|
||||
// line 136
|
||||
echo " <hr>
|
||||
<div>
|
||||
";
|
||||
// line 138
|
||||
echo twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 138, $this->source); })()), "description", [], "any", false, false, false, 138);
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 141
|
||||
echo "
|
||||
</div> <!-- END tabpanel -->
|
||||
|
||||
";
|
||||
// line 147
|
||||
echo "
|
||||
<div role=\"tabpanel\" class=\"tab-pane\" id=\"travel-equipment-content-tab\">
|
||||
<div>
|
||||
";
|
||||
// line 150
|
||||
echo twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 150, $this->source); })()), "equipment", [], "any", false, false, false, 150);
|
||||
echo "
|
||||
</div>
|
||||
</div> <!-- END tabpanel -->
|
||||
|
||||
";
|
||||
// line 157
|
||||
echo "
|
||||
<div role=\"tabpanel\" class=\"tab-pane active\" id=\"travel-dates-content-tab\">
|
||||
<h3>Saisons</h3>
|
||||
<div class=\"table-responsive\" id=\"no-more-tables\">
|
||||
|
||||
";
|
||||
// line 162
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 162, $this->source); })()), "prices", [], "any", false, false, false, 162))) {
|
||||
// line 163
|
||||
echo " <table class=\"table\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Beginn</th>
|
||||
<th>Ende</th>
|
||||
<th>Mindestbelegung</th>
|
||||
<th>Preis pro Nacht</th>
|
||||
<th>Service-Gebühr</th>
|
||||
<th>Kaution</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
// line 176
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 176, $this->source); })()), "prices", [], "any", false, false, false, 176));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["price"]) {
|
||||
// line 177
|
||||
echo " ";
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 177))) {
|
||||
// line 178
|
||||
echo " <tr>
|
||||
<td data-title=\"Name\">
|
||||
<strong class=\"small\">
|
||||
";
|
||||
// line 181
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 181), "name", [], "any", false, false, false, 181), "html", null, true);
|
||||
echo "
|
||||
</strong>
|
||||
</td>
|
||||
<td data-title=\"Beginn\">
|
||||
<a class=\"default scroll-to-jump\" href=\"#jump-";
|
||||
// line 185
|
||||
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 185), "fromDate", [], "any", false, false, false, 185), "n-Y"), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 186
|
||||
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 186), "fromDate", [], "any", false, false, false, 186)), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</td>
|
||||
<td data-title=\"Ende\">
|
||||
<a class=\"default scroll-to-jump\" href=\"#jump-";
|
||||
// line 190
|
||||
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 190), "toDate", [], "any", false, false, false, 190), "n-Y"), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 191
|
||||
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 191), "toDate", [], "any", false, false, false, 191)), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</td>
|
||||
<td data-title=\"Mindestbelegung\">
|
||||
";
|
||||
// line 195
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 195), "minimumStay", [], "any", false, false, false, 195), "html", null, true);
|
||||
echo " ";
|
||||
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 195), "minimumStay", [], "any", false, false, false, 195) < 2)) ? ("Nacht") : ("Nächte"));
|
||||
echo "
|
||||
</td>
|
||||
<td data-title=\"Preis p.P pro Nacht\">
|
||||
";
|
||||
// line 198
|
||||
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["price"], "perNight", [], "any", false, false, false, 198), 2, ",", "."), "html", null, true);
|
||||
echo " €
|
||||
</td>
|
||||
<td data-title=\"Service-Gebühr\">
|
||||
";
|
||||
// line 201
|
||||
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["price"], "flatPrice", [], "any", false, false, false, 201), 2, ",", "."), "html", null, true);
|
||||
echo " €
|
||||
</td>
|
||||
<td data-title=\"Kaution\">
|
||||
";
|
||||
// line 204
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 204, $this->source); })()), "deposit", [], "any", false, false, false, 204))) {
|
||||
// line 205
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 205, $this->source); })()), "deposit", [], "any", false, false, false, 205), 2, ",", "."), "html", null, true);
|
||||
echo " €
|
||||
";
|
||||
}
|
||||
// line 207
|
||||
echo " </td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
// line 210
|
||||
echo " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['price'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 211
|
||||
echo " </tbody>
|
||||
</table>
|
||||
";
|
||||
} else {
|
||||
// line 214
|
||||
echo " Momentan sind für dieses Programm keine Termine verfügbar.
|
||||
";
|
||||
}
|
||||
// line 216
|
||||
echo " </div>
|
||||
|
||||
<h3>Buchung</h3>
|
||||
|
||||
<p>Bitte klicken Sie einen Anreisetermin (grüne Zahl), um zur Buchungsmaske zu gelagen.</p>
|
||||
|
||||
";
|
||||
// line 222
|
||||
$this->loadTemplate("default/pages/cms/calendarLodgingProgram.html.twig", "default/pages/cms/fewoTravelProgram.html.twig", 222)->display($context);
|
||||
// line 223
|
||||
echo "
|
||||
</div> <!-- END tabpanel -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section><!-- end section -->
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 56
|
||||
public function block_travel_lodging_program_tab_bar($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(), "block", "travel_lodging_program_tab_bar"));
|
||||
|
||||
// line 57
|
||||
echo " <div class=\"scroller-nav-tabs scroller-left-nav-tabs\"><i class=\"glyphicon glyphicon-chevron-left\"></i></div>
|
||||
<div class=\"scroller-nav-tabs scroller-right-nav-tabs\"><i class=\"glyphicon glyphicon-chevron-right\"></i></div>
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
<li class=\"\">
|
||||
<a href=\"#travel-description-content-tab\" aria-controls=\"travel-description-content-tab\" role=\"tab\" data-toggle=\"tab\">
|
||||
Beschreibung
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href=\"#travel-equipment-content-tab\" aria-controls=\"travel-equipment-content-tab\" role=\"tab\" data-toggle=\"tab\">
|
||||
Ausstattung
|
||||
</a>
|
||||
</li>
|
||||
<li class=\"active\">
|
||||
<a href=\"#travel-dates-content-tab\" aria-controls=\"travel-dates-content-tab\" role=\"tab\" data-toggle=\"tab\">
|
||||
Termine <i class=\"fa fa-star\"></i> Preise <i class=\"fa fa-star\"></i> Mieten
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "default/pages/cms/fewoTravelProgram.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 475 => 57, 468 => 56, 455 => 223, 453 => 222, 445 => 216, 441 => 214, 436 => 211, 430 => 210, 425 => 207, 419 => 205, 417 => 204, 411 => 201, 405 => 198, 397 => 195, 390 => 191, 386 => 190, 379 => 186, 375 => 185, 368 => 181, 363 => 178, 360 => 177, 356 => 176, 341 => 163, 339 => 162, 332 => 157, 325 => 150, 320 => 147, 315 => 141, 309 => 138, 305 => 136, 303 => 135, 296 => 130, 290 => 128, 288 => 127, 284 => 125, 278 => 123, 276 => 122, 272 => 120, 266 => 118, 264 => 117, 258 => 114, 254 => 112, 248 => 110, 246 => 109, 242 => 108, 236 => 105, 214 => 85, 209 => 79, 207 => 56, 204 => 55, 187 => 37, 169 => 33, 165 => 32, 158 => 31, 141 => 30, 136 => 27, 115 => 25, 98 => 24, 91 => 19, 86 => 14, 80 => 10, 73 => 9, 62 => 7, 60 => 6, 53 => 5, 37 => 3,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("{#{% extends 'admin.html.twig' %}#}
|
||||
{# @var fewo_lodging \\AppBundle\\Entity\\FewoLodging #}
|
||||
{% extends get_base_template() %}
|
||||
|
||||
{% block stylesheets %}
|
||||
<style>.box-slider .slide:not(.active) {display: none;}</style>{# TODO Move to custom.css #}
|
||||
<link rel=\"stylesheet\" href=\"{{ asset('css/my-fewo.css?v') }}{{ get_file_last_time('css/my-fewo.css') }}\">
|
||||
{% endblock stylesheets %}
|
||||
{% block body %}
|
||||
|
||||
<section class=\"clearfix\">
|
||||
<div class=\"content-copy\">
|
||||
|
||||
<h1>{{ fewo_lodging.name }}</h1>
|
||||
|
||||
{#
|
||||
********* SLIDER *********
|
||||
#}
|
||||
|
||||
<section class=\"section fullscreen background padding-0 margin-bottom-20\">
|
||||
<div id=\"myCarousel\" class=\"carousel slide fewo\">
|
||||
<!-- Indicators -->
|
||||
<ol class=\"carousel-indicators\">
|
||||
{% for lodging_image in slider_imgs %}
|
||||
<li data-target=\"#myCarousel\" data-slide-to=\"{{ loop.index-1 }}\" {% if loop.first %}class=\"active\"{% endif %}></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
<!-- Wrapper for Slides -->
|
||||
<div class=\"carousel-inner\">
|
||||
{% for lodging_image in slider_imgs %}
|
||||
<div class=\"item{% if loop.first %} active{% endif %}\">
|
||||
<div class=\"fill\" style=\"background-image:url({{ asset('_uploads/images/' ~ lodging_image.file) }});background-position: center center\">
|
||||
<span class=\"image-title\">{{ lodging_image.fileName }}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<!-- Controls -->
|
||||
<a class=\"left carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"prev\">
|
||||
<span class=\"glyphicon glyphicon-chevron-left\" aria-hidden=\"true\"></span>
|
||||
<span class=\"sr-only\">Previous</span>
|
||||
</a>
|
||||
<a class=\"right carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"next\">
|
||||
<span class=\"glyphicon glyphicon-chevron-right\" aria-hidden=\"true\"></span>
|
||||
<span class=\"sr-only\">Next</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</section><!-- end section -->
|
||||
|
||||
{#
|
||||
********* TAB BAR *********
|
||||
#}
|
||||
|
||||
{% block travel_lodging_program_tab_bar %}
|
||||
<div class=\"scroller-nav-tabs scroller-left-nav-tabs\"><i class=\"glyphicon glyphicon-chevron-left\"></i></div>
|
||||
<div class=\"scroller-nav-tabs scroller-right-nav-tabs\"><i class=\"glyphicon glyphicon-chevron-right\"></i></div>
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
<li class=\"\">
|
||||
<a href=\"#travel-description-content-tab\" aria-controls=\"travel-description-content-tab\" role=\"tab\" data-toggle=\"tab\">
|
||||
Beschreibung
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href=\"#travel-equipment-content-tab\" aria-controls=\"travel-equipment-content-tab\" role=\"tab\" data-toggle=\"tab\">
|
||||
Ausstattung
|
||||
</a>
|
||||
</li>
|
||||
<li class=\"active\">
|
||||
<a href=\"#travel-dates-content-tab\" aria-controls=\"travel-dates-content-tab\" role=\"tab\" data-toggle=\"tab\">
|
||||
Termine <i class=\"fa fa-star\"></i> Preise <i class=\"fa fa-star\"></i> Mieten
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock travel_lodging_program_tab_bar %}
|
||||
|
||||
<div class=\"tab-content\">
|
||||
|
||||
{#
|
||||
********* BESCHREIBUNG *********
|
||||
#}
|
||||
|
||||
<div role=\"tabpanel\" class=\"tab-pane \" id=\"travel-description-content-tab\">
|
||||
|
||||
<h3>Allgemeines</h3>
|
||||
|
||||
<div class=\"table-responsive\" id=\"no-more-tables\">
|
||||
<table class=\"table\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Typ</th>
|
||||
<th>Adresse</th>
|
||||
<th>PLZ</th>
|
||||
<th>Ort</th>
|
||||
<th>Max. Personenanzahl</th>
|
||||
<th>Kaution</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td data-title=\"Typ\">
|
||||
{{ fewo_lodging.type }}
|
||||
</td>
|
||||
<td data-title=\"Adresse\">
|
||||
{{ fewo_lodging.adress1 }}
|
||||
{% if fewo_lodging.adress2 is not empty %}
|
||||
{{ fewo_lodging.adress2 }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td data-title=\"PLZ\">
|
||||
{{ fewo_lodging.zipCode }}
|
||||
</td>
|
||||
<td data-title=\"Ort\">
|
||||
{% if fewo_lodging.city is not empty %}
|
||||
{{ fewo_lodging.city }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td data-title=\"Max. Personenanzahl\">
|
||||
{% if fewo_lodging.maximumPersons is not empty %}
|
||||
{{ fewo_lodging.maximumPersons }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td data-title=\"Kaution\">
|
||||
{% if fewo_lodging.deposit is not empty %}
|
||||
{{ fewo_lodging.deposit|number_format(2, ',', '.') }} €
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% if fewo_lodging.description is not empty %}
|
||||
<hr>
|
||||
<div>
|
||||
{{ fewo_lodging.description|raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div> <!-- END tabpanel -->
|
||||
|
||||
{#
|
||||
********* AUSSTATTUNG *********
|
||||
#}
|
||||
|
||||
<div role=\"tabpanel\" class=\"tab-pane\" id=\"travel-equipment-content-tab\">
|
||||
<div>
|
||||
{{ fewo_lodging.equipment|raw }}
|
||||
</div>
|
||||
</div> <!-- END tabpanel -->
|
||||
|
||||
{#
|
||||
********* TERMINE UND PREISE *********
|
||||
#}
|
||||
|
||||
<div role=\"tabpanel\" class=\"tab-pane active\" id=\"travel-dates-content-tab\">
|
||||
<h3>Saisons</h3>
|
||||
<div class=\"table-responsive\" id=\"no-more-tables\">
|
||||
|
||||
{% if fewo_lodging.prices is not empty %}
|
||||
<table class=\"table\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Beginn</th>
|
||||
<th>Ende</th>
|
||||
<th>Mindestbelegung</th>
|
||||
<th>Preis pro Nacht</th>
|
||||
<th>Service-Gebühr</th>
|
||||
<th>Kaution</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for price in fewo_lodging.prices %}
|
||||
{% if price.season is not empty %}
|
||||
<tr>
|
||||
<td data-title=\"Name\">
|
||||
<strong class=\"small\">
|
||||
{{ price.season.name }}
|
||||
</strong>
|
||||
</td>
|
||||
<td data-title=\"Beginn\">
|
||||
<a class=\"default scroll-to-jump\" href=\"#jump-{{ price.season.fromDate|date(\"n-Y\") }}\">
|
||||
{{ price.season.fromDate|date }}
|
||||
</a>
|
||||
</td>
|
||||
<td data-title=\"Ende\">
|
||||
<a class=\"default scroll-to-jump\" href=\"#jump-{{ price.season.toDate|date(\"n-Y\") }}\">
|
||||
{{ price.season.toDate|date }}
|
||||
</a>
|
||||
</td>
|
||||
<td data-title=\"Mindestbelegung\">
|
||||
{{ price.season.minimumStay }} {{ price.season.minimumStay < 2 ? 'Nacht' : 'Nächte' }}
|
||||
</td>
|
||||
<td data-title=\"Preis p.P pro Nacht\">
|
||||
{{ price.perNight|number_format(2, ',', '.') }} €
|
||||
</td>
|
||||
<td data-title=\"Service-Gebühr\">
|
||||
{{ price.flatPrice|number_format(2, ',', '.') }} €
|
||||
</td>
|
||||
<td data-title=\"Kaution\">
|
||||
{% if fewo_lodging.deposit is not empty %}
|
||||
{{ fewo_lodging.deposit|number_format(2, ',', '.') }} €
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
Momentan sind für dieses Programm keine Termine verfügbar.
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<h3>Buchung</h3>
|
||||
|
||||
<p>Bitte klicken Sie einen Anreisetermin (grüne Zahl), um zur Buchungsmaske zu gelagen.</p>
|
||||
|
||||
{% include 'default/pages/cms/calendarLodgingProgram.html.twig' %}
|
||||
|
||||
</div> <!-- END tabpanel -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section><!-- end section -->
|
||||
{% endblock body %}", "default/pages/cms/fewoTravelProgram.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/pages/cms/fewoTravelProgram.html.twig");
|
||||
}
|
||||
}
|
||||
70
var/cache/dev/twig/64/64ed768e7034e76021294bed0405897c3be21568248a6a68d072f324eef981fe.php
vendored
Normal file
70
var/cache/dev/twig/64/64ed768e7034e76021294bed0405897c3be21568248a6a68d072f324eef981fe.php
vendored
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<?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;
|
||||
|
||||
/* @WebProfiler/Icon/memory.svg */
|
||||
class __TwigTemplate_f13c2f9941ec9c9c312853fc34ad56c522a8e65b0428e10e35c774fddc400561 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", "@WebProfiler/Icon/memory.svg"));
|
||||
|
||||
// line 1
|
||||
echo "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\">
|
||||
<path fill=\"#AAAAAA\" d=\"M6,18.9V15h12v3.9c0,0.7-0.2,1.1-1,1.1H7C6.2,20,6,19.6,6,18.9z M20,1C20,1,20,1,20,1c-0.6,0-1,0.5-1,1.1
|
||||
l0,18c0,0.5-0.4,0.9-0.9,0.9H5.9C5.4,21,5,20.6,5,20.1l0-18C5,1.5,4.6,1,4,1c0,0,0,0,0,0C3.5,1,3,1.5,3,2.1l0,18
|
||||
C3,21.7,4.3,23,5.9,23h12.2c1.6,0,2.9-1.3,2.9-2.9l0-18C21,1.5,20.6,1,20,1z M18,9H6v5h12V9z\"/>
|
||||
</svg>
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@WebProfiler/Icon/memory.svg";
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 40 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\">
|
||||
<path fill=\"#AAAAAA\" d=\"M6,18.9V15h12v3.9c0,0.7-0.2,1.1-1,1.1H7C6.2,20,6,19.6,6,18.9z M20,1C20,1,20,1,20,1c-0.6,0-1,0.5-1,1.1
|
||||
l0,18c0,0.5-0.4,0.9-0.9,0.9H5.9C5.4,21,5,20.6,5,20.1l0-18C5,1.5,4.6,1,4,1c0,0,0,0,0,0C3.5,1,3,1.5,3,2.1l0,18
|
||||
C3,21.7,4.3,23,5.9,23h12.2c1.6,0,2.9-1.3,2.9-2.9l0-18C21,1.5,20.6,1,20,1z M18,9H6v5h12V9z\"/>
|
||||
</svg>
|
||||
", "@WebProfiler/Icon/memory.svg", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Icon/memory.svg");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue