aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorFChannel <>2022-06-04 11:08:51 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit89795236377c1db1821c7ccbbc48a94562a70995 (patch)
tree75fa016c2073008d766ef9da22ca5c4405ae8bb0 /views
parentfbc0e5e5f910ea64b6b18be1a354817c195a6f04 (diff)
made view reported posts less gimped
Diffstat (limited to 'views')
-rw-r--r--views/manage.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/views/manage.html b/views/manage.html
index af887e3..356e09a 100644
--- a/views/manage.html
+++ b/views/manage.html
@@ -45,7 +45,16 @@
<ul style="display: inline-block; padding: 0; margin: 0; list-style-type: none;">
{{ $domain := .page.Domain }}
{{ range .page.Reported }}
- <li><a id="rpost" post="{{ .ID }}" href=""></a> - <b>{{ .Count }}</b><span> "{{ .Reason }}" </span> [<a href="/delete?id={{ .ID }}&board={{ $board.Name }}&manage=t">Remove Post</a>] [<a href="/deleteattach?id={{ .ID }}&board={{ $board.Name }}&manage=t">Remove Attachment</a>] [<a href="/report?id={{ .ID }}&close=1&board={{ $board.Name }}">Close</a>]</li>
+ <li>
+ <a id="rpost" post="{{ .ID }}" href="{{ $board.Actor.Id }}/{{ shortURL $board.Actor.Outbox .ID }}">{{ shortURL $board.Actor.Outbox .ID }}</a> - <b>{{ .Count }}</b> [<a href="/delete?id={{ .ID }}&board={{ $board.Name }}&manage=t">Remove Post</a>] [<a href="/deleteattach?id={{ .ID }}&board={{ $board.Name }}&manage=t">Remove Attachment</a>] [<a href="/report?id={{ .ID }}&close=1&board={{ $board.Name }}">Close</a>]
+ <ul>
+ {{ range .Reason }}
+ <li>
+ <span>"{{ . }}" </span>
+ </li>
+ {{ end }}
+ </ul>
+ </li>
{{ end }}
</ul>
</div>