source: MILK/trunk/milk_server/milk_server/controllers/atom_editor/ @ 4678

Subversion URL:
Revision 4678, 1.1 KB checked in by cbyrom, 12 years ago (diff)

Add workflow in controllers and templates to allow users to select
whether a CSML/granulite ingest, which will create an atom with an ID
that already exists, should continue.

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
6 @author: C Byrom, Tessella Dec 2008
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'
14NO_SEARCH_RESULTS = 'No data found for search selections'
15EDIT_TITLE = 'Editing [%s]'
16CREATE_ATOM_TITLE = 'Create new atom'
17OVERWRITE_GRANULE_ATOM = "- do you want to overwrite this with the granulite data?"
19# session variable flags - used during file uploads
21GRAN_FILE_VALUE = 'granFileValue'
22GRAN_FILE_NAME = 'granFileName'
23CSML_OR_CDML_FILE_VALUE = 'csmlOrCdmlFileValue'
24CSML_OR_CDML_FILE_NAME = 'csmlOrCdmlFileName'
Note: See TracBrowser for help on using the repository browser.