init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
330
var/cache/dev/twig/48/48cd41f2aad0e2da087dfaeacc4bf2de8cb5fbe95369f8c37d642965e5d95d40.php
vendored
Normal file
330
var/cache/dev/twig/48/48cd41f2aad0e2da087dfaeacc4bf2de8cb5fbe95369f8c37d642965e5d95d40.php
vendored
Normal file
|
|
@ -0,0 +1,330 @@
|
|||
<?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/travelGuide.html.twig */
|
||||
class __TwigTemplate_330783514932749d4751771d689b7f6d8c3bd2822e81a1345888d6938bee36c1 extends \Twig\Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->blocks = [
|
||||
'body' => [$this, 'block_body'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
// line 1
|
||||
return $this->loadTemplate($this->extensions['AppBundle\Twig\AppExtension']->getBaseTemplate(), "default/pages/cms/travelGuide.html.twig", 1);
|
||||
}
|
||||
|
||||
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/travelGuide.html.twig"));
|
||||
|
||||
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 3
|
||||
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 4
|
||||
echo " <section class=\"clearfix\">
|
||||
";
|
||||
// line 5
|
||||
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 5, $this->source); })()), "travelGuideContentId", [], "any", false, false, false, 5)) {
|
||||
// line 6
|
||||
echo " <div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
<li class=\"active\">
|
||||
<a href=\"#travel_guide_long_content\" aria-controls=\"travel_guide_long_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href=\"#travel_guide_short_content\" aria-controls=\"travel_guide_short_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<div role=\"tabpanel\" class=\"tab-pane active\" id=\"travel_guide_short_content\">
|
||||
";
|
||||
// line 23
|
||||
echo $this->extensions['AppBundle\Twig\AppExtension']->lozadFilter($this->extensions['AppBundle\Twig\AppExtension']->keywordsFilter(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 23, $this->source); })()), "content", [], "any", false, false, false, 23)));
|
||||
echo "
|
||||
</div>
|
||||
<div role=\"tabpanel\" class=\"tab-pane\" id=\"travel_guide_long_content\">
|
||||
";
|
||||
// line 26
|
||||
echo $this->extensions['AppBundle\Twig\AppExtension']->lozadFilter($this->extensions['AppBundle\Twig\AppExtension']->keywordsFilter(twig_get_attribute($this->env, $this->source, (isset($context["travel_guide_content"]) || array_key_exists("travel_guide_content", $context) ? $context["travel_guide_content"] : (function () { throw new RuntimeError('Variable "travel_guide_content" does not exist.', 26, $this->source); })()), "fullText", [], "any", false, false, false, 26)));
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
<li class=\"active\">
|
||||
<a href=\"#travel_guide_long_content\" aria-controls=\"travel_guide_long_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href=\"#travel_guide_short_content\" aria-controls=\"travel_guide_short_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 45
|
||||
echo " ";
|
||||
echo $this->extensions['AppBundle\Twig\AppExtension']->lozadFilter($this->extensions['AppBundle\Twig\AppExtension']->keywordsFilter(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 45, $this->source); })()), "content", [], "any", false, false, false, 45)));
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 47
|
||||
echo " </section>
|
||||
<hr>
|
||||
";
|
||||
// line 49
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 49, $this->source); })()), "children", [], "any", false, false, false, 49))) {
|
||||
// line 50
|
||||
echo " <section class=\"clearfix\">
|
||||
<h2>";
|
||||
// line 51
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 51, $this->source); })()), "title", [], "any", false, false, false, 51), "html", null, true);
|
||||
echo "</h2>
|
||||
<div class=\"row\">
|
||||
";
|
||||
// line 53
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 53, $this->source); })()), "children", [], "any", false, false, false, 53));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["child_page"]) {
|
||||
// line 54
|
||||
echo " ";
|
||||
if (twig_get_attribute($this->env, $this->source, $context["child_page"], "status", [], "any", false, false, false, 54)) {
|
||||
// line 55
|
||||
echo " <div class=\"col-md-4 col-sm-6\">
|
||||
<div class=\"travel-wrapper get-box-link\">
|
||||
<div class=\"item text-left\">
|
||||
";
|
||||
// line 58
|
||||
if ((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 58, $this->source); })()), "slug", [], "any", false, false, false, 58) == "reisefuehrer")) {
|
||||
// line 59
|
||||
echo " <div class=\"item-img\" style=\"height: 220px;\">
|
||||
";
|
||||
// line 60
|
||||
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["child_page"], "boxImageUrl", [], "any", false, false, false, 60))) {
|
||||
// line 61
|
||||
echo " ";
|
||||
$context["image_url"] = twig_get_attribute($this->env, $this->source, $context["child_page"], "boxImageUrl", [], "any", false, false, false, 61);
|
||||
// line 62
|
||||
echo " ";
|
||||
$context["image_alt"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child_page"], "travelProgram", [], "any", false, true, false, 62), "title", [], "any", true, true, false, 62)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child_page"], "travelProgram", [], "any", false, true, false, 62), "title", [], "any", false, false, false, 62), twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 62, $this->source); })()), "title", [], "any", false, false, false, 62))) : (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 62, $this->source); })()), "title", [], "any", false, false, false, 62)));
|
||||
// line 63
|
||||
echo " ";
|
||||
} else {
|
||||
// line 64
|
||||
echo " ";
|
||||
$context["image_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/app/images/no-picture.png");
|
||||
// line 65
|
||||
echo " ";
|
||||
$context["image_alt"] = "Kein Vorschaubild vorhanden";
|
||||
// line 66
|
||||
echo " ";
|
||||
}
|
||||
// line 67
|
||||
echo " <div class=\"img-background lozad\" data-background-image=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image(twig_trim_filter((isset($context["image_url"]) || array_key_exists("image_url", $context) ? $context["image_url"] : (function () { throw new RuntimeError('Variable "image_url" does not exist.', 67, $this->source); })()), "/")), "cropResize", [0 => 960], "method", false, false, false, 67), "guess", [0 => 90], "method", false, false, false, 67), "html", null, true);
|
||||
echo "\" style=\"background-image:url(";
|
||||
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/placeholder-image.png"), "html", null, true);
|
||||
echo "); height: 220px;\"></div>
|
||||
<noscript>
|
||||
<img width=\"234\" height=\"180\" src=\"";
|
||||
// line 69
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Gregwar\ImageBundle\Extensions\ImageTwig']->image(twig_trim_filter((isset($context["image_url"]) || array_key_exists("image_url", $context) ? $context["image_url"] : (function () { throw new RuntimeError('Variable "image_url" does not exist.', 69, $this->source); })()), "/")), "cropResize", [0 => 960], "method", false, false, false, 69), "guess", [0 => 90], "method", false, false, false, 69), "html", null, true);
|
||||
echo "\" class=\"img-responsiv img-responsiv-item\" style=\"\">
|
||||
</noscript>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 73
|
||||
echo " <div class=\"box_mid\">
|
||||
<div class=\"hl5\">";
|
||||
// line 74
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "title", [], "any", false, false, false, 74), "html", null, true);
|
||||
echo "</div>
|
||||
<p>";
|
||||
// line 75
|
||||
echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, $context["child_page"], "boxBody", [], "any", true, true, false, 75) && !(null === twig_get_attribute($this->env, $this->source, $context["child_page"], "boxBody", [], "any", false, false, false, 75)))) ? (twig_get_attribute($this->env, $this->source, $context["child_page"], "boxBody", [], "any", false, false, false, 75)) : (twig_get_attribute($this->env, $this->source, $context["child_page"], "description", [], "any", false, false, false, 75))), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
<a class=\"item-button is-box-link dobble_line\" href=\"";
|
||||
// line 77
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "urlPath", [], "any", false, false, false, 77), "html", null, true);
|
||||
echo "\" title=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "title", [], "any", false, false, false, 77), "html", null, true);
|
||||
echo "\">
|
||||
<span>";
|
||||
// line 78
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "title", [], "any", false, false, false, 78), "html", null, true);
|
||||
echo "</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 84
|
||||
echo " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child_page'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 85
|
||||
echo " </div>
|
||||
</section>
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "default/pages/cms/travelGuide.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 215 => 85, 209 => 84, 200 => 78, 194 => 77, 189 => 75, 185 => 74, 182 => 73, 175 => 69, 167 => 67, 164 => 66, 161 => 65, 158 => 64, 155 => 63, 152 => 62, 149 => 61, 147 => 60, 144 => 59, 142 => 58, 137 => 55, 134 => 54, 130 => 53, 125 => 51, 122 => 50, 120 => 49, 116 => 47, 110 => 45, 88 => 26, 82 => 23, 63 => 6, 61 => 5, 58 => 4, 51 => 3, 35 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("{% extends get_base_template() %}
|
||||
|
||||
{% block body %}
|
||||
<section class=\"clearfix\">
|
||||
{% if(page.travelGuideContentId) %}
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
<li class=\"active\">
|
||||
<a href=\"#travel_guide_long_content\" aria-controls=\"travel_guide_long_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href=\"#travel_guide_short_content\" aria-controls=\"travel_guide_short_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class=\"tab-content\">
|
||||
<div role=\"tabpanel\" class=\"tab-pane active\" id=\"travel_guide_short_content\">
|
||||
{{ page.content|raw|keywords|lozad }}
|
||||
</div>
|
||||
<div role=\"tabpanel\" class=\"tab-pane\" id=\"travel_guide_long_content\">
|
||||
{{ travel_guide_content.fullText|raw|keywords|lozad }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
<li class=\"active\">
|
||||
<a href=\"#travel_guide_long_content\" aria-controls=\"travel_guide_long_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href=\"#travel_guide_short_content\" aria-controls=\"travel_guide_short_content\" role=\"tab\" data-toggle=\"tab\">
|
||||
Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ page.content|raw|keywords|lozad }}
|
||||
{% endif %}
|
||||
</section>
|
||||
<hr>
|
||||
{% if( page.children is not empty) %}
|
||||
<section class=\"clearfix\">
|
||||
<h2>{{ page.title }}</h2>
|
||||
<div class=\"row\">
|
||||
{% for child_page in page.children %}
|
||||
{% if(child_page.status) %}
|
||||
<div class=\"col-md-4 col-sm-6\">
|
||||
<div class=\"travel-wrapper get-box-link\">
|
||||
<div class=\"item text-left\">
|
||||
{% if(page.slug == 'reisefuehrer' ) %}
|
||||
<div class=\"item-img\" style=\"height: 220px;\">
|
||||
{% if child_page.boxImageUrl is not empty %}
|
||||
{% set image_url = child_page.boxImageUrl %}
|
||||
{% set image_alt = child_page.travelProgram.title|default(page.title) %}
|
||||
{% else %}
|
||||
{% set image_url = asset('/bundles/app/images/no-picture.png')%}
|
||||
{% set image_alt = 'Kein Vorschaubild vorhanden' %}
|
||||
{% endif %}
|
||||
<div class=\"img-background lozad\" data-background-image=\"{{ image(image_url|trim('/')).cropResize(960).guess(90) }}\" style=\"background-image:url({{ asset('images/placeholder-image.png') }}); height: 220px;\"></div>
|
||||
<noscript>
|
||||
<img width=\"234\" height=\"180\" src=\"{{ image(image_url|trim('/')).cropResize(960).guess(90) }}\" class=\"img-responsiv img-responsiv-item\" style=\"\">
|
||||
</noscript>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class=\"box_mid\">
|
||||
<div class=\"hl5\">{{ child_page.title }}</div>
|
||||
<p>{{ child_page.boxBody ?? child_page.description }}</p>
|
||||
</div>
|
||||
<a class=\"item-button is-box-link dobble_line\" href=\"{{ child_page.urlPath }}\" title=\"{{ child_page.title }}\">
|
||||
<span>{{ child_page.title }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock %}", "default/pages/cms/travelGuide.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/pages/cms/travelGuide.html.twig");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue