init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
528
var/cache/dev/twig/88/883f928d1cb8704cc1515fe21b7709ca57b297f5bb70e17d63cd06d5b6bffa0a.php
vendored
Normal file
528
var/cache/dev/twig/88/883f928d1cb8704cc1515fe21b7709ca57b297f5bb70e17d63cd06d5b6bffa0a.php
vendored
Normal file
|
|
@ -0,0 +1,528 @@
|
|||
<?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/iqTravelGuide.html.twig */
|
||||
class __TwigTemplate_d5014358b667789bc0ac0de6699df5e895fad67f33d3aebc20777032a42f6447 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/iqTravelGuide.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/iqTravelGuide.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
|
||||
$context["site_has_h1"] = false;
|
||||
// line 6
|
||||
echo " ";
|
||||
if ((isset($context["api"]) || array_key_exists("api", $context))) {
|
||||
// line 7
|
||||
echo " ";
|
||||
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["api"]) || array_key_exists("api", $context) ? $context["api"] : (function () { throw new RuntimeError('Variable "api" does not exist.', 7, $this->source); })()), "sites", [], "any", false, false, false, 7)) > 1)) {
|
||||
// line 8
|
||||
echo " <div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
";
|
||||
// line 10
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["api"]) || array_key_exists("api", $context) ? $context["api"] : (function () { throw new RuntimeError('Variable "api" does not exist.', 10, $this->source); })()), "sites", [], "any", false, false, false, 10));
|
||||
$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["site"]) {
|
||||
// line 11
|
||||
echo " <li class=\"";
|
||||
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 11) == 1)) {
|
||||
echo " active ";
|
||||
}
|
||||
echo "\">
|
||||
<a href=\"#travel_guide_content_";
|
||||
// line 12
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "id", [], "any", false, false, false, 12), "html", null, true);
|
||||
echo "\" aria-controls=\"travel_guide_content_";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "id", [], "any", false, false, false, 12), "html", null, true);
|
||||
echo "\" role=\"tab\" data-toggle=\"tab\">
|
||||
";
|
||||
// line 13
|
||||
if ((twig_get_attribute($this->env, $this->source, $context["site"], "scope", [], "any", false, false, false, 13) == 0)) {
|
||||
// line 14
|
||||
echo " Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
";
|
||||
} else {
|
||||
// line 16
|
||||
echo " Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
";
|
||||
}
|
||||
// line 18
|
||||
echo " </a>
|
||||
</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['site'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 21
|
||||
echo " </ul>
|
||||
</div>
|
||||
<div class=\"tab-content\">
|
||||
";
|
||||
// line 24
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["api"]) || array_key_exists("api", $context) ? $context["api"] : (function () { throw new RuntimeError('Variable "api" does not exist.', 24, $this->source); })()), "sites", [], "any", false, false, false, 24));
|
||||
$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["site"]) {
|
||||
// line 25
|
||||
echo " <div role=\"tabpanel\" class=\"tab-pane ";
|
||||
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 25) == 1)) {
|
||||
echo " active ";
|
||||
}
|
||||
echo "\" id=\"travel_guide_content_";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "id", [], "any", false, false, false, 25), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 26
|
||||
if ((isset($context["site_has_h1"]) || array_key_exists("site_has_h1", $context) ? $context["site_has_h1"] : (function () { throw new RuntimeError('Variable "site_has_h1" does not exist.', 26, $this->source); })())) {
|
||||
// line 27
|
||||
echo " <h2 class=\"h1l\">";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "name", [], "any", false, false, false, 27), "html", null, true);
|
||||
echo "</h2>
|
||||
";
|
||||
} else {
|
||||
// line 29
|
||||
echo " <h1>";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "name", [], "any", false, false, false, 29), "html", null, true);
|
||||
echo "</h1>
|
||||
";
|
||||
// line 30
|
||||
$context["site_has_h1"] = true;
|
||||
// line 31
|
||||
echo " ";
|
||||
}
|
||||
// line 32
|
||||
echo " ";
|
||||
echo $this->extensions['AppBundle\Twig\AppExtension']->lozadFilter($this->extensions['AppBundle\Twig\AppExtension']->keywordsFilter(twig_get_attribute($this->env, $this->source, $context["site"], "full_text", [], "any", false, false, false, 32)));
|
||||
echo "
|
||||
</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['site'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 35
|
||||
echo " </div>
|
||||
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
";
|
||||
// line 39
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["api"]) || array_key_exists("api", $context) ? $context["api"] : (function () { throw new RuntimeError('Variable "api" does not exist.', 39, $this->source); })()), "sites", [], "any", false, false, false, 39));
|
||||
$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["site"]) {
|
||||
// line 40
|
||||
echo " <li class=\"";
|
||||
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 40) == 1)) {
|
||||
echo " active ";
|
||||
}
|
||||
echo "\">
|
||||
<a href=\"#travel_guide_content_";
|
||||
// line 41
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "id", [], "any", false, false, false, 41), "html", null, true);
|
||||
echo "\" aria-controls=\"travel_guide_content_";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "id", [], "any", false, false, false, 41), "html", null, true);
|
||||
echo "\" role=\"tab\" data-toggle=\"tab\">
|
||||
";
|
||||
// line 42
|
||||
if ((twig_get_attribute($this->env, $this->source, $context["site"], "scope", [], "any", false, false, false, 42) == 0)) {
|
||||
// line 43
|
||||
echo " Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
";
|
||||
} else {
|
||||
// line 45
|
||||
echo " Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
";
|
||||
}
|
||||
// line 47
|
||||
echo " </a>
|
||||
</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['site'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 50
|
||||
echo " </ul>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 53
|
||||
echo " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["api"]) || array_key_exists("api", $context) ? $context["api"] : (function () { throw new RuntimeError('Variable "api" does not exist.', 53, $this->source); })()), "sites", [], "any", false, false, false, 53));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["site"]) {
|
||||
// line 54
|
||||
echo " ";
|
||||
if ((isset($context["site_has_h1"]) || array_key_exists("site_has_h1", $context) ? $context["site_has_h1"] : (function () { throw new RuntimeError('Variable "site_has_h1" does not exist.', 54, $this->source); })())) {
|
||||
// line 55
|
||||
echo " <h2 class=\"h1l\">";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "name", [], "any", false, false, false, 55), "html", null, true);
|
||||
echo "</h2>
|
||||
";
|
||||
} else {
|
||||
// line 57
|
||||
echo " <h1>";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["site"], "name", [], "any", false, false, false, 57), "html", null, true);
|
||||
echo "</h1>
|
||||
";
|
||||
// line 58
|
||||
$context["site_has_h1"] = true;
|
||||
// line 59
|
||||
echo " ";
|
||||
}
|
||||
// line 60
|
||||
echo " ";
|
||||
echo $this->extensions['AppBundle\Twig\AppExtension']->lozadFilter($this->extensions['AppBundle\Twig\AppExtension']->keywordsFilter(twig_get_attribute($this->env, $this->source, $context["site"], "full_text", [], "any", false, false, false, 60)));
|
||||
echo "
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['site'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 62
|
||||
echo " ";
|
||||
}
|
||||
// line 63
|
||||
echo " ";
|
||||
}
|
||||
// line 64
|
||||
echo " </section>
|
||||
<hr>
|
||||
";
|
||||
// line 66
|
||||
if ((((isset($context["api"]) || array_key_exists("api", $context)) && twig_get_attribute($this->env, $this->source, ($context["api"] ?? null), "children", [], "any", true, true, false, 66)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["api"]) || array_key_exists("api", $context) ? $context["api"] : (function () { throw new RuntimeError('Variable "api" does not exist.', 66, $this->source); })()), "children", [], "any", false, false, false, 66)))) {
|
||||
// line 67
|
||||
echo " <section class=\"clearfix\">
|
||||
<div class=\"row\">
|
||||
";
|
||||
// line 69
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["api"]) || array_key_exists("api", $context) ? $context["api"] : (function () { throw new RuntimeError('Variable "api" does not exist.', 69, $this->source); })()), "children", [], "any", false, false, false, 69));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["child_page"]) {
|
||||
// line 70
|
||||
echo " ";
|
||||
if (twig_get_attribute($this->env, $this->source, $context["child_page"], "active", [], "any", false, false, false, 70)) {
|
||||
// line 71
|
||||
echo " <div class=\"col-md-4 col-sm-6\">
|
||||
<div class=\"travel-wrapper get-box-link\">
|
||||
<div class=\"item text-left\">
|
||||
";
|
||||
// line 74
|
||||
if (((false && twig_get_attribute($this->env, $this->source, $context["child_page"], "box_image_url", [], "any", true, true, false, 74)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["child_page"], "box_image_url", [], "any", false, false, false, 74)))) {
|
||||
// line 75
|
||||
echo " <div class=\"item-img\" style=\"height: 220px;\">
|
||||
";
|
||||
// line 76
|
||||
if ((twig_get_attribute($this->env, $this->source, $context["child_page"], "box_image_url", [], "any", true, true, false, 76) && !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["child_page"], "box_image_url", [], "any", false, false, false, 76)))) {
|
||||
// line 77
|
||||
echo " ";
|
||||
$context["image_url"] = twig_get_attribute($this->env, $this->source, $context["child_page"], "box_image_url", [], "any", false, false, false, 77);
|
||||
// line 78
|
||||
echo " ";
|
||||
$context["image_alt"] = twig_get_attribute($this->env, $this->source, $context["child_page"], "name", [], "any", false, false, false, 78);
|
||||
// line 79
|
||||
echo " ";
|
||||
} else {
|
||||
// line 80
|
||||
echo " ";
|
||||
$context["image_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/app/images/no-picture.png");
|
||||
// line 81
|
||||
echo " ";
|
||||
$context["image_alt"] = "Kein Vorschaubild vorhanden";
|
||||
// line 82
|
||||
echo " ";
|
||||
}
|
||||
// line 83
|
||||
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.', 83, $this->source); })()), "/")), "cropResize", [0 => 960], "method", false, false, false, 83), "guess", [0 => 90], "method", false, false, false, 83), "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 85
|
||||
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.', 85, $this->source); })()), "/")), "cropResize", [0 => 960], "method", false, false, false, 85), "guess", [0 => 90], "method", false, false, false, 85), "html", null, true);
|
||||
echo "\" class=\"img-responsiv img-responsiv-item\" style=\"\">
|
||||
</noscript>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 89
|
||||
echo " <div class=\"box_mid\">
|
||||
<div class=\"hl5\">";
|
||||
// line 90
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "name", [], "any", false, false, false, 90), "html", null, true);
|
||||
echo "</div>
|
||||
<p>";
|
||||
// line 91
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "description", [], "any", false, false, false, 91), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
<a class=\"item-button is-box-link dobble_line\" href=\"";
|
||||
// line 93
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "url", [], "any", false, false, false, 93), "html", null, true);
|
||||
echo "\" title=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "name", [], "any", false, false, false, 93), "html", null, true);
|
||||
echo "\">
|
||||
<span>";
|
||||
// line 94
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child_page"], "name", [], "any", false, false, false, 94), "html", null, true);
|
||||
echo "</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 100
|
||||
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 101
|
||||
echo " </div>
|
||||
</section>
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "default/pages/cms/iqTravelGuide.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 397 => 101, 391 => 100, 382 => 94, 376 => 93, 371 => 91, 367 => 90, 364 => 89, 357 => 85, 349 => 83, 346 => 82, 343 => 81, 340 => 80, 337 => 79, 334 => 78, 331 => 77, 329 => 76, 326 => 75, 324 => 74, 319 => 71, 316 => 70, 312 => 69, 308 => 67, 306 => 66, 302 => 64, 299 => 63, 296 => 62, 287 => 60, 284 => 59, 282 => 58, 277 => 57, 271 => 55, 268 => 54, 263 => 53, 258 => 50, 242 => 47, 238 => 45, 234 => 43, 232 => 42, 226 => 41, 219 => 40, 202 => 39, 196 => 35, 178 => 32, 175 => 31, 173 => 30, 168 => 29, 162 => 27, 160 => 26, 151 => 25, 134 => 24, 129 => 21, 113 => 18, 109 => 16, 105 => 14, 103 => 13, 97 => 12, 90 => 11, 73 => 10, 69 => 8, 66 => 7, 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\">
|
||||
{% set site_has_h1 = false %}
|
||||
{% if(api is defined) %}
|
||||
{% if api.sites|length > 1 %}
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
{% for site in api.sites %}
|
||||
<li class=\"{% if loop.index==1 %} active {% endif %}\">
|
||||
<a href=\"#travel_guide_content_{{ site.id }}\" aria-controls=\"travel_guide_content_{{ site.id }}\" role=\"tab\" data-toggle=\"tab\">
|
||||
{% if(site.scope == 0) %}
|
||||
Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
{% else %}
|
||||
Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class=\"tab-content\">
|
||||
{% for site in api.sites %}
|
||||
<div role=\"tabpanel\" class=\"tab-pane {% if loop.index==1 %} active {% endif %}\" id=\"travel_guide_content_{{ site.id }}\">
|
||||
{% if(site_has_h1) %}
|
||||
<h2 class=\"h1l\">{{ site.name }}</h2>
|
||||
{% else %}
|
||||
<h1>{{ site.name }}</h1>
|
||||
{% set site_has_h1 = true %}
|
||||
{% endif %}
|
||||
{{ site.full_text|raw|keywords|lozad }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class=\"wrapper-nav-tabs\">
|
||||
<ul class=\"nav nav-tabs nav-justified list-nav-tabs\">
|
||||
{% for site in api.sites %}
|
||||
<li class=\"{% if loop.index==1 %} active {% endif %}\">
|
||||
<a href=\"#travel_guide_content_{{ site.id }}\" aria-controls=\"travel_guide_content_{{ site.id }}\" role=\"tab\" data-toggle=\"tab\">
|
||||
{% if(site.scope == 0) %}
|
||||
Zusammenfassung <i class=\"hidden-xs\">für eilige Leser</i>
|
||||
{% else %}
|
||||
Ausführliche Darstellung <i class=\"hidden-xs\">für Interessierte</i>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% else %}
|
||||
{% for site in api.sites %}
|
||||
{% if(site_has_h1) %}
|
||||
<h2 class=\"h1l\">{{ site.name }}</h2>
|
||||
{% else %}
|
||||
<h1>{{ site.name }}</h1>
|
||||
{% set site_has_h1 = true %}
|
||||
{% endif %}
|
||||
{{ site.full_text|raw|keywords|lozad }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</section>
|
||||
<hr>
|
||||
{% if(api is defined and api.children is defined and api.children is not empty) %}
|
||||
<section class=\"clearfix\">
|
||||
<div class=\"row\">
|
||||
{% for child_page in api.children %}
|
||||
{% if(child_page.active) %}
|
||||
<div class=\"col-md-4 col-sm-6\">
|
||||
<div class=\"travel-wrapper get-box-link\">
|
||||
<div class=\"item text-left\">
|
||||
{% if(false and child_page.box_image_url is defined and child_page.box_image_url is not empty) %}
|
||||
<div class=\"item-img\" style=\"height: 220px;\">
|
||||
{% if child_page.box_image_url is defined and child_page.box_image_url is not empty %}
|
||||
{% set image_url = child_page.box_image_url %}
|
||||
{% set image_alt = child_page.name %}
|
||||
{% 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.name }}</div>
|
||||
<p>{{ child_page.description }}</p>
|
||||
</div>
|
||||
<a class=\"item-button is-box-link dobble_line\" href=\"{{ child_page.url }}\" title=\"{{ child_page.name }}\">
|
||||
<span>{{ child_page.name }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock %}", "default/pages/cms/iqTravelGuide.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/pages/cms/iqTravelGuide.html.twig");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue