mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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}
|
{else}
|
||||||
{tr("albums", $count)}
|
{tr("albums", $count)}
|
||||||
{/if}
|
{/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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue