removing references to deprecated resource types in template filter
@@ -51,29 +51,17 @@ def resource_verbose_name_builder(rsc_type):
class ResourceNameDBToUIMap:
dict = {
'CompositeResource': 'composite',
- 'RefTimeSeriesResource': 'his',
- 'ScriptResource': 'script',
'ModelProgramResource': 'modelprogram',
'ModelInstanceResource': 'modelinstance',
- 'SWATModelInstanceResource': 'swat',
'Time Series': 'timeseries',
- 'GeographicFeatureResouce': 'geographicfeature',
'ToolResource': 'webapp',
- 'CollectionResource': 'collection',
- 'MODFLOWModelInstanceResource': 'modflow',
- 'GenericResource': 'generic'
+ 'CollectionResource': 'collection'
}
dict_verbose_name = {
'CompositeResource': 'Composite',
- 'RefTimeSeriesResource': 'HIS Referenced Time Series',
- 'ScriptResource': 'Script',
'ModelProgramResource': 'Model Program',
'ModelInstanceResource': 'Model Instance',
- 'SWATModelInstanceResource': 'SWAT Model Instance',
'Time Series': 'Time Series',
- 'GeographicFeatureResouce': 'Geographic Feature',
'ToolResource': 'Web App',
- 'CollectionResource': 'Collection',
- 'MODFLOWModelInstanceResource': 'MODFLOW Model Instance',
- 'GenericResource': 'Generic'
+ 'CollectionResource': 'Collection'
}
