put the Manage and Create New buttons on the Conference List page
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ _(italicized items can be deferred)_
|
||||
- _Calendar (top menu link)_
|
||||
- _Chat (top menu link)_
|
||||
- _Documentation (top menu link)_
|
||||
- Quote banner rotation
|
||||
- Sysadmin Menu:
|
||||
- Edit Global Properties
|
||||
- View/Edit IP Address Bans
|
||||
@@ -20,6 +21,8 @@ _(italicized items can be deferred)_
|
||||
- Import User Accounts
|
||||
- Conferences list:
|
||||
- Find
|
||||
- Manage
|
||||
- Create New
|
||||
- Community Admin Menu:
|
||||
- Set Community Category
|
||||
- Set Community Services
|
||||
|
||||
+13
-1
@@ -52,10 +52,22 @@
|
||||
|
||||
<!-- Action Buttons -->
|
||||
<div class="flex gap-4">
|
||||
<a href="/find?mode=PST"
|
||||
<a href="TODO"
|
||||
class="inline-block bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded font-medium transition-colors">
|
||||
Find Posts
|
||||
</a>
|
||||
{{ if canManage }}
|
||||
<a href="TODO"
|
||||
class="inline-block bg-gray-600 hover:bg-gray-700 text-white px-6 py-2 rounded font-medium transition-colors">
|
||||
Manage
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if canCreate }}
|
||||
<a href="TODO"
|
||||
class="inline-block bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded font-medium transition-colors">
|
||||
Create New
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<!-- Information Note -->
|
||||
|
||||
Reference in New Issue
Block a user