Files
drmaterac.pl/modules/x13gpsr/views/templates/hook/info.tpl
2025-03-21 20:24:43 +01:00

58 lines
2.7 KiB
Smarty

{if $x13gpsr.config.displayManufacturerLogo && $x13gpsr.hasManufacturer}
<p class="x13gpsr__manufacturer">
{if $x13gpsr.manufacturerLogo}
<a href="{$x13gpsr.manufacturerUrl}" title="{$x13gpsr.manufacturerName}">
<img src="{$x13gpsr.manufacturerLogo}" alt="{$x13gpsr.manufacturerName}">
</a>
{else}
{l s='Manufacturer' mod='x13gpsr'}: <a href="{$x13gpsr.manufacturerUrl}" title="{$x13gpsr.manufacturerName}">{$x13gpsr.manufacturerName}</a>
{/if}
</a>
</p>
{/if}
{if !empty($x13gpsr.responsibleManufacturer)}
<p class="x13gpsr__list">
<strong class="x13gpsr__item">{l s='Manufacturer' mod='x13gpsr'}</strong>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.name}</span>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.address}</span>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.postcode}
{$x13gpsr.responsibleManufacturer.city}</span>
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.country}</span>
<a class="x13gpsr__item"
href="mailto:{$x13gpsr.responsibleManufacturer.email}">{$x13gpsr.responsibleManufacturer.email}</a>
{if $x13gpsr.responsibleManufacturer.phone}
<span class="x13gpsr__item">{$x13gpsr.responsibleManufacturer.phone}</span>
{/if}
</p>
{if !empty($x13gpsr.responsibleManufacturer.extra_note)}
<div class="x13gpsr__extraNote">
{$x13gpsr.responsibleManufacturer.extra_note nofilter}
</div>
{/if}
{/if}
{if !empty($x13gpsr.responsiblePerson)}
<p class="x13gpsr__list">
<strong class="x13gpsr__item">{l s='Responsible person' mod='x13gpsr'}</strong>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.name}</span>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.address}</span>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.postcode} {$x13gpsr.responsiblePerson.city}</span>
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.country}</span>
<a class="x13gpsr__item" href="mailto:{$x13gpsr.responsiblePerson.email}">{$x13gpsr.responsiblePerson.email}</a>
{if $x13gpsr.responsiblePerson.phone}
<span class="x13gpsr__item">{$x13gpsr.responsiblePerson.phone}</span>
{/if}
</p>
{if !empty($x13gpsr.responsiblePerson.extra_note)}
<div class="x13gpsr__extraNote">
{$x13gpsr.responsiblePerson.extra_note nofilter}
</div>
{/if}
{/if}
{if $x13gpsr.config.displayExtraSafetyInformation}
<div class="x13gpsr__informations">
{$x13gpsr.extraSafetyInformation nofilter}
</div>
{/if}