source: MILK/trunk/milk_server/milk_server/controllers/atom_editor/editorconstants.py @ 4724

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/controllers/atom_editor/editorconstants.py@4724
Revision 4724, 1.1 KB checked in by cbyrom, 11 years ago (diff)

Restructure atom editor controllers - pulling out parent superclass
to allow re-use of shared code + use new routes names + add new method
to handle drop down setting up.

Line 
1'''
2 Module to store various constants used by the atom editor controller
3 NB, the primary purpose of this is to separate these out from the controllers
4 so they can be used in the test suite to check results
5 
6 @author: C Byrom, Tessella Dec 2008
7'''
8ATOM_HOME_TITLE = "Atom Editor Home Page"
9EXAMPLE_GRANULITE_TITLE = "Example granulite file"
10LIST_ATOM_TITLE = 'Browse atoms'
11GRANULE_ASSOCIATION_TITLE = ' - to create associations with granule data'
12DEPLOYMENTS_ASSOCIATION_TITLE = ' - to create associations with deployment data'
13DEPLOYMENTS_DATA_ASSOCIATION_TITLE = ' - to create associations with activity/data production tool/observation station data'
14HELP_PAGE_TITLE = 'Atom Editor Help Page'
15
16NO_SEARCH_RESULTS = 'No data found for search selections'
17EDIT_TITLE = 'Editing [%s]'
18CREATE_ATOM_TITLE = 'Create new atom'
19OVERWRITE_GRANULE_ATOM = "- do you want to overwrite this with the granulite data?"
20
21# session variable flags - used during file uploads
22OVERWRITE_GRANULE_FLAG = "ogf"
23GRAN_FILE_VALUE = 'granFileValue'
24GRAN_FILE_NAME = 'granFileName'
25CSML_OR_CDML_FILE_VALUE = 'csmlOrCdmlFileValue'
26CSML_OR_CDML_FILE_NAME = 'csmlOrCdmlFileName'
Note: See TracBrowser for help on using the repository browser.