1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 22:04:26 +03:00
ifhub.club/application/frontend/components/property/output/property.image.tpl
2016-12-27 15:57:29 +07:00

15 lines
465 B
Smarty

{$valueType = $property->getValue()->getValueTypeObject()}
<div class="ls-property">
<div class="ls-property-list-item-label">
{$property->getTitle()}
</div>
{if $valueType->getImageWebPath()}
<a href="{$valueType->getImageWebPath()}" class="js-lbx" target="_blank">
<img src="{$valueType->getImageWebPath( $valueType->getImageSizeFirst() )}" >
</a>
{else}
{lang 'property.image.empty'}
{/if}
</div>