diff options
author | FChannel <> | 2022-06-05 15:14:34 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 3ac22385f2cb2256db718e47f5ae3c6d13353b70 (patch) | |
tree | 49f12c0cc52661f1fd6661baf2f77fbd5c7f71de /views/layouts | |
parent | 0359d9d410b9ab597ed4a067d767ab59472b0c03 (diff) |
added janny managment for admin board pages
Diffstat (limited to 'views/layouts')
-rw-r--r-- | views/layouts/main.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layouts/main.html b/views/layouts/main.html index 5bc2ead..f5f446d 100644 --- a/views/layouts/main.html +++ b/views/layouts/main.html @@ -54,7 +54,7 @@ {{ end }} </ul> {{ if .page.Board.ModCred }} - {{ if eq .page.Board.ModCred .page.Board.Domain .page.Board.Actor.Id }} + {{ if or (eq .page.Board.ModCred .page.Board.Domain) (eq .page.Board.ModCred .page.Board.Actor.Id) }} <span id="manageboard">[<a href="/{{ .page.Key }}/{{ .page.Board.Name }}">Manage Board</a>]</span> {{ end }} {{ end }} |