Add Sahana config changes discussed in #100

This commit is contained in:
Disassembler 2017-10-02 11:28:24 +02:00
parent 768d8b9680
commit 7fb35141b9

View File

@ -63,7 +63,7 @@ def config(settings):
# Uncomment this to default the Organisation during registration # Uncomment this to default the Organisation during registration
settings.auth.registration_organisation_default = "My Organisation" settings.auth.registration_organisation_default = "My Organisation"
# Uncomment this to request the Organisation Group when a user registers # Uncomment this to request the Organisation Group when a user registers
#settings.auth.registration_requests_organisation_group = True settings.auth.registration_requests_organisation_group = True
# Uncomment this to have the Organisation Group selection during registration be mandatory # Uncomment this to have the Organisation Group selection during registration be mandatory
#settings.auth.registration_organisation_group_required = True #settings.auth.registration_organisation_group_required = True
# Uncomment this to request the Site when a user registers # Uncomment this to request the Site when a user registers
@ -157,9 +157,9 @@ def config(settings):
# Uncomment this to Translate CMS Series Names # Uncomment this to Translate CMS Series Names
#settings.L10n.translate_cms_series = True #settings.L10n.translate_cms_series = True
# Uncomment this to Translate Layer Names # Uncomment this to Translate Layer Names
#settings.L10n.translate_gis_layer = True settings.L10n.translate_gis_layer = True
# Uncomment this to Translate Location Names # Uncomment this to Translate Location Names
#settings.L10n.translate_gis_location = True settings.L10n.translate_gis_location = True
# Uncomment this for Alternate Location Names # Uncomment this for Alternate Location Names
#settings.L10n.name_alt_gis_location = True #settings.L10n.name_alt_gis_location = True
# Uncomment this to Translate Organisation Names/Acronyms # Uncomment this to Translate Organisation Names/Acronyms
@ -264,7 +264,7 @@ def config(settings):
# Mouse Position: 'normal', 'mgrs' or None # Mouse Position: 'normal', 'mgrs' or None
#settings.gis.mouse_position = "mgrs" #settings.gis.mouse_position = "mgrs"
# Uncomment to show the Navigation controls on the toolbar # Uncomment to show the Navigation controls on the toolbar
#settings.gis.nav_controls = True settings.gis.nav_controls = True
# Uncomment to hide the Overview map # Uncomment to hide the Overview map
#settings.gis.overview = False #settings.gis.overview = False
# Uncomment to hide the permalink control # Uncomment to hide the permalink control
@ -366,7 +366,7 @@ def config(settings):
# Enable this to use the label 'Camp' instead of 'Shelter' # Enable this to use the label 'Camp' instead of 'Shelter'
#settings.ui.camp = True #settings.ui.camp = True
# Enable this to have Open links in IFrames open a full page in a new tab # Enable this to have Open links in IFrames open a full page in a new tab
#settings.ui.iframe_opens_full = True settings.ui.iframe_opens_full = True
# Enable this to change the label for 'Attachments' tabs # Enable this to change the label for 'Attachments' tabs
#settings.ui.label_attachments = "Attachments" #settings.ui.label_attachments = "Attachments"
# Uncomment to configure the LocationSelector labels for the Map button with Points # Uncomment to configure the LocationSelector labels for the Map button with Points
@ -381,7 +381,7 @@ def config(settings):
# Enable this to show pivot table options form by default # Enable this to show pivot table options form by default
#settings.ui.hide_report_options = False #settings.ui.hide_report_options = False
# Uncomment to show created_by/modified_by using Names not Emails # Uncomment to show created_by/modified_by using Names not Emails
#settings.ui.auth_user_represent = "name" settings.ui.auth_user_represent = "name"
# Uncomment to control the dataTables layout: https://datatables.net/reference/option/dom # Uncomment to control the dataTables layout: https://datatables.net/reference/option/dom
# Default: # Default:
#settings.ui.datatables_dom = "fril<'dataTable_table't>pi" #settings.ui.datatables_dom = "fril<'dataTable_table't>pi"
@ -398,7 +398,7 @@ def config(settings):
# Uncomment to include an Interim Save button on CRUD forms # Uncomment to include an Interim Save button on CRUD forms
settings.ui.interim_save = True settings.ui.interim_save = True
# Uncomment to enable icons on action buttons (requires corresponding CSS) # Uncomment to enable icons on action buttons (requires corresponding CSS)
#settings.ui.use_button_icons = True settings.ui.use_button_icons = True
# Uncomment to use S3MultiSelectWidget on all dropdowns (currently the Auth Registration page & LocationSelectorWidget2 listen to this) # Uncomment to use S3MultiSelectWidget on all dropdowns (currently the Auth Registration page & LocationSelectorWidget2 listen to this)
#settings.ui.multiselect_widget = True #settings.ui.multiselect_widget = True
# Theme for the S3HierarchyWidget # Theme for the S3HierarchyWidget
@ -418,7 +418,7 @@ def config(settings):
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Asset # Asset
# Uncomment to have a specific asset type for Telephones # Uncomment to have a specific asset type for Telephones
#settings.asset.telephones = True settings.asset.telephones = True
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# CMS # CMS
@ -530,9 +530,9 @@ def config(settings):
# NB Changing this setting requires a DB migration # NB Changing this setting requires a DB migration
#settings.event.cascade_delete_incidents = False #settings.event.cascade_delete_incidents = False
# Make Event Types Hierarchical # Make Event Types Hierarchical
#settings.event.types_hierarchical = True settings.event.types_hierarchical = True
# Make Incident Types Hierarchical # Make Incident Types Hierarchical
#settings.event.incident_types_hierarchical = True settings.event.incident_types_hierarchical = True
# Uncomment to allow the use of Exercise Events # Uncomment to allow the use of Exercise Events
settings.event.exercise = True settings.event.exercise = True
# Show tab for Event Dispatch # Show tab for Event Dispatch
@ -764,14 +764,14 @@ def config(settings):
settings.inv.recv_form_name = "Acknowledgement Receipt for Donations Received Form" settings.inv.recv_form_name = "Acknowledgement Receipt for Donations Received Form"
settings.inv.recv_shortname = "ARDR" settings.inv.recv_shortname = "ARDR"
# Types common to both Send and Receive # Types common to both Send and Receive
#settings.inv.shipment_types = { settings.inv.shipment_types = {
# 0: T("-"), 0: T(""),
# 1: T("Other Warehouse"), 1: T("Other Warehouse"),
# 2: T("Donation"), 2: T("Donation"),
# 3: T("Foreign Donation"), 3: T("Foreign Donation"),
# 4: T("Local Purchases"), 4: T("Local Purchases"),
# 5: T("Confiscated Goods from Bureau Of Customs") 5: T("Confiscated Goods from Bureau Of Customs")
# } }
#settings.inv.send_types = { #settings.inv.send_types = {
# 21: T("Distribution") # 21: T("Distribution")
# } # }