{extends "../@listView.xml"} {var $iterator = iterator_to_array($albums)} {var $page = $paginatorConf->page} {block title}{_albums} {$owner->getCanonicalName()}{/block} {block header} {if isset($thisUser) && $thisUser->getId() == $owner->getId()} {_my_photos} {else} {$owner->getCanonicalName()} ยป {_albums} {/if} {/block} {block size}
{if !is_null($thisUser) && $owner->getId() === $thisUser->getId()} {tr("albums_list", $count)} {else} {tr("albums", $count)} {/if}  |  {var $isClub = ($owner instanceof \openvk\Web\Models\Entities\Club)} {_create_album}
{/block} {block actions} {/block} {* BEGIN ELEMENTS DESCRIPTION *} {block link|strip|stripHtml} /album{$x->getPrettyId()} {/block} {block preview} {var $cover = $x->getCoverPhoto()} {var $preview = is_null($cover) ? "/assets/packages/static/openvk/img/camera_200.png" : $cover->getURLBySizeId("normal")} {$x->getName()} {/block} {block name} {$x->getName()} {/block} {block description} {$x->getDescription() ?? $x->getName()}
{$x->getPhotosCount()} {_photos}
{tr("updated_at", $x->getEditTime() ?? $x->getCreationTime())}
{_created} {$x->getCreationTime()}
{/block}