From 9f0333ddc4fffb6ac8f5784c522100bff4a63d23 Mon Sep 17 00:00:00 2001 From: Azareal Date: Wed, 12 Feb 2020 13:08:02 +1000 Subject: [PATCH] hide the create convo option on the convo list when we don't have permission for that --- templates/convos.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/convos.html b/templates/convos.html index 025cf210..aefe6297 100644 --- a/templates/convos.html +++ b/templates/convos.html @@ -1,10 +1,10 @@

{{lang "convos_head"}}

- {{if not .CurrentUser.IsBanned}}

{{lang "convos_create"}}

{{end}} + {{if .CurrentUser.Perms.UseConvos or .CurrentUser.Perms.UseConvosIfWithMod}}

{{lang "convos_create"}}

{{end}}
-{{if not .CurrentUser.IsBanned}} +{{if .CurrentUser.Perms.UseConvos or .CurrentUser.Perms.UseConvosIfWithMod}}