Populate users for Spotter template

This commit is contained in:
Disassembler 2022-03-08 11:32:59 +01:00
parent 978d06519a
commit 41218a4216
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 14 additions and 1601 deletions

View File

@ -23,7 +23,7 @@ def config(settings):
# ["default", "default/users"]
# Unless doing a manual DB migration, where prepopulate = 0
# In Production, prepopulate = 0 (to save 1x DAL hit every page)
settings.base.prepopulate.append("Spotter")
settings.base.prepopulate.extend(("Spotter", "default/users"))
# Uncomment this to prefer scalability-optimized strategies globally
#settings.base.bigtable = True
@ -1276,11 +1276,17 @@ def config(settings):
restricted = True,
module_type = 10,
)),
("vulnerability", Storage(
name_nice = T("Vulnerability"),
#description = "Manages vulnerability indicators",
restricted = True,
module_type = 10,
#("vulnerability", Storage(
# name_nice = T("Vulnerability"),
# #description = "Manages vulnerability indicators",
# restricted = True,
# module_type = 10,
#)),
("work", Storage(
name_nice = T("Jobs"),
#description = "Simple Volunteer Jobs Management",
restricted = False,
module_type = None,
)),
# These are specialist modules
("cap", Storage(

View File

@ -5,6 +5,7 @@
../themes/default/shortcut.css
../themes/default/homepage.css
font-awesome/font-awesome.css
#plugins/fancyzoom.css
plugins/jquery.cluetip.css
plugins/jquery.dataTables.css
plugins/jquery.dataTables.responsive.css
@ -46,5 +47,6 @@ d3/nv.d3.css
../themes/default/survey.css
../themes/default/newsfeed.css
../themes/default/theme.css
#../themes/default/style.css
# Final line required for parsing