Add Sahana config changes discussed in #100
This commit is contained in:
parent
768d8b9680
commit
7fb35141b9
@ -63,7 +63,7 @@ def config(settings):
|
||||
# Uncomment this to default the Organisation during registration
|
||||
settings.auth.registration_organisation_default = "My Organisation"
|
||||
# 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
|
||||
#settings.auth.registration_organisation_group_required = True
|
||||
# Uncomment this to request the Site when a user registers
|
||||
@ -157,9 +157,9 @@ def config(settings):
|
||||
# Uncomment this to Translate CMS Series Names
|
||||
#settings.L10n.translate_cms_series = True
|
||||
# Uncomment this to Translate Layer Names
|
||||
#settings.L10n.translate_gis_layer = True
|
||||
settings.L10n.translate_gis_layer = True
|
||||
# Uncomment this to Translate Location Names
|
||||
#settings.L10n.translate_gis_location = True
|
||||
settings.L10n.translate_gis_location = True
|
||||
# Uncomment this for Alternate Location Names
|
||||
#settings.L10n.name_alt_gis_location = True
|
||||
# Uncomment this to Translate Organisation Names/Acronyms
|
||||
@ -264,7 +264,7 @@ def config(settings):
|
||||
# Mouse Position: 'normal', 'mgrs' or None
|
||||
#settings.gis.mouse_position = "mgrs"
|
||||
# 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
|
||||
#settings.gis.overview = False
|
||||
# Uncomment to hide the permalink control
|
||||
@ -366,7 +366,7 @@ def config(settings):
|
||||
# Enable this to use the label 'Camp' instead of 'Shelter'
|
||||
#settings.ui.camp = True
|
||||
# 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
|
||||
#settings.ui.label_attachments = "Attachments"
|
||||
# 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
|
||||
#settings.ui.hide_report_options = False
|
||||
# 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
|
||||
# Default:
|
||||
#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
|
||||
settings.ui.interim_save = True
|
||||
# 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)
|
||||
#settings.ui.multiselect_widget = True
|
||||
# Theme for the S3HierarchyWidget
|
||||
@ -418,7 +418,7 @@ def config(settings):
|
||||
# -------------------------------------------------------------------------
|
||||
# Asset
|
||||
# Uncomment to have a specific asset type for Telephones
|
||||
#settings.asset.telephones = True
|
||||
settings.asset.telephones = True
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# CMS
|
||||
@ -530,9 +530,9 @@ def config(settings):
|
||||
# NB Changing this setting requires a DB migration
|
||||
#settings.event.cascade_delete_incidents = False
|
||||
# Make Event Types Hierarchical
|
||||
#settings.event.types_hierarchical = True
|
||||
settings.event.types_hierarchical = True
|
||||
# Make Incident Types Hierarchical
|
||||
#settings.event.incident_types_hierarchical = True
|
||||
settings.event.incident_types_hierarchical = True
|
||||
# Uncomment to allow the use of Exercise Events
|
||||
settings.event.exercise = True
|
||||
# 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_shortname = "ARDR"
|
||||
# Types common to both Send and Receive
|
||||
#settings.inv.shipment_types = {
|
||||
# 0: T("-"),
|
||||
# 1: T("Other Warehouse"),
|
||||
# 2: T("Donation"),
|
||||
# 3: T("Foreign Donation"),
|
||||
# 4: T("Local Purchases"),
|
||||
# 5: T("Confiscated Goods from Bureau Of Customs")
|
||||
# }
|
||||
settings.inv.shipment_types = {
|
||||
0: T(""),
|
||||
1: T("Other Warehouse"),
|
||||
2: T("Donation"),
|
||||
3: T("Foreign Donation"),
|
||||
4: T("Local Purchases"),
|
||||
5: T("Confiscated Goods from Bureau Of Customs")
|
||||
}
|
||||
#settings.inv.send_types = {
|
||||
# 21: T("Distribution")
|
||||
# }
|
||||
|
Loading…
Reference in New Issue
Block a user