mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Add back ability to create albums in groups
This commit is contained in:
parent
c1317a6ff8
commit
6c0d543d26
1 changed files with 4 additions and 2 deletions
|
@ -23,9 +23,11 @@
|
|||
{else}
|
||||
{tr("albums", $count)}
|
||||
{/if}
|
||||
<span n:if="isset($thisUser) && $thisUser->getId() == $owner->getId()">
|
||||
|
||||
<span n:if="$canEdit" style="float: right;">
|
||||
|
|
||||
<a href="/albums/create">{_create_album}</a>
|
||||
{var isClub = ($owner instanceof \openvk\Web\Models\Entities\Club)}
|
||||
<a href="/albums/create{$isClub ? '?gpid=' . $owner->getId() : ''}">{_create_album}</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue