<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* @frontend/public/ideas/ideas_teacher.html.twig */
class __TwigTemplate_a10e8b02a6c1a24ace075acdff9b710b extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@frontend/base_layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@frontend/public/ideas/ideas_teacher.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@frontend/public/ideas/ideas_teacher.html.twig"));
$this->parent = $this->loadTemplate("@frontend/base_layout.html.twig", "@frontend/public/ideas/ideas_teacher.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
yield "
<div class=\"container\">
<div class=\"col-md-12\">
<h1>";
// line 6
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["heading"]) || array_key_exists("heading", $context) ? $context["heading"] : (function () { throw new RuntimeError('Variable "heading" does not exist.', 6, $this->source); })()), "html", null, true);
yield "</h1>
</div>
<div class=\"col-md-12\">
<p>
Sie beschäftigen sich als Lehrperson mit Berufsorientierung und möchten wissen, wie man mit berufsreise.at den Unterricht gestalten kann?
Als mögliche Unterstützung haben wir Unterrichtsideen zusammengestellt, die auch im Distance Learning umgesetzt werden können. Weiters
finden Sie Informationen zur Gestaltung und Durchführung von Realbegegnungen wie zum Beispiel Betriebserkundungen. Kennen Sie das Gütesiegel
“BO-Plus”, das für Tiroler Schulen mit ausgezeichnetem Berufsorientierungsunterricht vergeben wird? In diesem Themenbereich finden alle weiteren
Informationen dazu.
</p>
</div>
<div class=\"col-md-12\">
";
// line 18
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["entities"]) || array_key_exists("entities", $context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.', 18, $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["entity"]) {
// line 19
yield " ";
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["entity"], "link", [], "any", false, false, false, 19))) {
// line 20
yield " ";
$context["path"] = CoreExtension::getAttribute($this->env, $this->source, $context["entity"], "link", [], "any", false, false, false, 20);
// line 21
yield " ";
} else {
// line 22
yield " ";
$context["path"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["categoryRoute"]) || array_key_exists("categoryRoute", $context) ? $context["categoryRoute"] : (function () { throw new RuntimeError('Variable "categoryRoute" does not exist.', 22, $this->source); })()), ["category" => CoreExtension::getAttribute($this->env, $this->source, $context["entity"], "urlText", [], "any", false, false, false, 22)]);
// line 23
yield " ";
}
// line 24
yield " ";
$context["imgUrl"] = $this->extensions['App\Twig\MediaExtensions']->getMediaPublicUrl(CoreExtension::getAttribute($this->env, $this->source, $context["entity"], "categoryPicture", [], "any", false, false, false, 24), "reference");
// line 25
yield " ";
yield from $this->loadTemplate("@frontend/templates/black_box_template.html.twig", "@frontend/public/ideas/ideas_teacher.html.twig", 25)->unwrap()->yield(CoreExtension::merge($context, ["target" => CoreExtension::getAttribute($this->env, $this->source, // line 26
$context["entity"], "targetText", [], "any", false, false, false, 26), "path" => // line 27
(isset($context["path"]) || array_key_exists("path", $context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.', 27, $this->source); })()), "bootstrapClass" => "col-xs-6 col-md-4", "colorClass" => CoreExtension::getAttribute($this->env, $this->source, // line 29
$context["entity"], "headingColor", [], "any", false, false, false, 29), "title" => CoreExtension::getAttribute($this->env, $this->source, // line 30
$context["entity"], "heading", [], "any", false, false, false, 30), "subtitle" => CoreExtension::getAttribute($this->env, $this->source, // line 31
$context["entity"], "description", [], "any", false, false, false, 31), "src" => // line 32
(isset($context["imgUrl"]) || array_key_exists("imgUrl", $context) ? $context["imgUrl"] : (function () { throw new RuntimeError('Variable "imgUrl" does not exist.', 32, $this->source); })())]));
// line 33
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
yield " </div>
";
// line 35
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities", $context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.', 35, $this->source); })())) < 1)) {
// line 36
yield " <div class=\"col-md-12\" style=\"min-height: 370px;\">
<p style=\"margin-top: 40px;\">Aktuell sind noch keine Einträge vorhanden</p>
</div>
";
}
// line 40
yield " </div>
<div class=\"footer-spacer\"></div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@frontend/public/ideas/ideas_teacher.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 164 => 40, 158 => 36, 156 => 35, 153 => 34, 139 => 33, 137 => 32, 136 => 31, 135 => 30, 134 => 29, 133 => 27, 132 => 26, 130 => 25, 127 => 24, 124 => 23, 121 => 22, 118 => 21, 115 => 20, 112 => 19, 95 => 18, 80 => 6, 63 => 3, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"@frontend/base_layout.html.twig\" %}
{% block content %}
<div class=\"container\">
<div class=\"col-md-12\">
<h1>{{ heading }}</h1>
</div>
<div class=\"col-md-12\">
<p>
Sie beschäftigen sich als Lehrperson mit Berufsorientierung und möchten wissen, wie man mit berufsreise.at den Unterricht gestalten kann?
Als mögliche Unterstützung haben wir Unterrichtsideen zusammengestellt, die auch im Distance Learning umgesetzt werden können. Weiters
finden Sie Informationen zur Gestaltung und Durchführung von Realbegegnungen wie zum Beispiel Betriebserkundungen. Kennen Sie das Gütesiegel
“BO-Plus”, das für Tiroler Schulen mit ausgezeichnetem Berufsorientierungsunterricht vergeben wird? In diesem Themenbereich finden alle weiteren
Informationen dazu.
</p>
</div>
<div class=\"col-md-12\">
{% for entity in entities %}
{% if entity.link is not empty %}
{% set path=entity.link %}
{% else %}
{% set path=path(categoryRoute, {'category':entity.urlText}) %}
{% endif %}
{% set imgUrl = media_public_url(entity.categoryPicture, 'reference') %}
{% include '@frontend/templates/black_box_template.html.twig' with {
'target': entity.targetText,
'path': path,
'bootstrapClass':'col-xs-6 col-md-4',
'colorClass': entity.headingColor,
'title': entity.heading,
'subtitle': entity.description,
'src': imgUrl } %}
{% endfor %}
</div>
{% if entities|length < 1 %}
<div class=\"col-md-12\" style=\"min-height: 370px;\">
<p style=\"margin-top: 40px;\">Aktuell sind noch keine Einträge vorhanden</p>
</div>
{% endif %}
</div>
<div class=\"footer-spacer\"></div>
{% endblock %}
", "@frontend/public/ideas/ideas_teacher.html.twig", "/data/web/berufsreise/home/site/web/templates/frontend/public/ideas/ideas_teacher.html.twig");
}
}