/home/sharedstore/.trash/prod/twig/f1
Edit: /home/sharedstore/.trash/prod/twig/f1/f1df1734c86cc80934a00df852dab108.php (24337B)
source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'multistore_header' => [$this, 'block_multistore_header'],
'multishop_header_right' => [$this, 'block_multishop_header_right'],
'search_shops' => [$this, 'block_search_shops'],
'all_shops_item' => [$this, 'block_all_shops_item'],
'shop_group_item' => [$this, 'block_shop_group_item'],
'shop_item' => [$this, 'block_shop_item'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 25
$this->displayBlock('multistore_header', $context, $blocks);
}
public function block_multistore_header($context, array $blocks = [])
{
$macros = $this->macros;
// line 26
echo " ";
if ((($context["isMultistoreUsed"] ?? null) && !(null === twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 26)))) {
// line 27
echo "
";
}
}
// line 54
public function block_multishop_header_right($context, array $blocks = [])
{
$macros = $this->macros;
// line 55
echo "
";
}
// line 63
public function block_search_shops($context, array $blocks = [])
{
$macros = $this->macros;
// line 64
echo " ";
if ((($context["lockedToAllShopContext"] ?? null) == false)) {
// line 65
echo "
search
env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Search store name", [], "Admin.Navigation.Header"), "html", null, true);
echo "\" data-no-results=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No results found for", [], "Admin.Global"), "html", null, true);
echo "\" data-searching=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Searching for", [], "Admin.Global"), "html", null, true);
echo "\">
";
}
// line 70
echo " ";
}
// line 73
public function block_all_shops_item($context, array $blocks = [])
{
$macros = $this->macros;
// line 74
echo "
";
// line 75
if (($context["isAllShopContext"] ?? null)) {
// line 76
echo " check
";
} else {
// line 78
echo "
";
}
// line 80
echo " env, $this->extensions['PrestaShopBundle\Twig\Extension\MultistoreUrlExtension']->generateUrl(), "html", null, true);
echo "\">
";
// line 81
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("All stores", [], "Admin.Global"), "html", null, true);
echo "
";
}
// line 88
public function block_shop_group_item($context, array $blocks = [])
{
$macros = $this->macros;
// line 89
echo "
env, $this->source, ($context["currentContext"] ?? null), "id", [], "any", false, false, false, 89) == twig_get_attribute($this->env, $this->source, ($context["group"] ?? null), "id", [], "any", false, false, false, 89)))) {
echo " multishop-modal-color-check";
}
echo "\">
check
env, $this->source, ($context["group"] ?? null), "color", [], "any", false, false, false, 91))) {
echo " style=\"background-color: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["group"] ?? null), "color", [], "any", false, false, false, 91), "html", null, true);
echo ";\"";
}
echo " href=\"";
echo twig_escape_filter($this->env, $this->extensions['PrestaShopBundle\Twig\LayoutExtension']->getAdminLink("AdminShopGroup", true, ["id_shop_group" => twig_get_attribute($this->env, $this->source, ($context["group"] ?? null), "id", [], "any", false, false, false, 91), "updateshop_group" => true]), "html", null, true);
echo "\" data-toggle=\"popover\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Edit color", [], "Admin.Global"), "html", null, true);
echo "\" data-original-title=\"\" title=\"\">
env, $this->extensions['PrestaShopBundle\Twig\Extension\MultistoreUrlExtension']->generateGroupUrl(($context["group"] ?? null)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Group", [], "Admin.Global") . " ") . twig_get_attribute($this->env, $this->source, ($context["group"] ?? null), "name", [], "any", false, false, false, 93)), "html", null, true);
echo "
";
}
// line 99
public function block_shop_item($context, array $blocks = [])
{
$macros = $this->macros;
// line 100
echo "
env, $this->source, ($context["currentContext"] ?? null), "id", [], "any", false, false, false, 101) == twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "id", [], "any", false, false, false, 101)))) {
echo " multishop-modal-color-check";
}
echo "\">
check
env, $this->source, ($context["shop"] ?? null), "color", [], "any", false, false, false, 103))) {
echo " style=\"background-color: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "color", [], "any", false, false, false, 103), "html", null, true);
echo ";\"";
}
echo " href=\"";
echo twig_escape_filter($this->env, $this->extensions['PrestaShopBundle\Twig\LayoutExtension']->getAdminLink("AdminShop", true, ["shop_id" => twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "id", [], "any", false, false, false, 103), "updateshop" => true]), "html", null, true);
echo "\" data-toggle=\"popover\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Edit color", [], "Admin.Global"), "html", null, true);
echo "\" data-original-title=\"\" title=\"\">
env, $this->source, ($context["shop"] ?? null), "hasMainUrl", [], "method", false, false, false, 105) == false)) {
echo " multishop-modal-no-url\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "name", [], "any", false, false, false, 105), "html", null, true);
echo "";
} else {
echo "\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['PrestaShopBundle\Twig\Extension\MultistoreUrlExtension']->generateShopUrl(($context["shop"] ?? null)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "name", [], "any", false, false, false, 105), "html", null, true);
echo "";
}
// line 106
echo "
";
// line 107
if (twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "hasMainUrl", [], "method", false, false, false, 107)) {
// line 108
echo "
env, twig_get_attribute($this->env, $this->source, ($context["link"] ?? null), "getBaseLink", [0 => twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "id", [], "any", false, false, false, 108)], "method", false, false, false, 108), "html", null, true);
echo "\" target=\"_blank\" rel=\"noreferrer\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View my store", [], "Admin.Navigation.Header"), "html", null, true);
echo " visibility
";
} else {
// line 110
echo "
env, $this->extensions['PrestaShopBundle\Twig\LayoutExtension']->getAdminLink("AdminShopUrl", true, ["shop_id" => twig_get_attribute($this->env, $this->source, ($context["shop"] ?? null), "id", [], "any", false, false, false, 110), "addshop_url" => 1]), "html", null, true);
echo "\" rel=\"noreferrer\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Configure URL", [], "Admin.Actions"), "html", null, true);
echo " visibility
";
}
// line 112
echo " ";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Multistore/header.html.twig";
}
public function getDebugInfo()
{
return array ( 423 => 112, 415 => 110, 407 => 108, 405 => 107, 402 => 106, 390 => 105, 377 => 103, 370 => 101, 367 => 100, 363 => 99, 355 => 93, 342 => 91, 334 => 89, 330 => 88, 322 => 81, 317 => 80, 313 => 78, 309 => 76, 307 => 75, 304 => 74, 300 => 73, 296 => 70, 286 => 67, 282 => 65, 279 => 64, 275 => 63, 266 => 55, 262 => 54, 255 => 122, 247 => 116, 233 => 115, 218 => 113, 216 => 99, 213 => 98, 196 => 97, 192 => 95, 190 => 88, 183 => 87, 166 => 86, 163 => 85, 161 => 73, 157 => 71, 155 => 63, 149 => 59, 145 => 57, 143 => 54, 140 => 53, 138 => 52, 122 => 43, 118 => 41, 115 => 40, 112 => 39, 109 => 38, 106 => 37, 104 => 36, 95 => 34, 89 => 32, 82 => 31, 70 => 30, 57 => 29, 53 => 27, 50 => 26, 43 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Multistore/header.html.twig", "/home/sharedstore/public_html/prestashop.sharedstore.ma/src/PrestaShopBundle/Resources/views/Admin/Multistore/header.html.twig");
}
}