<?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;
/* @originales/content_fields.html.twig */
class __TwigTemplate_67eab17c5b2bed8d389b904b3258a039ab5965eb64026ef4b9aeaf303cb1886b extends \eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'ezstring_field' => [$this, 'block_ezstring_field'],
'ezimage_field' => [$this, 'block_ezimage_field'],
'ezobjectrelation_field' => [$this, 'block_ezobjectrelation_field'],
'ezurl_field' => [$this, 'block_ezurl_field'],
'ezdatetime_field' => [$this, 'block_ezdatetime_field'],
'ezdate_field' => [$this, 'block_ezdate_field'],
'eztext_field' => [$this, 'block_eztext_field'],
'ezboolean_field' => [$this, 'block_ezboolean_field'],
'ezinteger_field' => [$this, 'block_ezinteger_field'],
'ezfloat_field' => [$this, 'block_ezfloat_field'],
'ezkeyword_field' => [$this, 'block_ezkeyword_field'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "EzPublishCoreBundle::content_fields.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@originales/content_fields.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@originales/content_fields.html.twig"));
$this->parent = $this->loadTemplate("EzPublishCoreBundle::content_fields.html.twig", "@originales/content_fields.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_ezstring_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezstring_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezstring_field"));
// line 4
echo " ";
ob_start();
// line 5
echo " ";
$context["field_value"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 5, $this->source); })()), "value", [], "any", false, false, false, 5), "text", [], "any", false, false, false, 5);
// line 6
echo " ";
echo twig_escape_filter($this->env, (isset($context["field_value"]) || array_key_exists("field_value", $context) ? $context["field_value"] : (function () { throw new RuntimeError('Variable "field_value" does not exist.', 6, $this->source); })()), "html", null, true);
echo "
";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
public function block_ezimage_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezimage_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezimage_field"));
// line 11
echo " ";
ob_start();
// line 12
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 12, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 12, $this->source); })()))) {
// line 13
echo " ";
$context["image_alt"] = ((twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "alt", [], "any", true, true, false, 13)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "alt", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 13, $this->source); })()), "value", [], "any", false, false, false, 13), "alternativeText", [], "any", false, false, false, 13))) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 13, $this->source); })()), "value", [], "any", false, false, false, 13), "alternativeText", [], "any", false, false, false, 13)));
// line 14
echo " ";
$context["image_alias"] = $this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ImageExtension']->getImageVariation((isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 14, $this->source); })()), (isset($context["versionInfo"]) || array_key_exists("versionInfo", $context) ? $context["versionInfo"] : (function () { throw new RuntimeError('Variable "versionInfo" does not exist.', 14, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "alias", [], "any", true, true, false, 14)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "alias", [], "any", false, false, false, 14), "original")) : ("original")));
// line 15
echo " ";
if ((isset($context["image_alias"]) || array_key_exists("image_alias", $context) ? $context["image_alias"] : (function () { throw new RuntimeError('Variable "image_alias" does not exist.', 15, $this->source); })())) {
// line 16
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "lazy", [], "any", true, true, false, 16)) {
// line 17
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, (isset($context["image_alias"]) || array_key_exists("image_alias", $context) ? $context["image_alias"] : (function () { throw new RuntimeError('Variable "image_alias" does not exist.', 17, $this->source); })()), "uri", [], "any", false, false, false, 17)), "html", null, true);
echo "
";
} else {
// line 19
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, (isset($context["image_alias"]) || array_key_exists("image_alias", $context) ? $context["image_alias"] : (function () { throw new RuntimeError('Variable "image_alias" does not exist.', 19, $this->source); })()), "uri", [], "any", false, false, false, 19)), "html", null, true);
echo "\"";
if (twig_get_attribute($this->env, $this->source, ($context["imageAlias"] ?? null), "width", [], "any", true, true, false, 19)) {
echo " width=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["image_alias"]) || array_key_exists("image_alias", $context) ? $context["image_alias"] : (function () { throw new RuntimeError('Variable "image_alias" does not exist.', 19, $this->source); })()), "width", [], "any", false, false, false, 19), "html", null, true);
echo "\"";
}
if (twig_get_attribute($this->env, $this->source, ($context["imageAlias"] ?? null), "height", [], "any", true, true, false, 19)) {
echo " height=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["image_alias"]) || array_key_exists("image_alias", $context) ? $context["image_alias"] : (function () { throw new RuntimeError('Variable "image_alias" does not exist.', 19, $this->source); })()), "height", [], "any", false, false, false, 19), "html", null, true);
echo "\"";
}
if ( !twig_test_empty((isset($context["image_alt"]) || array_key_exists("image_alt", $context) ? $context["image_alt"] : (function () { throw new RuntimeError('Variable "image_alt" does not exist.', 19, $this->source); })()))) {
echo " alt=\"";
echo twig_escape_filter($this->env, (isset($context["image_alt"]) || array_key_exists("image_alt", $context) ? $context["image_alt"] : (function () { throw new RuntimeError('Variable "image_alt" does not exist.', 19, $this->source); })()), "html", null, true);
echo "\"";
}
if ((twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "class", [], "any", true, true, false, 19) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 19, $this->source); })()), "class", [], "any", false, false, false, 19)))) {
echo " class=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 19, $this->source); })()), "class", [], "any", false, false, false, 19), "html", null, true);
echo "\"";
}
echo " />
";
}
// line 21
echo " ";
}
// line 22
echo " ";
}
// line 23
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 26
public function block_ezobjectrelation_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezobjectrelation_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezobjectrelation_field"));
// line 27
echo " ";
ob_start();
// line 28
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 28, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 28, $this->source); })()))) {
// line 29
echo " ";
if ((isset($context["name"]) || array_key_exists("name", $context))) {
// line 30
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ez_urlalias", ["contentId" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 30, $this->source); })()), "value", [], "any", false, false, false, 30), "destinationContentId", [], "any", false, false, false, 30)]), "html", null, true);
echo "\" class=\"cta ";
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 30, $this->source); })()), "html", null, true);
echo "\">
<span class=\"e-arrow-link\">
";
// line 32
echo twig_include($this->env, $context, "icons/link-arrow.svg.twig");
echo "
<span>";
// line 33
echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 33, $this->source); })()), "html", null, true);
echo "</span>
</span>
</a>
";
} else {
// line 37
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ez_urlalias", ["contentId" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 37, $this->source); })()), "value", [], "any", false, false, false, 37), "destinationContentId", [], "any", false, false, false, 37)]), "html", null, true);
echo "\" class=\"cta ";
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 37, $this->source); })()), "html", null, true);
echo "\">
<span class=\"e-arrow-link\">
";
// line 39
echo twig_include($this->env, $context, "icons/link-arrow.svg.twig");
echo "
<span>Saber más</span>
</span>
</a>
";
}
// line 44
echo " ";
}
// line 45
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 48
public function block_ezurl_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezurl_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezurl_field"));
// line 49
echo " ";
ob_start();
// line 50
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 50, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 50, $this->source); })()))) {
// line 51
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 51, $this->source); })()), "value", [], "any", false, false, false, 51), "link", [], "any", false, false, false, 51), "html", null, true);
echo "\" class=\"cta ";
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 51, $this->source); })()), "html", null, true);
echo "\" rel=\"follow\">
<span class=\"e-arrow-link\">
";
// line 53
echo twig_include($this->env, $context, "icons/link-arrow.svg.twig");
echo "
<span>";
// line 54
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 54, $this->source); })()), "value", [], "any", false, false, false, 54), "text", [], "any", false, false, false, 54)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 54, $this->source); })()), "value", [], "any", false, false, false, 54), "text", [], "any", false, false, false, 54)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 54, $this->source); })()), "value", [], "any", false, false, false, 54), "link", [], "any", false, false, false, 54))), "html", null, true);
echo "</span>
</span>
</a>
";
}
// line 58
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 61
public function block_ezdatetime_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezdatetime_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezdatetime_field"));
// line 62
echo " ";
ob_start();
// line 63
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 63, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 63, $this->source); })()))) {
// line 64
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["fieldSettings"]) || array_key_exists("fieldSettings", $context) ? $context["fieldSettings"] : (function () { throw new RuntimeError('Variable "fieldSettings" does not exist.', 64, $this->source); })()), "useSeconds", [], "any", false, false, false, 64)) {
// line 65
echo " ";
$context["field_value"] = twig_localized_date_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 65, $this->source); })()), "value", [], "any", false, false, false, 65), "value", [], "any", false, false, false, 65), "full", "none", twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 65, $this->source); })()), "locale", [], "any", false, false, false, 65));
// line 66
echo " ";
} else {
// line 67
echo " ";
$context["field_value"] = twig_localized_date_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 67, $this->source); })()), "value", [], "any", false, false, false, 67), "value", [], "any", false, false, false, 67), "full", "short", twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 67, $this->source); })()), "locale", [], "any", false, false, false, 67));
// line 68
echo " ";
}
// line 69
echo " ";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, (isset($context["field_value"]) || array_key_exists("field_value", $context) ? $context["field_value"] : (function () { throw new RuntimeError('Variable "field_value" does not exist.', 69, $this->source); })())), "html", null, true);
echo "
";
}
// line 71
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 74
public function block_ezdate_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezdate_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezdate_field"));
// line 75
echo " ";
ob_start();
// line 76
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 76, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 76, $this->source); })()))) {
// line 77
echo " ";
$context["field_value"] = twig_capitalize_string_filter($this->env, twig_localized_date_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 77, $this->source); })()), "value", [], "any", false, false, false, 77), "full", "none", twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 77, $this->source); })()), "locale", [], "any", false, false, false, 77)));
// line 78
echo " ";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, (isset($context["field_value"]) || array_key_exists("field_value", $context) ? $context["field_value"] : (function () { throw new RuntimeError('Variable "field_value" does not exist.', 78, $this->source); })())), "html", null, true);
echo "
";
}
// line 80
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 83
public function block_eztext_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "eztext_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "eztext_field"));
// line 84
echo " ";
ob_start();
// line 85
echo " ";
$context["field_value"] = twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 85, $this->source); })()), "value", [], "any", false, false, false, 85);
// line 86
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "raw", [], "any", true, true, false, 86)) {
// line 87
echo " ";
echo (isset($context["field_value"]) || array_key_exists("field_value", $context) ? $context["field_value"] : (function () { throw new RuntimeError('Variable "field_value" does not exist.', 87, $this->source); })());
echo "
";
} else {
// line 89
echo " ";
$context["field_value"] = nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 89, $this->source); })()), "value", [], "any", false, false, false, 89), "html", null, true));
// line 90
echo " ";
$this->displayBlock("simple_block_field", $context, $blocks);
echo "
";
}
// line 92
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 95
public function block_ezboolean_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezboolean_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezboolean_field"));
ob_start();
// line 96
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "robots", [], "any", true, true, false, 96) && (twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 96, $this->source); })()), "robots", [], "any", false, false, false, 96) == "index"))) {
// line 97
echo " ";
$context["field_value"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 97, $this->source); })()), "value", [], "any", false, false, false, 97), "bool", [], "any", false, false, false, 97)) ? ("index") : ("noindex"));
// line 98
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "robots", [], "any", true, true, false, 98) && (twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 98, $this->source); })()), "robots", [], "any", false, false, false, 98) == "follow"))) {
// line 99
echo " ";
$context["field_value"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 99, $this->source); })()), "value", [], "any", false, false, false, 99), "bool", [], "any", false, false, false, 99)) ? ("follow") : ("nofollow"));
// line 100
echo " ";
} else {
// line 101
echo " ";
$context["field_value"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 101, $this->source); })()), "value", [], "any", false, false, false, 101), "bool", [], "any", false, false, false, 101)) ? ("Yes") : ("No"));
// line 102
echo " ";
}
// line 103
echo " ";
echo twig_escape_filter($this->env, (isset($context["field_value"]) || array_key_exists("field_value", $context) ? $context["field_value"] : (function () { throw new RuntimeError('Variable "field_value" does not exist.', 103, $this->source); })()), "html", null, true);
echo "
";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 106
public function block_ezinteger_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezinteger_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezinteger_field"));
// line 107
echo " ";
ob_start();
// line 108
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 108, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 108, $this->source); })()))) {
// line 109
echo " ";
$context["field_value"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 109, $this->source); })()), "value", [], "any", false, false, false, 109), "value", [], "any", false, false, false, 109);
// line 110
echo " ";
echo twig_escape_filter($this->env, (isset($context["field_value"]) || array_key_exists("field_value", $context) ? $context["field_value"] : (function () { throw new RuntimeError('Variable "field_value" does not exist.', 110, $this->source); })()), "html", null, true);
echo "
";
}
// line 112
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 115
public function block_ezfloat_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezfloat_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezfloat_field"));
// line 116
echo " ";
ob_start();
// line 117
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 117, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 117, $this->source); })()))) {
// line 118
echo " ";
$context["field_value"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 118, $this->source); })()), "value", [], "any", false, false, false, 118), "value", [], "any", false, false, false, 118);
// line 119
echo " ";
echo twig_escape_filter($this->env, (isset($context["field_value"]) || array_key_exists("field_value", $context) ? $context["field_value"] : (function () { throw new RuntimeError('Variable "field_value" does not exist.', 119, $this->source); })()), "html", null, true);
echo "
";
}
// line 121
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 124
public function block_ezkeyword_field($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezkeyword_field"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ezkeyword_field"));
// line 125
echo " ";
ob_start();
// line 126
echo " ";
if ( !$this->extensions['eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\ContentExtension']->isFieldEmpty((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 126, $this->source); })()), (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 126, $this->source); })()))) {
// line 127
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["parameters"] ?? null), "schema", [], "any", true, true, false, 127)) {
// line 128
echo " \"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["parameters"]) || array_key_exists("parameters", $context) ? $context["parameters"] : (function () { throw new RuntimeError('Variable "parameters" does not exist.', 128, $this->source); })()), "schema", [], "any", false, false, false, 128), "html", null, true);
echo "\": [
";
// line 129
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 129, $this->source); })()), "value", [], "any", false, false, false, 129), "values", [], "any", false, false, false, 129));
$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["keyword"]) {
// line 130
echo " {
\"@type\": \"Person\",
\"name\": \"";
// line 132
echo twig_escape_filter($this->env, $context["keyword"], "html", null, true);
echo "\"
}";
// line 133
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 133)) {
echo ",";
}
// line 134
echo " ";
++$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['keyword'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 135
echo " ],
";
} else {
// line 137
echo " <ul ";
$this->displayBlock("field_attributes", $context, $blocks);
echo ">
";
// line 138
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 138, $this->source); })()), "value", [], "any", false, false, false, 138), "values", [], "any", false, false, false, 138));
foreach ($context['_seq'] as $context["_key"] => $context["keyword"]) {
// line 139
echo " <li>";
echo twig_escape_filter($this->env, $context["keyword"], "html", null, true);
echo "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['keyword'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 141
echo " </ul>
";
}
// line 143
echo " ";
}
// line 144
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@originales/content_fields.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 633 => 144, 630 => 143, 626 => 141, 617 => 139, 613 => 138, 608 => 137, 604 => 135, 590 => 134, 586 => 133, 582 => 132, 578 => 130, 561 => 129, 556 => 128, 553 => 127, 550 => 126, 547 => 125, 537 => 124, 526 => 121, 520 => 119, 517 => 118, 514 => 117, 511 => 116, 501 => 115, 490 => 112, 484 => 110, 481 => 109, 478 => 108, 475 => 107, 465 => 106, 451 => 103, 448 => 102, 445 => 101, 442 => 100, 439 => 99, 436 => 98, 433 => 97, 430 => 96, 419 => 95, 408 => 92, 402 => 90, 399 => 89, 393 => 87, 390 => 86, 387 => 85, 384 => 84, 374 => 83, 363 => 80, 357 => 78, 354 => 77, 351 => 76, 348 => 75, 338 => 74, 327 => 71, 321 => 69, 318 => 68, 315 => 67, 312 => 66, 309 => 65, 306 => 64, 303 => 63, 300 => 62, 290 => 61, 279 => 58, 272 => 54, 268 => 53, 260 => 51, 257 => 50, 254 => 49, 244 => 48, 233 => 45, 230 => 44, 222 => 39, 214 => 37, 207 => 33, 203 => 32, 195 => 30, 192 => 29, 189 => 28, 186 => 27, 176 => 26, 165 => 23, 162 => 22, 159 => 21, 132 => 19, 126 => 17, 123 => 16, 120 => 15, 117 => 14, 114 => 13, 111 => 12, 108 => 11, 98 => 10, 84 => 6, 81 => 5, 78 => 4, 68 => 3, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'EzPublishCoreBundle::content_fields.html.twig' %}
{% block ezstring_field %}
{% spaceless %}
{% set field_value = field.value.text %}
{{ field_value }}
{% endspaceless %}
{% endblock %}
{% block ezimage_field %}
{% spaceless %}
{% if not ez_is_field_empty(content, field) %}
{% set image_alt = parameters.alt|default(field.value.alternativeText) %}
{% set image_alias = ez_image_alias(field, versionInfo, parameters.alias|default('original')) %}
{% if image_alias %}
{% if parameters.lazy is defined %}
{{ asset(image_alias.uri) }}
{% else %}
<img src=\"{{ asset(image_alias.uri) }}\"{% if imageAlias.width is defined %} width=\"{{ image_alias.width }}\"{% endif %}{% if imageAlias.height is defined %} height=\"{{ image_alias.height }}\"{% endif %}{% if image_alt is not empty %} alt=\"{{ image_alt }}\"{% endif %}{% if parameters.class is defined and parameters.class is not empty %} class=\"{{ parameters.class }}\"{% endif %} />
{% endif %}
{% endif %}
{% endif %}
{% endspaceless %}
{% endblock %}
{% block ezobjectrelation_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{% if name is defined %}
<a href=\"{{ url('ez_urlalias', {contentId: field.value.destinationContentId}) }}\" class=\"cta {{ class }}\">
<span class=\"e-arrow-link\">
{{ include('icons/link-arrow.svg.twig') }}
<span>{{ name }}</span>
</span>
</a>
{% else %}
<a href=\"{{ url('ez_urlalias', {contentId: field.value.destinationContentId}) }}\" class=\"cta {{ class }}\">
<span class=\"e-arrow-link\">
{{ include('icons/link-arrow.svg.twig') }}
<span>Saber más</span>
</span>
</a>
{% endif %}
{% endif %}
{% endspaceless %}
{% endblock %}
{% block ezurl_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
<a href=\"{{ field.value.link }}\" class=\"cta {{ class }}\" rel=\"follow\">
<span class=\"e-arrow-link\">
{{ include('icons/link-arrow.svg.twig') }}
<span>{{ field.value.text ? field.value.text : field.value.link }}</span>
</span>
</a>
{% endif %}
{% endspaceless %}
{% endblock %}
{% block ezdatetime_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{% if fieldSettings.useSeconds %}
{% set field_value = field.value.value|localizeddate( 'full', 'none', parameters.locale ) %}
{% else %}
{% set field_value = field.value.value|localizeddate( 'full', 'short', parameters.locale ) %}
{% endif %}
{{ field_value|capitalize }}
{% endif %}
{% endspaceless %}
{% endblock %}
{% block ezdate_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{% set field_value = field.value|localizeddate( 'full', 'none', parameters.locale )|capitalize %}
{{ field_value|capitalize }}
{% endif %}
{% endspaceless %}
{% endblock %}
{% block eztext_field %}
{% spaceless %}
{% set field_value = field.value %}
{% if parameters.raw is defined %}
{{ field_value|raw }}
{% else %}
{% set field_value = field.value|nl2br %}
{{ block( 'simple_block_field' ) }}
{% endif %}
{% endspaceless %}
{% endblock %}
{% block ezboolean_field %}{% spaceless %}
{% if parameters.robots is defined and parameters.robots == 'index' %}
{% set field_value = field.value.bool ? 'index' : 'noindex' %}
{% elseif parameters.robots is defined and parameters.robots == 'follow' %}
{% set field_value = field.value.bool ? 'follow' : 'nofollow' %}
{% else %}
{% set field_value = field.value.bool ? 'Yes' : 'No' %}
{% endif %}
{{ field_value }}
{% endspaceless %}{% endblock %}
{% block ezinteger_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{% set field_value = field.value.value %}
{{ field_value }}
{% endif %}
{% endspaceless %}
{% endblock %}
{% block ezfloat_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{% set field_value = field.value.value %}
{{ field_value }}
{% endif %}
{% endspaceless %}
{% endblock %}
{% block ezkeyword_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{% if parameters.schema is defined %}
\"{{ parameters.schema }}\": [
{% for keyword in field.value.values %}
{
\"@type\": \"Person\",
\"name\": \"{{ keyword }}\"
}{% if not loop.last %},{% endif %}
{% endfor %}
],
{% else %}
<ul {{ block( 'field_attributes' ) }}>
{% for keyword in field.value.values %}
<li>{{ keyword }}</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
{% endspaceless %}
{% endblock %}
", "@originales/content_fields.html.twig", "/var/www/app/Resources/views/themes/default/content_fields.html.twig");
}
}