Report: Fix URL

This commit is contained in:
Ilya Prokopenko 2022-08-10 20:43:36 +07:00
parent f3570a11fd
commit 48896b736c
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56
3 changed files with 5 additions and 5 deletions

View file

@ -179,7 +179,7 @@
(<b>{$helpdeskTicketNotAnsweredCount}</b>) (<b>{$helpdeskTicketNotAnsweredCount}</b>)
{/if} {/if}
</a> </a>
<a href="/support/reports" class="link" n:if="$canAccessHelpdesk">Reports <a href="/admin/support/reports" class="link" n:if="$canAccessHelpdesk">Reports
{if $reportNotAnsweredCount > 0} {if $reportNotAnsweredCount > 0}
(<b>{$reportNotAnsweredCount}</b>) (<b>{$reportNotAnsweredCount}</b>)
{/if} {/if}

View file

@ -15,7 +15,7 @@
{* BEGIN ELEMENTS DESCRIPTION *} {* BEGIN ELEMENTS DESCRIPTION *}
{block link|strip|stripHtml} {block link|strip|stripHtml}
/support/report{$x->getId()} /admin/support/report{$x->getId()}
{/block} {/block}
{block preview} {block preview}

View file

@ -3,16 +3,16 @@
{block title}{$report->getReason()}{/block} {block title}{$report->getReason()}{/block}
{block header} {block header}
<a href="/support/reports">{_list_of_reports}</a> <a href="/admin/support/reports">{_list_of_reports}</a>
» »
{_report_number}{$report->getId()} {_report_number}{$report->getId()}
{/block} {/block}
{block content} {block content}
<p><b>{_comment}: </b>{$report->getReason()}</p> <p><b>{_comment}: </b>{$report->getReason()}</p>
{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}
<center> <center>
<form action="/support/reportAction{$report->getId()}" method="post"> <form action="/admin/support/reportAction{$report->getId()}" method="post">
<input type="hidden" name="hash" value="{$csrfToken}" /> <input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" name="ban" value="{_ban_user_action}" class="button"> <input type="submit" name="ban" value="{_ban_user_action}" class="button">
<input type="submit" name="delete" value="{_delete}" class="button"> <input type="submit" name="delete" value="{_delete}" class="button">