mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Support: Make the behavior when the user has no tickets more friendly
Specifically, do not display a link to the list and display a message in the list instead of nothing if there are no tickets. Closes #394
This commit is contained in:
parent
9feea4302a
commit
b46552663d
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
<div n:attr="id => ($isMain ? 'activetabs' : 'ki')" class="tab">
|
||||
<a n:attr="id => ($isMain ? 'act_tab_a' : 'ki')" href="/support">{_support_faq}</a>
|
||||
</div>
|
||||
<div n:attr="id => ($isList ? 'activetabs' : 'ki')" class="tab">
|
||||
<div n:if="$count > 0" n:attr="id => ($isList ? 'activetabs' : 'ki')" class="tab">
|
||||
<a n:attr="id => ($isList ? 'act_tab_a' : 'ki')" href="/support?act=list">{_support_list}</a>
|
||||
</div>
|
||||
<div n:attr="id => ($isNew ? 'activetabs' : 'ki')" class="tab">
|
||||
|
@ -70,6 +70,10 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
{if $count < 1}
|
||||
{include "../components/nothing.xml"}
|
||||
{/if}
|
||||
|
||||
<div style="padding: 8px;">
|
||||
{include "../components/paginator.xml", conf => (object) [
|
||||
"page" => $page,
|
||||
|
|
Loading…
Reference in a new issue