openvk/Web/Presenters/templates/Support/List.xml

45 lines
1.3 KiB
XML
Raw Normal View History

2020-06-07 19:04:43 +03:00
{extends "../@listView.xml"}
{block title}
Helpdesk
{/block}
{block header}
Helpdesk » {_support_tickets}
2020-06-07 19:04:43 +03:00
{/block}
{block tabs}
<div n:attr="id => ($act === 'open' ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($act === 'open' ? 'act_tab_a' : 'ki')" href="?">{_support_opened}</a>
2020-06-07 19:04:43 +03:00
</div>
<div n:attr="id => ($act === 'answered' ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($act === 'answered' ? 'act_tab_a' : 'ki')" href="?act=answered">{_support_answered}</a>
2020-06-07 19:04:43 +03:00
</div>
<div n:attr="id => ($act === 'closed' ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($act === 'closed' ? 'act_tab_a' : 'ki')" href="?act=closed">{_support_closed}</a>
2020-06-07 19:04:43 +03:00
</div>
{/block}
{* BEGIN ELEMENTS DESCRIPTION *}
{block link|strip|stripHtml}
/support/reply/{$x->getId()}
{/block}
{block preview}
<center>
<img src="/assets/packages/static/openvk/img/note_icon.png" alt="{_support_ticket}" style="margin-top: 8px;">
2020-06-07 19:04:43 +03:00
</center>
{/block}
{block name}
{$x->getName()}
{/block}
{block description}
2022-04-24 08:06:45 +03:00
{var $author = $x->getUser()}
2020-06-07 19:04:43 +03:00
{ovk_proc_strtr($x->getContext(), 50)}<br/>
<span class="nobold">{_author}: </span> <a href="{$author->getURL()}">{$author->getCanonicalName()}</a>
2020-06-07 19:04:43 +03:00
{/block}