{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()} фотографий
Обновлен {$x->getEditTime() ?? $x->getCreationTime()}
Создан {$x->getCreationTime()}
{/block}