Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/twig/9f/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/twig
<?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;
/* @PrestaShop/Admin/Improve/Design/Theme/Blocks/layouts_configuration.html.twig */
class __TwigTemplate_5468d7bb81cc93da41368956946083f6cefcc927dac2073b167e03948c3a7346 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'layouts_configuration' => [$this, 'block_layouts_configuration'],
];
}
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", "@PrestaShop/Admin/Improve/Design/Theme/Blocks/layouts_configuration.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Improve/Design/Theme/Blocks/layouts_configuration.html.twig"));
// line 25
echo "
";
// line 26
$this->displayBlock('layouts_configuration', $context, $blocks);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function block_layouts_configuration($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", "layouts_configuration"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layouts_configuration"));
// line 27
echo " <div class=\"col-12 layout-configuration\">
<div class=\"inner-content\">
<div class=\"float-left\">
<div class=\"d-inline-block layout-logo\">
<img src=\"";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/new-theme/public/pages/themes/icon_layouts.png"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Configure your page layouts", [], "Admin.Design.Feature"), "html", null, true);
echo "\">
</div>
<div class=\"d-inline-block\">
<span class=\"title\">";
// line 34
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Configure your page layouts", [], "Admin.Design.Feature"), "html", null, true);
echo "</span>
<p class=\"mb-0 description\">";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Each page can use a different layout, choose it among the layouts bundled in your theme.", [], "Admin.Design.Feature"), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"float-right\">
<a href=\"";
// line 39
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_theme_customize_layouts");
echo "\"
class=\"btn btn-tertiary choose-layouts-button\"
>
";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Choose layouts", [], "Admin.Design.Feature"), "html", null, true);
echo "
</a>
";
// line 45
if ((isset($context["isDevModeOn"]) || array_key_exists("isDevModeOn", $context) ? $context["isDevModeOn"] : (function () { throw new RuntimeError('Variable "isDevModeOn" does not exist.', 45, $this->source); })())) {
// line 46
echo " <button class=\"btn btn-tertiary-outline js-reset-theme-layouts-btn\"
type=\"button\"
data-submit-url=\"";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_themes_reset_layouts", ["themeName" => twig_get_attribute($this->env, $this->source, (isset($context["currentlyUsedTheme"]) || array_key_exists("currentlyUsedTheme", $context) ? $context["currentlyUsedTheme"] : (function () { throw new RuntimeError('Variable "currentlyUsedTheme" does not exist.', 48, $this->source); })()), "name", [], "any", false, false, false, 48)]), "html", null, true);
echo "\"
data-csrf-token=\"";
// line 49
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("reset-theme-layouts"), "html", null, true);
echo "\"
>
<i class=\"material-icons\">settings_backup_restore</i>
";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Reset to defaults", [], "Admin.Design.Feature"), "html", null, true);
echo "
</button>
";
}
// line 55
echo " </div>
<div class=\"clearfix\"></div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Improve/Design/Theme/Blocks/layouts_configuration.html.twig";
}
public function getDebugInfo()
{
return array ( 125 => 55, 119 => 52, 113 => 49, 109 => 48, 105 => 46, 103 => 45, 97 => 42, 91 => 39, 84 => 35, 80 => 34, 72 => 31, 66 => 27, 47 => 26, 44 => 25,);
}
public function getSourceContext()
{
return new Source("{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*#}
{% block layouts_configuration %}
<div class=\"col-12 layout-configuration\">
<div class=\"inner-content\">
<div class=\"float-left\">
<div class=\"d-inline-block layout-logo\">
<img src=\"{{ asset('themes/new-theme/public/pages/themes/icon_layouts.png') }}\" alt=\"{{ 'Configure your page layouts'|trans({}, 'Admin.Design.Feature') }}\">
</div>
<div class=\"d-inline-block\">
<span class=\"title\">{{ 'Configure your page layouts'|trans({}, 'Admin.Design.Feature') }}</span>
<p class=\"mb-0 description\">{{ 'Each page can use a different layout, choose it among the layouts bundled in your theme.'|trans({}, 'Admin.Design.Feature') }}</p>
</div>
</div>
<div class=\"float-right\">
<a href=\"{{ path('admin_theme_customize_layouts') }}\"
class=\"btn btn-tertiary choose-layouts-button\"
>
{{ 'Choose layouts'|trans({}, 'Admin.Design.Feature') }}
</a>
{% if isDevModeOn %}
<button class=\"btn btn-tertiary-outline js-reset-theme-layouts-btn\"
type=\"button\"
data-submit-url=\"{{ path('admin_themes_reset_layouts', {'themeName': currentlyUsedTheme.name}) }}\"
data-csrf-token=\"{{ csrf_token('reset-theme-layouts') }}\"
>
<i class=\"material-icons\">settings_backup_restore</i>
{{ 'Reset to defaults'|trans({}, 'Admin.Design.Feature') }}
</button>
{% endif %}
</div>
<div class=\"clearfix\"></div>
</div>
</div>
{% endblock %}
", "@PrestaShop/Admin/Improve/Design/Theme/Blocks/layouts_configuration.html.twig", "/home/webdevt/www/schtroumpf.fr/src/PrestaShopBundle/Resources/views/Admin/Improve/Design/Theme/Blocks/layouts_configuration.html.twig");
}
}