source: MILK/trunk/milk_server/milk_server/controllers/browse/browserconstants.py @ 5261

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/controllers/browse/browserconstants.py@5261
Revision 5261, 549 bytes checked in by cbyrom, 11 years ago (diff)

Lots of tidy ups to MILK codebase:

Implement new input search filters - with javascript datapickers to
pick the date ranges + add the vocab search ahead text input and
combine this with the text input.

Refactor discovery controller to tidy it up significantly - making more
structured and improving error handling and logging. Improve
templates for the search filter, splitting into multiple files to
organise better.

Various tidying up and tweaks of other codebase - e.g. standardising
use of global variables across app.

Line 
1'''
2 Module to store various constants used by the browse and discovery controllers
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 May 2009
7'''
8DISCOVERY_HOME_TITLE = "Discovery service search"
9
10# various error messages
11INCOMPLETE_SEARCH_INPUT_MESSAGE = "Incomplete search inputs - please enter values for: "
12INVALID_BBOX_MESSAGE = "Invalid bounding box dimensions entered: "
13INVALID_DATERANGE_MESSAGE = "Invalid dates entered: "
Note: See TracBrowser for help on using the repository browser.