diff --git a/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl index 04515e020..9c397bd5e 100644 --- a/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl @@ -23,48 +23,43 @@ * International Registered Trademark & Property of PrestaShop SA *} - - {if !$simple_header && $list_total > 20}
- {if $bulk_actions} -
- {if $bulk_actions|count > 1} -
-
- -
-
- -
+ {if $bulk_actions} + {if $bulk_actions|count > 1} +
+
+
- {else} - {foreach $bulk_actions as $key => $params} -
-
- {if $key == 'affectzone'} - - {/if} -
-
- -
+
+
- {/foreach} - {/if} -
+
+ {else} + {foreach $bulk_actions as $key => $params} +
+
+ {if $key == 'affectzone'} + + {/if} +
+
+ +
+
+ {/foreach} {/if} + {/if}
- - + {if !$simple_header && $list_total > 20}
{* Choose number of results per page *} @@ -136,9 +131,8 @@ });
+ {/if}
- {/if} - diff --git a/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl index 84f7fb5ca..9bd8862f9 100644 --- a/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl @@ -24,58 +24,116 @@ *} - {if !$simple_header && $list_total > 20} -
- - {if $page > 1} -   - - {/if} - {l s='Page'} {$page} / {$total_pages} - {if $page < $total_pages} -   - - {/if} - - - -  |  - - - - / {$list_total} {l s='result(s)'} -
- {/if} - {if $bulk_actions} - {if $bulk_actions|count > 1} -
- +
+
+ {if $bulk_actions} + {if $bulk_actions|count > 1} +
+
+ +
+
+ +
- - {else} - {foreach $bulk_actions as $key => $params} - {if $key == 'affectzone'} -
+ {else} + {foreach $bulk_actions as $key => $params} +
+
+ {if $key == 'affectzone'} + + {/if}
- {/if} - - {/foreach} +
+ +
+
+ {/foreach} + {/if} {/if} - {/if} +
+ {if !$simple_header && $list_total > 20} +
+ {* Choose number of results per page *} + + {l s='Display'}: + + + / {$list_total} {l s='result(s)'} + + + +
    +
  • + + + +
  • +
  • + + + +
  • + {assign p 0} + {while $p++ < $total_pages} + {if $p < $page-2} +
  • + +
  • + {assign p $page-3} + {else if $p > $page+2} +
  • + +
  • + {assign p $total_pages} + {else} +
  • + {$p} +
  • + {/if} + {/while} +
  • $total_pages}class="disabled"{/if}> + + + +
  • +
  • $total_pages}class="disabled"{/if}> + + + +
  • +
+ +
+ {/if} +
diff --git a/admin-dev/themes/default/template/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/helpers/list/list_footer.tpl index b0f9585be..d0d8bd7eb 100644 --- a/admin-dev/themes/default/template/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/helpers/list/list_footer.tpl @@ -25,8 +25,8 @@
- {if $bulk_actions}
+ {if $bulk_actions}
+ {/if}
- {/if} - {if !$simple_header && $list_total > 20}
{* Choose number of results per page *}