From 48896b736c097a425a3da6e158f0cffb27a12ec3 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Wed, 10 Aug 2022 20:43:36 +0700 Subject: [PATCH] Report: Fix URL --- Web/Presenters/templates/@layout.xml | 2 +- Web/Presenters/templates/Report/List.xml | 2 +- Web/Presenters/templates/Report/View.xml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Web/Presenters/templates/@layout.xml b/Web/Presenters/templates/@layout.xml index 6ef482cc..72c61747 100644 --- a/Web/Presenters/templates/@layout.xml +++ b/Web/Presenters/templates/@layout.xml @@ -179,7 +179,7 @@ ({$helpdeskTicketNotAnsweredCount}) {/if} - Reports + Reports {if $reportNotAnsweredCount > 0} ({$reportNotAnsweredCount}) {/if} diff --git a/Web/Presenters/templates/Report/List.xml b/Web/Presenters/templates/Report/List.xml index 7318788b..5abdc89b 100644 --- a/Web/Presenters/templates/Report/List.xml +++ b/Web/Presenters/templates/Report/List.xml @@ -15,7 +15,7 @@ {* BEGIN ELEMENTS DESCRIPTION *} {block link|strip|stripHtml} - /support/report{$x->getId()} + /admin/support/report{$x->getId()} {/block} {block preview} diff --git a/Web/Presenters/templates/Report/View.xml b/Web/Presenters/templates/Report/View.xml index d6dbaa91..9e05a1a7 100644 --- a/Web/Presenters/templates/Report/View.xml +++ b/Web/Presenters/templates/Report/View.xml @@ -3,16 +3,16 @@ {block title}{$report->getReason()}{/block} {block header} - {_list_of_reports} + {_list_of_reports} ยป {_report_number}{$report->getId()} {/block} {block content}

{_comment}: {$report->getReason()}

-{include "../components/post/oldpost.xml", post => $report->getContentObject(), forceNoDeleteLink => TRUE, forceNoShareLink => TRUE, forceNoLike => TRUE} +{include "../components/post/oldpost.xml", post => $report->getContentObject(), forceNoPinLink => TRUE, forceNoDeleteLink => TRUE, forceNoShareLink => TRUE, forceNoLike => TRUE}
-
+