Comment some useless settings in Sahana template
This commit is contained in:
parent
f557e0621e
commit
026ca0d5d1
@ -845,33 +845,33 @@ def config(settings):
|
|||||||
#settings.req.req_restrict_on_complete = True
|
#settings.req.req_restrict_on_complete = True
|
||||||
|
|
||||||
# Custom Crud Strings for specific req_req types
|
# Custom Crud Strings for specific req_req types
|
||||||
settings.req.req_crud_strings = dict()
|
#settings.req.req_crud_strings = dict()
|
||||||
ADD_ITEM_REQUEST = T("Make a Request for Donations")
|
#ADD_ITEM_REQUEST = T("Make a Request for Donations")
|
||||||
# req_req Crud Strings for Item Request (type=1)
|
# req_req Crud Strings for Item Request (type=1)
|
||||||
settings.req.req_crud_strings[1] = Storage(
|
#settings.req.req_crud_strings[1] = Storage(
|
||||||
label_create = ADD_ITEM_REQUEST,
|
# label_create = ADD_ITEM_REQUEST,
|
||||||
title_display = T("Request for Donations Details"),
|
# title_display = T("Request for Donations Details"),
|
||||||
title_list = T("Requests for Donations"),
|
# title_list = T("Requests for Donations"),
|
||||||
title_update = T("Edit Request for Donations"),
|
# title_update = T("Edit Request for Donations"),
|
||||||
label_list_button = T("List Requests for Donations"),
|
# label_list_button = T("List Requests for Donations"),
|
||||||
label_delete_button = T("Delete Request for Donations"),
|
# label_delete_button = T("Delete Request for Donations"),
|
||||||
msg_record_created = T("Request for Donations Added"),
|
# msg_record_created = T("Request for Donations Added"),
|
||||||
msg_record_modified = T("Request for Donations Updated"),
|
# msg_record_modified = T("Request for Donations Updated"),
|
||||||
msg_record_deleted = T("Request for Donations Canceled"),
|
# msg_record_deleted = T("Request for Donations Canceled"),
|
||||||
msg_list_empty = T("No Requests for Donations"))
|
# msg_list_empty = T("No Requests for Donations"))
|
||||||
ADD_PEOPLE_REQUEST = T("Make a Request for Volunteers")
|
#ADD_PEOPLE_REQUEST = T("Make a Request for Volunteers")
|
||||||
# req_req Crud Strings for People Request (type=3)
|
# req_req Crud Strings for People Request (type=3)
|
||||||
settings.req.req_crud_strings[3] = Storage(
|
#settings.req.req_crud_strings[3] = Storage(
|
||||||
label_create = ADD_PEOPLE_REQUEST,
|
# label_create = ADD_PEOPLE_REQUEST,
|
||||||
title_display = T("Request for Volunteers Details"),
|
# title_display = T("Request for Volunteers Details"),
|
||||||
title_list = T("Requests for Volunteers"),
|
# title_list = T("Requests for Volunteers"),
|
||||||
title_update = T("Edit Request for Volunteers"),
|
# title_update = T("Edit Request for Volunteers"),
|
||||||
label_list_button = T("List Requests for Volunteers"),
|
# label_list_button = T("List Requests for Volunteers"),
|
||||||
label_delete_button = T("Delete Request for Volunteers"),
|
# label_delete_button = T("Delete Request for Volunteers"),
|
||||||
msg_record_created = T("Request for Volunteers Added"),
|
# msg_record_created = T("Request for Volunteers Added"),
|
||||||
msg_record_modified = T("Request for Volunteers Updated"),
|
# msg_record_modified = T("Request for Volunteers Updated"),
|
||||||
msg_record_deleted = T("Request for Volunteers Canceled"),
|
# msg_record_deleted = T("Request for Volunteers Canceled"),
|
||||||
msg_list_empty = T("No Requests for Volunteers"))
|
# msg_list_empty = T("No Requests for Volunteers"))
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Supply
|
# Supply
|
||||||
@ -1310,12 +1310,12 @@ def config(settings):
|
|||||||
# restricted = True,
|
# restricted = True,
|
||||||
# module_type = 10,
|
# module_type = 10,
|
||||||
#)),
|
#)),
|
||||||
("impact", Storage(
|
#("impact", Storage(
|
||||||
name_nice = T("Impacts"),
|
# name_nice = T("Impacts"),
|
||||||
#description = "Used by Assess",
|
# #description = "Used by Assess",
|
||||||
restricted = True,
|
# restricted = True,
|
||||||
module_type = None,
|
# module_type = None,
|
||||||
)),
|
#)),
|
||||||
#("ocr", Storage(
|
#("ocr", Storage(
|
||||||
# name_nice = T("Optical Character Recognition"),
|
# name_nice = T("Optical Character Recognition"),
|
||||||
# #description = "Optical Character Recognition for reading the scanned handwritten paper forms.",
|
# #description = "Optical Character Recognition for reading the scanned handwritten paper forms.",
|
||||||
|
Loading…
Reference in New Issue
Block a user