From 50bc046671c3aac084c8046975b16ccfb0a93a51 Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Fri, 25 Oct 2013 17:24:49 +0200 Subject: [PATCH] // fix panel header tree actions (search + button) --- .../controllers/products/helpers/tree/tree_toolbar.tpl | 6 ++++-- .../themes/default/template/helpers/tree/tree_header.tpl | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/products/helpers/tree/tree_toolbar.tpl b/admin-dev/themes/default/template/controllers/products/helpers/tree/tree_toolbar.tpl index 98bde1b9c..d715e65e8 100644 --- a/admin-dev/themes/default/template/controllers/products/helpers/tree/tree_toolbar.tpl +++ b/admin-dev/themes/default/template/controllers/products/helpers/tree/tree_toolbar.tpl @@ -22,8 +22,10 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -{if isset($actions)} +
+ {if isset($actions)} {foreach from=$actions item=action} {$action->render()} {/foreach} -{/if} \ No newline at end of file + {/if} +
\ No newline at end of file diff --git a/admin-dev/themes/default/template/helpers/tree/tree_header.tpl b/admin-dev/themes/default/template/helpers/tree/tree_header.tpl index 841a3b119..d7c8ef7a3 100644 --- a/admin-dev/themes/default/template/helpers/tree/tree_header.tpl +++ b/admin-dev/themes/default/template/helpers/tree/tree_header.tpl @@ -22,7 +22,7 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -
+
{if isset($toolbar)}{$toolbar}{/if}
\ No newline at end of file