mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Groups: Display list of group albums to administrators, even if it is empty
The same behavior has already been implemented with discussions. What for? Previously, to create a group album, it was necessary to manipulate the address. There was no other method. Now this empty list will serve as a button for administrators to create an album and show that such a possibility exists.
This commit is contained in:
parent
413e2ac6f0
commit
9e01d0adba
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div n:if="$albumsCount > 0">
|
<div n:if="$albumsCount > 0 || ($thisUser && $club->canBeModifiedBy($thisUser))">
|
||||||
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
|
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
|
||||||
{_"albums"}
|
{_"albums"}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue