From f6eecc720abaefb954fda9a26aab78bb1d706ba4 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Wed, 3 Feb 2021 23:50:10 -0800 Subject: sorted board list --- static/admin.html | 4 ++-- static/faq.html | 6 +++++- static/main.html | 2 +- static/manage.html | 8 ++++---- static/ncatalog.html | 6 +++--- static/npost.html | 4 ++-- static/posts.html | 34 +++++++++++++++++----------------- static/rules.html | 6 +++++- 8 files changed, 39 insertions(+), 31 deletions(-) (limited to 'static') diff --git a/static/admin.html b/static/admin.html index f7db70c..a4c61c1 100644 --- a/static/admin.html +++ b/static/admin.html @@ -33,10 +33,10 @@


- +
{{ if .Board.ModCred }} - {{ if eq .Board.ModCred .Board.Domain .Board.Actor }} + {{ if eq .Board.ModCred .Board.Domain .Board.Actor.Id }} [Manage Board] {{ end }} {{ end }} diff --git a/static/manage.html b/static/manage.html index 3a86f7a..06288cd 100644 --- a/static/manage.html +++ b/static/manage.html @@ -16,7 +16,7 @@ [Return] -{{ $actor := .Actor }} +{{ $actor := .Actor.Id }} {{ $board := .Board }} {{ $key := .Key }} {{ if .IsLocal }} @@ -26,7 +26,7 @@

- +