diff options
author | FChannel <=> | 2021-02-04 12:33:42 -0800 |
---|---|---|
committer | FChannel <=> | 2021-02-04 12:33:42 -0800 |
commit | 1df70fec27ab5e4aa3dff8521767454be6b5498c (patch) | |
tree | 4902b557879b46f37103ac7a62c62833796c8c22 /static/main.html | |
parent | f6eecc720abaefb954fda9a26aab78bb1d706ba4 (diff) |
when merging boards into a feed show the board color based on posts restrictions
Diffstat (limited to 'static/main.html')
-rw-r--r-- | static/main.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/main.html b/static/main.html index 7d5d236..dd9d0c0 100644 --- a/static/main.html +++ b/static/main.html @@ -19,7 +19,7 @@ } body { - {{ if .Board.Restricted }} + {{ if .Board.Post.Actor.Restricted }} background-color: #eef2fe; color: black; {{ else }} @@ -29,7 +29,7 @@ } .popup-box { - {{ if .Board.Restricted }} + {{ if .Board.Post.Actor.Restricted }} border: 4px solid #d3caf0; background-color: #eff5ff; {{ else }} @@ -43,7 +43,7 @@ } .reply { - {{ if .Board.Restricted }} + {{ if .Board.Post.Actor.Restricted }} color:#af0a0f; {{ else }} color:#000080; @@ -51,7 +51,7 @@ } .post { - {{ if .Board.Restricted }} + {{ if .Board.Post.Actor.Restricted }} background-color: #d5daf0; {{ else }} background-color: #f0e0d6; |