Merge branch 'ticket-13505-retourMobile'

This commit is contained in:
Marion Muszynski 2017-06-29 14:24:30 +02:00
commit 967eac2c06

View File

@ -100,11 +100,14 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}';
<div class="product_title">
<h1 class="title sale_title">
{if isset($smarty.server.HTTP_REFERER) && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri}
<span class="gradient">
<a href="javascript:history.back()" class="button_small back" title="{l s='Back'}">{l s='Back'}</a>
</span>
{* {if isset($smarty.server.HTTP_REFERER) && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri}
<span class="gradient">
<a href="{$smarty.server.HTTP_REFERER|escape:'htmlall':'UTF-8'|secureReferrer}" class="button_small back" title="{l s='Back'}">{l s='Back'}</a>
</span>
{/if}
{/if} *}
<span>{$product->name|truncate:30:'...':true:false}</span>
</h1>
</div>