{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'tools'} {/block} {block name="page-title"}{intl l='Imports'}{/block} {block name="check-resource"}admin.import{/block} {block name="check-access"}view{/block} {block name="main-content"} {if $category_order != "manual"} {assign url_category "category_order="|cat:$category_order} {/if} {if $import_order != "manual"} {assign url_import "import_order="|cat:$import_order} {/if}
{hook name="imports.top" location="imports-top" } {loop name="import-category" type="import-category" order=$category_order} {ifloop rel="import-categ-list"} {assign category_title $TITLE}

{admin_position_block resource="admin.import" access="UPDATE" path={url path="admin/import/position/category"} url_parameter="id" in_place_edit_class="importCategoryPositionChange" position=$POSITION id=$ID } {$TITLE}
{intl l="ID"} | {intl l="Name"} | {intl l="Position"} {hook name="import.table-header"} | {intl l="Actions"}
--- | --- | --- | ---
{loop name="import-categ-list" type="import" order=$import_order category=$ID}
{$ID} | {$TITLE} | {admin_position_block resource="admin.import" access="UPDATE" path={url path="admin/import/position"} url_parameter="id" in_place_edit_class="importPositionChange" position=$POSITION id=$ID } {hook name="import.table-row" import_id=$ID} |
{/loop} {hook name="imports.row" category=$ID }

{/ifloop} {/loop} {elseloop rel="import-category"}
{intl l="You don't have any import"}
{/elseloop} {hook name="imports.bottom" location="imports-bottom" }
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/bootstrap-editable/bootstrap-editable.js'}
{/javascripts} {/block} {block name="javascript-last-call"}
{hook name="imports.js" location="imports-js" } {/block}