From d1c8716c3e1eebde7e028ff675120854320a714a Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Wed, 10 Nov 2021 16:14:34 -0400 Subject: index is visible --- views/partials/posts.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'views/partials') diff --git a/views/partials/posts.html b/views/partials/posts.html index f82d2d5..a248650 100644 --- a/views/partials/posts.html +++ b/views/partials/posts.html @@ -7,7 +7,7 @@
{{ end }}
-
+
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }} [Delete Post] {{ end }} @@ -47,17 +47,17 @@ {{ .Name }} {{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} {{ .TripCode }} - {{ .Published | timeToReadableLong }} No. {{ short $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} + {{ .Published | timeToReadableLong }} No. {{ shortURL $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }}

{{ parseContent $board.Actor $opId .Content $thread }}

{{ if .Replies }} {{ $replies := .Replies }} {{ if gt $replies.TotalItems 5 }} {{ if gt $len 1 }} - {{ $replies.TotalItems }} replies{{ if gt $replies.TotalImgs 0}} and {{ $replies.TotalImgs }} images{{ end }}, Click here to view all. + {{ $replies.TotalItems }} replies{{ if gt $replies.TotalImgs 0}} and {{ $replies.TotalImgs }} images{{ end }}, Click here to view all. {{ end }} {{ end }} {{ range $replies.OrderedItems }} -
+
>>
@@ -102,7 +102,7 @@ {{ .Name }} {{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} {{ .TripCode }} - {{ .Published | timeToReadableLong }} No. {{ short $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} + {{ .Published | timeToReadableLong }} No. {{ shortURL $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} {{ $parentId := .Id }} {{ if .Replies.OrderedItems }} {{ range .Replies.OrderedItems }} -- cgit v1.2.3