From c2184d6add23d9b0ca44dbbc5d026ab4f482dceb Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 31 Jul 2021 16:35:42 -0700 Subject: added pop route for removing archived posts. removed seeing archive page when not archived posts. --- static/archive.html | 9 +++++++++ static/ncatalog.html | 4 ++++ static/nposts.html | 4 ++++ 3 files changed, 17 insertions(+) (limited to 'static') diff --git a/static/archive.html b/static/archive.html index 2b7d69a..aa37c94 100644 --- a/static/archive.html +++ b/static/archive.html @@ -39,6 +39,9 @@ + {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} + + {{ end }} @@ -46,12 +49,18 @@ {{ range $i, $e := .Posts }} {{ if mod $i 2 }} + {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} + + {{ end }} {{ else }} + {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} + + {{ end }} diff --git a/static/ncatalog.html b/static/ncatalog.html index 65a7d84..c51a5a3 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -19,7 +19,9 @@
@@ -86,7 +88,9 @@
diff --git a/static/nposts.html b/static/nposts.html index e70b982..6def8b2 100644 --- a/static/nposts.html +++ b/static/nposts.html @@ -17,7 +17,9 @@
@@ -27,7 +29,9 @@
-- cgit v1.2.3
No. Excerpt
[Pop]{{ short $board.Actor.Outbox $e.Id }} {{ shortExcerpt $e }} [View]
[Pop]{{ short $board.Actor.Outbox $e.Id }} {{ shortExcerpt $e }} [View]