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,152 @@
<?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/breadcrumb.html.twig */
class __TwigTemplate_61226b15fba18804deede4a739aa584d558c72f21d87056b5a1d2ea229c7d582 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/breadcrumb.html.twig"));
// line 1
if ( !twig_test_empty((isset($context["breadcrumb_entries"]) || array_key_exists("breadcrumb_entries", $context) ? $context["breadcrumb_entries"] : (function () { throw new RuntimeError('Variable "breadcrumb_entries" does not exist.', 1, $this->source); })()))) {
// line 2
echo " <div class=\"breadcrumb-holder\">
<ol class=\"breadcrumb\" itemprop=\"breadcrumb\" itemscope=\"\" itemtype=\"http://schema.org/BreadcrumbList\">
<li itemscope=\"\" itemprop=\"itemListElement\" itemtype=\"http://schema.org/ListItem\">
<a class=\"on\" itemprop=\"item\" title=\"STERN TOURS\" href=\"";
// line 5
echo twig_escape_filter($this->env, 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.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "getSchemeAndHttpHost", [], "method", false, false, false, 5), "html", null, true);
echo "\">
<span itemprop=\"name\">STERN TOURS</span></a>
<meta itemprop=\"position\" content=\"1\">
</li>
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["breadcrumb_entries"]) || array_key_exists("breadcrumb_entries", $context) ? $context["breadcrumb_entries"] : (function () { throw new RuntimeError('Variable "breadcrumb_entries" does not exist.', 9, $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["breadcrumb_entry"]) {
// line 10
echo " ";
// line 11
echo " <li itemscope=\"\" itemprop=\"itemListElement\" itemtype=\"http://schema.org/ListItem\">
<a itemprop=\"item\" title=\"";
// line 12
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["breadcrumb_entry"], "title", [], "any", false, false, false, 12), "html", null, true);
echo "\" href=\"";
echo twig_escape_filter($this->env, 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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "getSchemeAndHttpHost", [], "method", false, false, false, 12), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["breadcrumb_entry"], "url", [], "any", false, false, false, 12), "html", null, true);
echo "\">
<span itemprop=\"name\">";
// line 13
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["breadcrumb_entry"], "title", [], "any", false, false, false, 13), "html", null, true);
echo "</span>
</a>
<meta itemprop=\"position\" content=\"";
// line 15
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 15) + 2), "html", null, true);
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['breadcrumb_entry'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo " </ol>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "default/components/breadcrumb.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 105 => 18, 88 => 15, 83 => 13, 76 => 12, 73 => 11, 71 => 10, 54 => 9, 47 => 5, 42 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% if breadcrumb_entries is not empty %}
<div class=\"breadcrumb-holder\">
<ol class=\"breadcrumb\" itemprop=\"breadcrumb\" itemscope=\"\" itemtype=\"http://schema.org/BreadcrumbList\">
<li itemscope=\"\" itemprop=\"itemListElement\" itemtype=\"http://schema.org/ListItem\">
<a class=\"on\" itemprop=\"item\" title=\"STERN TOURS\" href=\"{{ app.request.getSchemeAndHttpHost() }}\">
<span itemprop=\"name\">STERN TOURS</span></a>
<meta itemprop=\"position\" content=\"1\">
</li>
{% for breadcrumb_entry in breadcrumb_entries %}
{# @var breadcrumb_entry \\AppBundle\\Entity\\BreadcrumbEntry #}
<li itemscope=\"\" itemprop=\"itemListElement\" itemtype=\"http://schema.org/ListItem\">
<a itemprop=\"item\" title=\"{{ breadcrumb_entry.title }}\" href=\"{{ app.request.getSchemeAndHttpHost() }}{{ breadcrumb_entry.url }}\">
<span itemprop=\"name\">{{ breadcrumb_entry.title }}</span>
</a>
<meta itemprop=\"position\" content=\"{{ loop.index0 + 2 }}\">
</li>
{% endfor %}
</ol>
</div>
{% endif %}", "default/components/breadcrumb.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/breadcrumb.html.twig");
}
}

View file

