Groups: Show number of administrators when their list is collapsed

This commit is contained in:
Maxim Leshchenko 2021-11-16 13:01:33 +02:00
parent c383a3cdc9
commit 4daa1afea4
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE

View file

@ -135,12 +135,14 @@
</div>
</div>
<div n:if="$club->getAdministratorsListDisplay() == 1">
<div class="content_title_expanded" onclick="hidePanel(this);">
{var managersCount = $club->getManagersCount(true)}
<div class="content_title_expanded" onclick="hidePanel(this, {$managersCount});">
{_"administrators"}
</div>
<div>
<div class="content_subtitle">
{tr("administrators", $club->getManagersCount(true))}
{tr("administrators", $managersCount)}
<div style="float: right;">
<a href="/club{$club->getId()}/followers?onlyAdmins=1">{_"all_title"}</a>
</div>