forked from PrestaShop/hummingbird
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmailalerts-account-line.tpl
More file actions
24 lines (23 loc) · 1.11 KB
/
mailalerts-account-line.tpl
File metadata and controls
24 lines (23 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{$componentName = 'mailalerts-account-line'}
<div class="{$componentName} d-flex flex-column position-relative">
<a href="{$mailAlert.link}" class="text-center">
<img src="{$mailAlert.cover_url}" alt="" />
</a>
<a class="mt-2" href="{$mailAlert.link}">
<div class="{$componentName}__product d-flex flex-column">
<span class="{$componentName}__product__name">{$mailAlert.name}</span>
<span class="{$componentName}__product__attributes mt-1">{$mailAlert.attributes_small}</span>
</div>
</a>
<a href="#"
title="{l s='Remove mail alert' d='Modules.Emailalerts.Shop'}"
class="js-remove-email-alert btn btn-link {$componentName}__remove"
rel="js-id-emailalerts-{$mailAlert.id_product|intval}-{$mailAlert.id_product_attribute|intval}"
data-url="{url entity='module' name='ps_emailalerts' controller='actions' params=['process' => 'remove']}">
<i class="material-icons" aria-label="{l s='Delete' d='Modules.Emailalerts.Shop'}">delete</i>
</a>
</div>