{extends "windowFrame.tpl"} {block body_class}class="panel_frame"{/block} {block css append} {**} {/block} {block js} {$smarty.block.parent} {/block} {block content}
{if $body.photos == 0}
{'noPhotos'|translate:"products"}
{/if} {block top_buttons}
{* todo trans *}
{/block}

{'sectionPhotos'|translate:'products'}

{foreach $body.photos as $photo}
{block 'photo-row'} {/block}
{block 'info-row'}
{if $photo.show_in_lead == "Y"}
{/if}
{'added'|translate:'photos'}: {$photo.date|date_format:"%d. %m. %Y"}
{insert_llm_button type='image_description' target="data[{$photo.id}][descr]" entityType='photos' entityId=$photo.id}
{/block}
ID: {$photo.IDph}
{block "photos-custom-row"}{/block}
{if $body.variations|count > 1}
{if {find_module name="products_variations_photos"}} {/if}
{/if}
{/foreach}
{/block}