From 026ca0d5d161611f73c36674162e425a12fde53e Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 28 Sep 2017 17:55:45 +0200 Subject: [PATCH] Comment some useless settings in Sahana template --- .../eden/modules/templates/Spotter/config.py | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py b/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py index d9f5915..2feefc8 100644 --- a/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py +++ b/sahana/srv/sahana/applications/eden/modules/templates/Spotter/config.py @@ -845,33 +845,33 @@ def config(settings): #settings.req.req_restrict_on_complete = True # Custom Crud Strings for specific req_req types - settings.req.req_crud_strings = dict() - ADD_ITEM_REQUEST = T("Make a Request for Donations") + #settings.req.req_crud_strings = dict() + #ADD_ITEM_REQUEST = T("Make a Request for Donations") # req_req Crud Strings for Item Request (type=1) - settings.req.req_crud_strings[1] = Storage( - label_create = ADD_ITEM_REQUEST, - title_display = T("Request for Donations Details"), - title_list = T("Requests for Donations"), - title_update = T("Edit Request for Donations"), - label_list_button = T("List Requests for Donations"), - label_delete_button = T("Delete Request for Donations"), - msg_record_created = T("Request for Donations Added"), - msg_record_modified = T("Request for Donations Updated"), - msg_record_deleted = T("Request for Donations Canceled"), - msg_list_empty = T("No Requests for Donations")) - ADD_PEOPLE_REQUEST = T("Make a Request for Volunteers") + #settings.req.req_crud_strings[1] = Storage( + # label_create = ADD_ITEM_REQUEST, + # title_display = T("Request for Donations Details"), + # title_list = T("Requests for Donations"), + # title_update = T("Edit Request for Donations"), + # label_list_button = T("List Requests for Donations"), + # label_delete_button = T("Delete Request for Donations"), + # msg_record_created = T("Request for Donations Added"), + # msg_record_modified = T("Request for Donations Updated"), + # msg_record_deleted = T("Request for Donations Canceled"), + # msg_list_empty = T("No Requests for Donations")) + #ADD_PEOPLE_REQUEST = T("Make a Request for Volunteers") # req_req Crud Strings for People Request (type=3) - settings.req.req_crud_strings[3] = Storage( - label_create = ADD_PEOPLE_REQUEST, - title_display = T("Request for Volunteers Details"), - title_list = T("Requests for Volunteers"), - title_update = T("Edit Request for Volunteers"), - label_list_button = T("List Requests for Volunteers"), - label_delete_button = T("Delete Request for Volunteers"), - msg_record_created = T("Request for Volunteers Added"), - msg_record_modified = T("Request for Volunteers Updated"), - msg_record_deleted = T("Request for Volunteers Canceled"), - msg_list_empty = T("No Requests for Volunteers")) + #settings.req.req_crud_strings[3] = Storage( + # label_create = ADD_PEOPLE_REQUEST, + # title_display = T("Request for Volunteers Details"), + # title_list = T("Requests for Volunteers"), + # title_update = T("Edit Request for Volunteers"), + # label_list_button = T("List Requests for Volunteers"), + # label_delete_button = T("Delete Request for Volunteers"), + # msg_record_created = T("Request for Volunteers Added"), + # msg_record_modified = T("Request for Volunteers Updated"), + # msg_record_deleted = T("Request for Volunteers Canceled"), + # msg_list_empty = T("No Requests for Volunteers")) # ------------------------------------------------------------------------- # Supply @@ -1310,12 +1310,12 @@ def config(settings): # restricted = True, # module_type = 10, #)), - ("impact", Storage( - name_nice = T("Impacts"), - #description = "Used by Assess", - restricted = True, - module_type = None, - )), + #("impact", Storage( + # name_nice = T("Impacts"), + # #description = "Used by Assess", + # restricted = True, + # module_type = None, + #)), #("ocr", Storage( # name_nice = T("Optical Character Recognition"), # #description = "Optical Character Recognition for reading the scanned handwritten paper forms.",