Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,227 @@
<?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/Blocks/filters.html.twig */
class __TwigTemplate_ba90f48b083f41889515b1db96ab543044aa5ad4ee9f13f2085f60f1b5443927 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'product_catalog_filter_by_categories' => [$this, 'block_product_catalog_filter_by_categories'],
'product_catalog_filter_bulk_actions' => [$this, 'block_product_catalog_filter_bulk_actions'],
'product_catalog_filter_select_all' => [$this, 'block_product_catalog_filter_select_all'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 25
echo "<div id=\"catalog-actions\" class=\"col order-first\">
<div class=\"row\">
<div class=\"col\">
";
// line 28
$this->displayBlock('product_catalog_filter_by_categories', $context, $blocks);
// line 76
echo "
";
// line 77
$this->displayBlock('product_catalog_filter_bulk_actions', $context, $blocks);
// line 129
echo " </div>
</div>
";
// line 132
$this->displayBlock('product_catalog_filter_select_all', $context, $blocks);
// line 150
echo "</div>
";
}
// line 28
public function block_product_catalog_filter_by_categories($context, array $blocks = [])
{
// line 29
echo " <div id=\"product_catalog_category_tree_filter\" class=\"d-inline-block dropdown dropdown-clickable mr-2\">
<button
class=\"btn btn-outline-secondary dropdown-toggle\"
type=\"button\"
data-toggle=\"dropdown\"
aria-haspopup=\"true\"
aria-expanded=\"false\"
>
";
// line 37
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Filter by categories", [], "Admin.Actions"), "html", null, true);
echo "
";
// line 38
if (((isset($context["selected_category"]) || array_key_exists("selected_category", $context)) && !(null === ($context["selected_category"] ?? null)))) {
// line 39
echo " (";
echo twig_escape_filter($this->env, $this->getAttribute(($context["selected_category"] ?? null), "getName", [], "method"), "html", null, true);
echo ")
";
}
// line 41
echo " </button>
<div id=\"tree-categories\" class=\"dropdown-menu\">
<div class=\"categories-tree-actions\">
<a
href=\"#\"
name=\"product_catalog_category_tree_filter_expand\"
onclick=\"productCategoryFilterExpand(\$('div#product_catalog_category_tree_filter'), this);\"
id=\"product_catalog_category_tree_filter_expand\"
>
<i class=\"material-icons\">expand_more</i>
";
// line 51
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Expand", [], "Admin.Actions"), "html", null, true);
echo "
</a>
<a
href=\"#\"
name=\"product_catalog_category_tree_filter_collapse\"
onclick=\"productCategoryFilterCollapse(\$('div#product_catalog_category_tree_filter'), this);\"
id=\"product_catalog_category_tree_filter_collapse\"
>
<i class=\"material-icons\">expand_less</i>
";
// line 60
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Collapse", [], "Admin.Actions"), "html", null, true);
echo "
</a>
<a
href=\"#\"
name=\"product_catalog_category_tree_filter_reset\"
onclick=\"productCategoryFilterReset(\$('div#product_catalog_category_tree_filter'));\"
id=\"product_catalog_category_tree_filter_reset\"
>
<i class=\"material-icons\">radio_button_unchecked</i>
";
// line 69
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Unselect", [], "Admin.Actions"), "html", null, true);
echo "
</a>
</div>
";
// line 72
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["categories"] ?? null), 'widget');
echo "
</div>
</div>
";
}
// line 77
public function block_product_catalog_filter_bulk_actions($context, array $blocks = [])
{
// line 78
echo " <div
class=\"d-inline-block\"
bulkurl=\"";
// line 80
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_bulk_action", ["action" => "activate_all"]);
echo "\"
massediturl=\"";
// line 81
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_mass_edit_action", ["action" => "sort"]);
echo "\"
redirecturl=\"";
// line 82
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["limit" => ($context["limit"] ?? null), "offset" => ($context["offset"] ?? null), "orderBy" => ($context["orderBy"] ?? null), "sortOrder" => ($context["sortOrder"] ?? null)]), "html", null, true);
echo "\"
redirecturlnextpage=\"";
// line 83
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["limit" => ($context["limit"] ?? null), "offset" => (($context["offset"] ?? null) + ($context["limit"] ?? null)), "orderBy" => ($context["orderBy"] ?? null), "sortOrder" => ($context["sortOrder"] ?? null)]), "html", null, true);
echo "\"
>
";
// line 85
$context["buttons_action"] = [0 => ["onclick" => "bulkProductAction(this, 'activate_all');", "icon" => "radio_button_checked", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activate selection", [], "Admin.Actions")], 1 => ["onclick" => "bulkProductAction(this, 'deactivate_all');", "icon" => "radio_button_unchecked", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deactivate selection", [], "Admin.Actions")]];
// line 96
echo "
";
// line 97
$context["buttons_action"] = twig_array_merge(($context["buttons_action"] ?? null), [0 => ["divider" => true], 1 => ["onclick" => "bulkProductAction(this, 'duplicate_all');", "icon" => "content_copy", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplicate selection", [], "Admin.Actions")]]);
// line 106
echo "
";
// line 108
$context["buttons_action"] = twig_array_merge(($context["buttons_action"] ?? null), [0 => ["divider" => true], 1 => ["onclick" => "bulkProductAction(this, 'delete_all');", "icon" => "delete", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Delete selection", [], "Admin.Actions")]]);
// line 117
echo "
";
// line 118
$this->loadTemplate("@PrestaShop/Admin/Helpers/dropdown_menu.html.twig", "@Product/CatalogPage/Blocks/filters.html.twig", 118)->display(twig_array_merge($context, ["div_style" => "btn-group dropdown bulk-catalog", "button_id" => "product_bulk_menu", "disabled" => true, "menu_label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Bulk actions", [], "Admin.Global"), "buttonType" => "outline-secondary", "menu_icon" => "icon-caret-up", "items" => // line 125
($context["buttons_action"] ?? null)]));
// line 127
echo " </div>
";
}
// line 132
public function block_product_catalog_filter_select_all($context, array $blocks = [])
{
// line 133
echo " <div class=\"row\">
<div class=\"col\">
<div class=\"md-checkbox\">
<label>
<input
type=\"checkbox\"
id=\"bulk_action_select_all\"
onclick=\"\$('#product_catalog_list').find('table td.checkbox-column input:checkbox').prop('checked', \$(this).prop('checked')); updateBulkMenu();\"
value=\"\"
>
<i class=\"md-checkbox-control\"></i>
";
// line 144
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Select all", [], "Admin.Actions"), "html", null, true);
echo "
</label>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "@Product/CatalogPage/Blocks/filters.html.twig";
}
public function getDebugInfo()
{
return array ( 196 => 144, 183 => 133, 180 => 132, 175 => 127, 173 => 125, 172 => 118, 169 => 117, 167 => 108, 163 => 106, 161 => 97, 158 => 96, 156 => 85, 151 => 83, 147 => 82, 143 => 81, 139 => 80, 135 => 78, 132 => 77, 124 => 72, 118 => 69, 106 => 60, 94 => 51, 82 => 41, 76 => 39, 74 => 38, 70 => 37, 60 => 29, 57 => 28, 52 => 150, 50 => 132, 45 => 129, 43 => 77, 40 => 76, 38 => 28, 33 => 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/Blocks/filters.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Blocks/filters.html.twig");
}
}