modifié: core/lib/Thelia/Config/Resources/routing/admin.xml modifié: core/lib/Thelia/Controller/Admin/ExportController.php modifié: core/lib/Thelia/Controller/Admin/ImportExportController.php modifié: core/lib/Thelia/Core/FileFormat/Formatting/Formatter/JsonFormatter.php modifié: core/lib/Thelia/Core/FileFormat/Formatting/Formatter/XMLFormatter.php modifié: core/lib/Thelia/Core/FileFormat/Formatting/FormatterInterface.php modifié: core/lib/Thelia/Core/Template/Loop/Export.php modifié: core/lib/Thelia/Core/Template/Loop/Formatter.php nouveau fichier: core/lib/Thelia/ImportExport/Both/NewsletterImportExport.php nouveau fichier: core/lib/Thelia/ImportExport/Export/ExportType.php nouveau fichier: core/lib/Thelia/ImportExport/Export/MailingExport.php modifié: core/lib/Thelia/ImportExport/ExportHandlerInterface.php modifié: core/lib/Thelia/Model/Export.php modifié: core/lib/Thelia/Model/ExportCategory.php modifié: core/lib/Thelia/Model/ImportCategory.php modifié: templates/backOffice/default/export-page.html modifié: templates/backOffice/default/export.html modifié: templates/backOffice/default/import.html modifié: templates/backOffice/default/includes/export-form-definition.html
118 lines
6.1 KiB
HTML
118 lines
6.1 KiB
HTML
{extends file="admin-layout.tpl"}
|
|
|
|
{block name="no-return-functions"}
|
|
{$admin_current_location = 'tools'}
|
|
{/block}
|
|
|
|
{block name="page-title"}{intl l='Exports'}{/block}
|
|
|
|
{block name="check-resource"}admin.export{/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 $export_order != "manual"}
|
|
{assign url_export "export_order="|cat:$export_order}
|
|
{/if}
|
|
|
|
|
|
<div class="configuration">
|
|
|
|
<div id="wrapper" class="container">
|
|
|
|
<nav>
|
|
<ul class="breadcrumb">
|
|
<li><a href="{url path='admin/home'}">{intl l='Home'}</a></li>
|
|
<li><a href="{url path='admin/tools'}">{intl l='Tools'}</a></li>
|
|
<li>{intl l="Exports"}</li>
|
|
</ul>
|
|
</nav>
|
|
|
|
{module_include location='tools_top'}
|
|
|
|
{loop name="export-category" type="export-category" order=$category_order}
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="general-block-decorator">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-condensed table-left-aligned">
|
|
<caption class="clearfix">
|
|
<a href="{url path="/admin/export/position/category/up/{$ID}{if $url_export}?{$url_export}{/if}"}">
|
|
<span class="glyphicon glyphicon-arrow-up"></span>
|
|
</a>
|
|
{$POSITION}
|
|
<a href="{url path="/admin/export/position/category/down/{$ID}{if $url_export}?{$url_export}{/if}"}">
|
|
<span class="glyphicon glyphicon-arrow-down"></span>
|
|
</a>
|
|
{$TITLE}
|
|
</caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-md-1">
|
|
<a href="{url path="/admin/export"}?{if $url_category}{$url_category}&{/if}export_order=id{if $export_order == "id"}_reverse{/if}">
|
|
{intl l="ID"}
|
|
</a>
|
|
</th>
|
|
<th class="col-md-8">
|
|
<a href="{url path="/admin/export"}?{if $url_category}{$url_category}&{/if}export_order=alpha{if $export_order == "alpha"}_reverse{/if}">
|
|
{intl l="Name"}
|
|
</a>
|
|
</th>
|
|
<th class="col-md-2">
|
|
<a href="{url path="/admin/export"}?{if $url_category}{$url_category}&{/if}export_order=manual{if $export_order == "manual"}_reverse{/if}">
|
|
{intl l="Position"}
|
|
</a>
|
|
</th>
|
|
<th class="col-md-1">
|
|
{intl l="Actions"}
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{loop name="export-categ-list" type="export" order=$export_order category=$ID}
|
|
<tr>
|
|
<td>
|
|
{$ID}
|
|
</td>
|
|
<td>
|
|
<a href="{$URL}">{$TITLE}</a>
|
|
</td>
|
|
<td>
|
|
<a href="{url path="/admin/export/position/up/{if $url_category}?{$url_category}{/if}{$ID}"}">
|
|
<span class="glyphicon glyphicon-arrow-up"></span>
|
|
</a>
|
|
{$POSITION}
|
|
<a href="{url path="/admin/export/position/down/{$ID}{if $url_category}?{$url_category}{/if}"}">
|
|
<span class="glyphicon glyphicon-arrow-down"></span>
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<div class="btn-group">
|
|
<a class="btn btn-default btn-xs" href="{$URL}" title="{intl l="Do this export"}">
|
|
<span class="glyphicon glyphicon-open"></span>
|
|
</a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{/loop}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
{/loop}
|
|
|
|
{elseloop rel="export-category"}
|
|
<div class="alert alert-info">
|
|
{intl l="You don't have any export"}
|
|
</div>
|
|
{/elseloop}
|
|
|
|
{module_include location='configuration_bottom'}
|
|
</div>
|
|
</div>
|
|
{/block} |