openvk/Web/Presenters/templates/User/Groups.xml
2020-06-07 19:04:43 +03:00

43 lines
1,001 B
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{extends "../@listView.xml"}
{var iterator = $user->getClubs($page)}
{var count = $user->getClubCount()}
{block title}Группы{/block}
{block header}
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a> » {_"groups"}
<div n:if="!is_null($thisUser) && $user->getId() === $thisUser->getId()" style="float:right;">
<span>
<b>
<a href="/groups_create">
{_"create_group"}
</a>
</b>
</span>
</div>
{/block}
{block actions}
<div class="tile">
<a href="javascript:alert('Не запилил')" class="profile_link">Поиск групп</a>
</div>
{/block}
{* BEGIN ELEMENTS DESCRIPTION *}
{block link|strip|stripHtml}
{$x->getURL()}
{/block}
{block preview}
<img src="{$x->getAvatarUrl()}" width="75" alt="Фотография группы" />
{/block}
{block name}
{$x->getName()}
{/block}
{block description}
{$x->getDescription()}
{/block}