ACC SHELL
{** BLOCK detail **}
{ax object=$G.result.object}
<span class="datum_nastup">{'datum_nastupu'|l:$this->group}: {$object->datum_nastupu|h}</span>
<div class="text">
{$object->text}
</div>
{** BLOCK list-item **}
{a url='get-url'|l:$this->group}{a url=#lpath#|cat:$url}
<a class="title" href="{$url}{$object->url|h}">{$object->title|h}</a>
{** BLOCK list **}
{foreach item=object from=$G.result.objects.list}
{template __file='::list-item' object=$object}
{/foreach}
{** BLOCK @get **}
{a result=$G.invocation->dispatch()}
{$View::title()}
{$View::common('messages-output')}
{if ($G.result.object->g)}
{template __file='::list'}
{else}
{template __file='::detail'}
{/if}
{** ENDBLOCK **}
ACC SHELL 2018