mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
37 lines
797 B
XML
37 lines
797 B
XML
{extends "../@listView.xml"}
|
|
{var iterator = iterator_to_array($notes)}
|
|
{var page = $paginatorConf->page}
|
|
|
|
{block title}{_notes}{/block}
|
|
|
|
{block header}
|
|
<a href="{$owner->getURL()}">{$owner->getCanonicalName()}</a>
|
|
»
|
|
{_notes}
|
|
|
|
<div n:if="isset($thisUser) && $thisUser->getId() == $owner->getId()" style="float:right;">
|
|
<a href="/notes/create">{_create_note}</a>
|
|
</div>
|
|
{/block}
|
|
|
|
{block actions}
|
|
|
|
{/block}
|
|
|
|
{* BEGIN ELEMENTS DESCRIPTION *}
|
|
|
|
{block link|strip|stripHtml}
|
|
/note{$x->getPrettyId()}
|
|
{/block}
|
|
|
|
{block preview}
|
|
<center><img src="/assets/packages/static/openvk/img/note_icon.png" alt="{_note}" style="margin-top: 17px;" /></center>
|
|
{/block}
|
|
|
|
{block name}
|
|
{$x->getName()}
|
|
{/block}
|
|
|
|
{block description}
|
|
{$x->getPreview(250)}
|
|
{/block}
|