mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Code improvements
This commit is contained in:
parent
b15b9643a0
commit
d05c181e63
1 changed files with 31 additions and 36 deletions
|
@ -105,8 +105,7 @@
|
||||||
{_"group_type_open"}
|
{_"group_type_open"}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{if $club->getAdministratorsListDisplay() == 0}
|
<div n:if="$club->getAdministratorsListDisplay() == 0">
|
||||||
<div>
|
|
||||||
<div class="content_title_expanded" onclick="hidePanel(this);">
|
<div class="content_title_expanded" onclick="hidePanel(this);">
|
||||||
{_"creator"}
|
{_"creator"}
|
||||||
</div>
|
</div>
|
||||||
|
@ -119,8 +118,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{elseif $club->getAdministratorsListDisplay() == 1}
|
<div n:if="$club->getAdministratorsListDisplay() == 1">
|
||||||
<div>
|
|
||||||
<div class="content_title_expanded" onclick="hidePanel(this);">
|
<div class="content_title_expanded" onclick="hidePanel(this);">
|
||||||
{_"administrators"}
|
{_"administrators"}
|
||||||
</div>
|
</div>
|
||||||
|
@ -134,15 +132,12 @@
|
||||||
<a href="{$manager->getURL()}"><b>{$manager->getCanonicalName()}</b></a>
|
<a href="{$manager->getURL()}"><b>{$manager->getCanonicalName()}</b></a>
|
||||||
</li>
|
</li>
|
||||||
{var managersCount = $club->getManagersCount()}
|
{var managersCount = $club->getManagersCount()}
|
||||||
{if $managersCount > 7}
|
<li n:if="$managersCount > 7">
|
||||||
<li>
|
|
||||||
<b>{tr("and_more", $managersCount - 7)}</b>
|
<b>{tr("and_more", $managersCount - 7)}</b>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
|
||||||
<div n:if="$albumsCount > 0">
|
<div n:if="$albumsCount > 0">
|
||||||
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
|
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
|
||||||
{_"albums"}
|
{_"albums"}
|
||||||
|
|
Loading…
Reference in a new issue