@ -0,0 +1,182 @@
<?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/multiPageBoxCarousel.html.twig */
class __TwigTemplate_48009a26b7f7e6f576036fc0e565a01c6bde59ababf8e31dd7bf1c3ac49347f5 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/multiPageBoxCarousel.html.twig"));
// line 1
echo "<div class=\"owl-fullwidth owl-carousel owl-theme\">
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pages"]) || array_key_exists("pages", $context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.', 3, $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["page"]) {
// line 4
echo " <div class=\"owl-item-full\">
<div class=\"travel-wrapper get-box-link\">
<div class=\"item text-center\">
<div class=\"item-img\">
";
// line 9
$this->loadTemplate("default/components/pageBoxImage.html.twig", "default/components/multiPageBoxCarousel.html.twig", 9)->display($context);
// line 10
echo " </div>
<div class=\"box_mid\">
<div class=\"hl5\">";
// line 13
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["page"], "title", [], "any", false, false, false, 13), "html", null, true);
echo "</div>
";
// line 15
if ( !twig_test_empty((((twig_get_attribute($this->env, $this->source, $context["page"], "boxBody", [], "any", true, true, false, 15) && !(null === twig_get_attribute($this->env, $this->source, $context["page"], "boxBody", [], "any", false, false, false, 15)))) ? (twig_get_attribute($this->env, $this->source, $context["page"], "boxBody", [], "any", false, false, false, 15)) : (twig_get_attribute($this->env, $this->source, $context["page"], "description", [], "any", false, false, false, 15))))) {
// line 16
echo " <p>";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["page"], "boxBody", [], "any", true, true, false, 16)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["page"], "boxBody", [], "any", false, false, false, 16), twig_get_attribute($this->env, $this->source, $context["page"], "description", [], "any", false, false, false, 16))) : (twig_get_attribute($this->env, $this->source, $context["page"], "description", [], "any", false, false, false, 16))), "html", null, true);
echo "</p>
";
}
// line 18
echo "
";
// line 19
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["page"], "travelProgram", [], "any", false, false, false, 19)) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["page"], "travelProgram", [], "any", false, false, false, 19), "lowestPrice", [], "any", false, false, false, 19) > 0))) {
// line 20
echo " <div class=\"price\">
Für ";
// line 21
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, $context["page"], "travelProgram", [], "any", false, false, false, 21), "lowestPrice", [], "any", false, false, false, 21)), "html", null, true);
echo ",- € p.P.
</div>
";
}
// line 24
echo "
</div>
<a class=\"item-button is-box-link dobble_line\" href=\"";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["page"], "urlPath", [], "any", false, false, false, 26), "html", null, true);
echo "\"><span>ansehen</span></a>
</div>
</div><!-- end travel-wrapper -->
</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['page'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo "
</div>";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "default/components/multiPageBoxCarousel.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 125 => 31, 106 => 26, 102 => 24, 96 => 21, 93 => 20, 91 => 19, 88 => 18, 82 => 16, 80 => 15, 75 => 13, 70 => 10, 68 => 9, 61 => 4, 44 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"owl-fullwidth owl-carousel owl-theme\">
{% for page in pages %}
<div class=\"owl-item-full\">
<div class=\"travel-wrapper get-box-link\">
<div class=\"item text-center\">
<div class=\"item-img\">
{% include 'default/components/pageBoxImage.html.twig' %}
</div>
<div class=\"box_mid\">
<div class=\"hl5\">{{ page.title }}</div>
{% if (page.boxBody ?? page.description) is not empty %}
<p>{{ page.boxBody|default(page.description) }}</p>
{% endif %}
{% if page.travelProgram is not empty and page.travelProgram.lowestPrice > 0 %}
<div class=\"price\">
Für {{ page.travelProgram.lowestPrice|number_format }},- p.P.
</div>
{% endif %}
</div>
<a class=\"item-button is-box-link dobble_line\" href=\"{{ page.urlPath }}\"><span>ansehen</span></a>
</div>
</div><!-- end travel-wrapper -->
</div>
{% endfor %}
</div>", "default/components/multiPageBoxCarousel.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/multiPageBoxCarousel.html.twig");
}
}