On crée un template enfant
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,141 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
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;
|
||||
|
||||
/* @Product/CatalogPage/Forms/form_products.html.twig */
|
||||
class __TwigTemplate_bdf1dfd26e2f6bd33aa6926e3648384bc1e6cf9b6df7b3125695af48f17a0b18 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'product_catalog_form_table' => [$this, 'block_product_catalog_form_table'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<form
|
||||
name=\"product_catalog_list\"
|
||||
id=\"product_catalog_list\"
|
||||
method=\"post\"
|
||||
action=\"";
|
||||
// line 29
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["limit" => ($context["limit"] ?? null), "orderBy" => ($context["orderBy"] ?? null), "sortOrder" => ($context["sortOrder"] ?? null)]), "html", null, true);
|
||||
echo "\"
|
||||
orderingurl=\"";
|
||||
// line 30
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["offset" => 0, "limit" => 300, "orderBy" => "position_ordering", "sortOrder" => ($context["sortOrder"] ?? null)]), "html", null, true);
|
||||
echo "\"
|
||||
newproducturl=\"";
|
||||
// line 31
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_new");
|
||||
echo "\"
|
||||
>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
<input type=\"hidden\" name=\"filter_category\" value=\"";
|
||||
// line 35
|
||||
echo twig_escape_filter($this->env, (((isset($context["filter_category"]) || array_key_exists("filter_category", $context))) ? (_twig_default_filter(($context["filter_category"] ?? null), "")) : ("")), "html", null, true);
|
||||
echo "\" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
";
|
||||
// line 41
|
||||
$this->displayBlock('product_catalog_form_table', $context, $blocks);
|
||||
// line 62
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 65
|
||||
if ((($context["product_count_filtered"] ?? null) > 20)) {
|
||||
// line 66
|
||||
echo " <div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
";
|
||||
// line 68
|
||||
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("PrestaShopBundle:Admin\\Common:pagination", ["limit" => // line 69
|
||||
($context["limit"] ?? null), "offset" => ($context["offset"] ?? null), "total" => ($context["product_count_filtered"] ?? null), "caller_parameters" => ($context["pagination_parameters"] ?? null), "limit_choices" => ($context["pagination_limit_choices"] ?? null)]));
|
||||
// line 70
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 74
|
||||
echo "</form>
|
||||
";
|
||||
}
|
||||
|
||||
// line 41
|
||||
public function block_product_catalog_form_table($context, array $blocks = [])
|
||||
{
|
||||
// line 42
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@Product/CatalogPage/Lists/products_table.html.twig", ["limit" => // line 43
|
||||
($context["limit"] ?? null), "orderBy" => // line 44
|
||||
($context["orderBy"] ?? null), "offset" => // line 45
|
||||
($context["offset"] ?? null), "sortOrder" => // line 46
|
||||
($context["sortOrder"] ?? null), "filter_category" => // line 47
|
||||
($context["filter_category"] ?? null), "filter_column_id_product" => // line 48
|
||||
($context["filter_column_id_product"] ?? null), "filter_column_name" => // line 49
|
||||
($context["filter_column_name"] ?? null), "filter_column_reference" => // line 50
|
||||
($context["filter_column_reference"] ?? null), "filter_column_name_category" => // line 51
|
||||
($context["filter_column_name_category"] ?? null), "filter_column_price" => // line 52
|
||||
($context["filter_column_price"] ?? null), "filter_column_sav_quantity" => // line 53
|
||||
($context["filter_column_sav_quantity"] ?? null), "filter_column_active" => // line 54
|
||||
($context["filter_column_active"] ?? null), "has_category_filter" => // line 55
|
||||
($context["has_category_filter"] ?? null), "activate_drag_and_drop" => // line 56
|
||||
($context["activate_drag_and_drop"] ?? null), "products" => // line 57
|
||||
($context["products"] ?? null), "last_sql" => // line 58
|
||||
($context["last_sql"] ?? null)]);
|
||||
// line 60
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/CatalogPage/Forms/form_products.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 110 => 60, 108 => 58, 107 => 57, 106 => 56, 105 => 55, 104 => 54, 103 => 53, 102 => 52, 101 => 51, 100 => 50, 99 => 49, 98 => 48, 97 => 47, 96 => 46, 95 => 45, 94 => 44, 93 => 43, 91 => 42, 88 => 41, 83 => 74, 77 => 70, 75 => 69, 74 => 68, 70 => 66, 68 => 65, 63 => 62, 61 => 41, 52 => 35, 45 => 31, 41 => 30, 37 => 29, 31 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/CatalogPage/Forms/form_products.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Forms/form_products.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user