mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-14 13:52:28 +00:00
Fix report urls
This commit is contained in:
parent
5c47a52c70
commit
82c5a80f32
3 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@ public class ReportController : ControllerBase
|
|||
await WebhookHelper.SendWebhook(
|
||||
title: "New grief report",
|
||||
description: $"Submitted by {user.Username}\n" +
|
||||
$"To view it, click [here]({ServerConfiguration.Instance.ExternalUrl}/admin/report/{report.ReportId}).",
|
||||
$"To view it, click [here]({ServerConfiguration.Instance.ExternalUrl}/moderation/report/{report.ReportId}).",
|
||||
dest: WebhookHelper.WebhookDestination.Moderation
|
||||
);
|
||||
|
||||
|
|
|
@ -42,11 +42,11 @@
|
|||
</div>
|
||||
<br>
|
||||
|
||||
<a class="ui green small button" href="/admin/report/@Model.ReportId/dismiss">
|
||||
<a class="ui green small button" href="/moderation/report/@Model.ReportId/dismiss">
|
||||
<i class="checkmark icon"></i>
|
||||
<span>Dismiss</span>
|
||||
</a>
|
||||
<a class="ui red small button" href="/admin/report/@Model.ReportId/remove">
|
||||
<a class="ui red small button" href="/moderation/report/@Model.ReportId/remove">
|
||||
<i class="trash icon"></i>
|
||||
<span>Remove all related assets</span>
|
||||
</a>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@page "/admin/report/{reportId:int}"
|
||||
@page "/moderation/report/{reportId:int}"
|
||||
@model LBPUnion.ProjectLighthouse.Servers.Website.Pages.ReportPage
|
||||
|
||||
@{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue