{extends "../@layout.xml"} {block title}{_album} {$album->getName()}{/block} {block header} {var $isClub = ($album->getOwner() instanceof openvk\Web\Models\Entities\Club)} {$album->getOwner()->getCanonicalName()} {if $isClub} » {_albums} {else} » {_albums} {/if} » {$album->getName()} {/block} {block content} {* TODO: Добавить склонения *} {$album->getPhotosCount()} {_photos} {if !is_null($thisUser) && $album->canBeModifiedBy($thisUser) && !$album->isCreatedBySystem()}  |  {_upload_photo}  |  {_edit_album} {/if}

{if $album->getPhotosCount() > 0}
{foreach $photos as $photo} {php if($photo->isDeleted()) continue; }
× {$photo->getDescription()}
{/foreach}
{include "../components/paginator.xml", conf => $paginatorConf} {else} {include "../components/nothing.xml"} {/if} {/block}