From 9d937e6f895ca7213ae759efca9b292a1d014ab3 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 3 Jun 2021 01:19:37 -0700 Subject: cleaning up removing posts --- static/ncatalog.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'static/ncatalog.html') diff --git a/static/ncatalog.html b/static/ncatalog.html index 81d31f3..a399d13 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -24,6 +24,7 @@ {{ end }}
+
{{ end }} +
{{ $replies := .Replies }} {{ if $replies }} @@ -71,12 +75,11 @@ {{ if .Content }} {{.Content}} {{ end }} -
-
+ {{ end }} -- cgit v1.2.3 From ca748944398e0ebbc0f27446d5e41bd5e4aa3852 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 3 Jun 2021 02:00:15 -0700 Subject: deleteing objects and cache objects put into single db commands --- static/ncatalog.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/ncatalog.html') diff --git a/static/ncatalog.html b/static/ncatalog.html index a399d13..43fd6fd 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -16,11 +16,11 @@ {{ range .Posts }}
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Post] + [Delete Post] {{ end }} {{ if .Attachment }} {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} - [Delete Attachment] + [Delete Attachment] {{ end }}
-- cgit v1.2.3 From cc24155859b65653495747bd0b38be9bcef33298 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 17 Jun 2021 00:21:07 -0700 Subject: added html meta data as well as basic hover effect on links --- static/ncatalog.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'static/ncatalog.html') diff --git a/static/ncatalog.html b/static/ncatalog.html index 43fd6fd..027a938 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -1,4 +1,16 @@ {{ define "header" }} +/{{ .Board.Name }}/ - catalog + + + + + + + + + + + {{ end }} -- cgit v1.2.3 From b4f7d00ad9d13f96323366ded2eb7702e37f6e52 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 19 Jun 2021 19:04:43 -0700 Subject: admin can mark objects as senstive --- static/ncatalog.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'static/ncatalog.html') diff --git a/static/ncatalog.html b/static/ncatalog.html index 027a938..deb8e27 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -33,15 +33,31 @@ {{ if .Attachment }} {{ if eq $board.ModCred $board.Domain $board.Actor.Id }}
[Delete Attachment] + [Mark Sensitive] {{ end }} - + + {{ if and .Sensitive $board.Actor.Restricted }} + + + {{ end }} +