From 6c0d543d264f07367f1ac9427fea264ddbc004f9 Mon Sep 17 00:00:00 2001 From: Celestora Date: Wed, 6 Apr 2022 12:47:56 +0300 Subject: [PATCH] Add back ability to create albums in groups --- Web/Presenters/templates/Photos/AlbumList.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Web/Presenters/templates/Photos/AlbumList.xml b/Web/Presenters/templates/Photos/AlbumList.xml index 52ac12b2..e03a6c63 100644 --- a/Web/Presenters/templates/Photos/AlbumList.xml +++ b/Web/Presenters/templates/Photos/AlbumList.xml @@ -23,9 +23,11 @@ {else} {tr("albums", $count)} {/if} - + +  |  - {_create_album} + {var isClub = ($owner instanceof \openvk\Web\Models\Entities\Club)} + {_create_album}