first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
{foreach $responses as $key => $response}
|
||||
<div class="panel {if $response->status_code == 200}panel-success{else}panel-warning{/if}" id="panel-{$key|escape:'htmlall':'UTF-8'}">
|
||||
<div class="panel-heading">
|
||||
<a data-toggle="collapse" data-target="#collapse-{$key|escape:'htmlall':'UTF-8'}" href="#collapse-{$key|escape:'htmlall':'UTF-8'}">
|
||||
{$response->operation_id|escape:'htmlall':'UTF-8'}
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapse-{$key|escape:'htmlall':'UTF-8'}" class="panel-collapse collapse">
|
||||
<div class="panel-body">
|
||||
{* HTML, no need for escape*}
|
||||
<pre>{var_export($response->response)}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
@@ -0,0 +1,61 @@
|
||||
{*
|
||||
* PrestaChamps
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Commercial License
|
||||
* you can't distribute, modify or sell this code
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file
|
||||
* If you need help please contact leo@prestachamps.com
|
||||
*
|
||||
* @author Mailchimp
|
||||
* @copyright PrestaChamps
|
||||
* @license commercial
|
||||
*}
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
{l s='Batch operation' mod='mailchimppro'} #{$entity.id|escape:'htmlall':'UTF-8'}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{l s='ID' mod='mailchimppro'}</td>
|
||||
<td>{$entity.id|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Status' mod='mailchimppro'}</td>
|
||||
<td>{$entity.status|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Total operations' mod='mailchimppro'}</td>
|
||||
<td>{$entity.total_operations|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Finished operations' mod='mailchimppro'}</td>
|
||||
<td>{$entity.finished_operations|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Errored operations' mod='mailchimppro'}</td>
|
||||
<td>{$entity.errored_operations|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Submitted at' mod='mailchimppro'}</td>
|
||||
<td>{$entity.submitted_at|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Completed at' mod='mailchimppro'}</td>
|
||||
<td>{$entity.completed_at|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Response body url' mod='mailchimppro'}</td>
|
||||
<td>{$entity.response_body_url|escape:'htmlall':'UTF-8'}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2018 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2018 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
Reference in New Issue
Block a user