// Mailalerts my-account tpl hook moved
This commit is contained in:
@@ -24,56 +24,6 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{*
|
|
||||||
<div id="myalerts">
|
|
||||||
{capture name=path}<a href="{$link->getPageLink('my-account.php', true)}">{l s='My account' mod='mailalerts'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='My alerts' mod='mailalerts'}{/capture}
|
|
||||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
|
||||||
|
|
||||||
<h2>{l s='My alerts' mod='mailalerts'}</h2>
|
|
||||||
|
|
||||||
{include file="$tpl_dir./errors.tpl"}
|
|
||||||
|
|
||||||
{if $id_customer|intval neq 0}
|
|
||||||
{if $mailAlerts}
|
|
||||||
<div id="block-history" class="block-center">
|
|
||||||
<table class="std">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="first_item">{l s='Product' mod='mailalerts'}</th>
|
|
||||||
<th class="last_item" style="width:20px;">{l s='Delete' mod='mailalerts'}</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{foreach from=$mailAlerts item=product name=i}
|
|
||||||
<tr>
|
|
||||||
<td class="first_item">
|
|
||||||
<span style="float:left;"><a href="{$product.link|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.cover, 'small')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" /></a></span>
|
|
||||||
<span style="float:left;"><a href="{$product.link|escape:'htmlall':'UTF-8'}">{$product.name|truncate:40:'...'|escape:'htmlall':'UTF-8'}</a>
|
|
||||||
{if isset($product.attributes_small)}
|
|
||||||
<br /><i>{$product.attributes_small|escape:'htmlall':'UTF-8'}</i>
|
|
||||||
{/if}</span>
|
|
||||||
</td>
|
|
||||||
<td class="align_center">
|
|
||||||
<a href="{$base_dir_ssl}modules/mailalerts/myalerts.php?action=delete&id_product={$product.id_product}{if $product.id_product_attribute}&id_product_attribute={$product.id_product_attribute}{/if}"><img src="{$content_dir}modules/mailalerts/img/delete.gif" alt="{l s='Delete' mod='mailalerts'}" /></a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
{/foreach}
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div id="block-order-detail"> </div>
|
|
||||||
{else}
|
|
||||||
<p class="warning">{l s='You are not subscribed to any alerts.' mod='mailalerts'}</p>
|
|
||||||
{/if}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<ul class="footer_links">
|
|
||||||
<li><a href="{$link->getPageLink('my-account.php', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account.php', true)}">{l s='Back to Your Account' mod='mailalerts'}</a></li>
|
|
||||||
<li><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /></a><a href="{$base_dir}">{l s='Home' mod='mailalerts'}</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>*}
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('document').ready(function()
|
$('document').ready(function()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user