{extends "../@layout.xml"} {block title}Альбом {$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} {$album->getPhotosCount()} фотографий {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}