From b46552663db57f1a39f8a0575dc4300b9c510f28 Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Fri, 7 Jan 2022 02:14:31 +0200 Subject: [PATCH] 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 --- Web/Presenters/templates/Support/Index.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Web/Presenters/templates/Support/Index.xml b/Web/Presenters/templates/Support/Index.xml index dd1791c2..8f0f8737 100644 --- a/Web/Presenters/templates/Support/Index.xml +++ b/Web/Presenters/templates/Support/Index.xml @@ -15,7 +15,7 @@
{_support_faq}
-
+
@@ -70,6 +70,10 @@ + {if $count < 1} + {include "../components/nothing.xml"} + {/if} +
{include "../components/paginator.xml", conf => (object) [ "page" => $page,