put the Manage and Create New buttons on the Conference List page

This commit is contained in:
2026-01-31 22:43:59 -07:00
parent 38ed57d207
commit 84df44cad2
3 changed files with 18 additions and 1 deletions
+2
View File
@@ -46,6 +46,8 @@ func Conferences(ctxt ui.AmContext) (string, any, error) {
return ui.ErrorPage(ctxt, err)
}
ctxt.VarMap().Set("conferences", clist)
ctxt.VarMap().Set("canCreate", comm.TestPermission("Community.Create", ctxt.EffectiveLevel()))
ctxt.VarMap().Set("canManage", comm.TestPermission("Community.Create", ctxt.EffectiveLevel()))
return "framed_template", "conflist.jet", err
}