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(
|
await WebhookHelper.SendWebhook(
|
||||||
title: "New grief report",
|
title: "New grief report",
|
||||||
description: $"Submitted by {user.Username}\n" +
|
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
|
dest: WebhookHelper.WebhookDestination.Moderation
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,11 @@
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<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>
|
<i class="checkmark icon"></i>
|
||||||
<span>Dismiss</span>
|
<span>Dismiss</span>
|
||||||
</a>
|
</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>
|
<i class="trash icon"></i>
|
||||||
<span>Remove all related assets</span>
|
<span>Remove all related assets</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@page "/admin/report/{reportId:int}"
|
@page "/moderation/report/{reportId:int}"
|
||||||
@model LBPUnion.ProjectLighthouse.Servers.Website.Pages.ReportPage
|
@model LBPUnion.ProjectLighthouse.Servers.Website.Pages.ReportPage
|
||||||
|
|
||||||
@{
|
@{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue