Code improvements

This commit is contained in:
Maxim Leshchenko 2021-11-05 12:32:55 +02:00
parent b15b9643a0
commit d05c181e63

View file

@ -105,8 +105,7 @@
{_"group_type_open"}
</div>
</div>
{if $club->getAdministratorsListDisplay() == 0}
<div>
<div n:if="$club->getAdministratorsListDisplay() == 0">
<div class="content_title_expanded" onclick="hidePanel(this);">
{_"creator"}
</div>
@ -119,8 +118,7 @@
</ul>
</div>
</div>
{elseif $club->getAdministratorsListDisplay() == 1}
<div>
<div n:if="$club->getAdministratorsListDisplay() == 1">
<div class="content_title_expanded" onclick="hidePanel(this);">
{_"administrators"}
</div>
@ -134,15 +132,12 @@
<a href="{$manager->getURL()}"><b>{$manager->getCanonicalName()}</b></a>
</li>
{var managersCount = $club->getManagersCount()}
{if $managersCount > 7}
<li>
<li n:if="$managersCount > 7">
<b>{tr("and_more", $managersCount - 7)}</b>
</li>
{/if}
</ul>
</div>
</div>
{/if}
<div n:if="$albumsCount > 0">
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
{_"albums"}