{extends "../@listView.xml"} {var $iterator = iterator_to_array($notes)} {block title}{_notes}{/block} {block header} {if isset($thisUser) && $thisUser->getId() == $owner->getId()} {_my_notes} {else} {$owner->getCanonicalName()} » {_notes} {/if} {/block} {block size}
{tr("notes_list", $count)}  |  {_create_note}
{/block} {block actions} {/block} {* BEGIN ELEMENTS DESCRIPTION *} {block specpage}
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)} {if sizeof($data) > 0}
{include "../components/paginator.xml", conf => (object) [ "page" => $page, "count" => $count, "amount" => sizeof($data), "perPage" => 10, "atBottom" => true, ]} {else} {if isset($thisUser) && $thisUser->getId() == $owner->getId()}

{_welcome}

{_notes_start_screen}
{else} {ifset customErrorMessage} {include ../customErrorMessage} {else} {include ../components/nothing.xml} {/ifset} {/if} {/if}
{/block}