Skip to content

Commit

Permalink
Add formatter path to information panel. This helps checking the valu…
Browse files Browse the repository at this point in the history
…e which might be customized.
  • Loading branch information
François Prunayre committed May 4, 2015
1 parent 538f7d1 commit b4b36b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Expand Up @@ -107,8 +107,12 @@ public Element exec(Element params, ServiceContext context)
*/
private void loadCatalogueInfo(final GeonetContext gc) {
ServiceConfig sc = gc.getBean(ServiceConfig.class);
String[] props = {Geonet.Config.DATA_DIR, Geonet.Config.CODELIST_DIR, Geonet.Config.CONFIG_DIR,
Geonet.Config.SCHEMAPLUGINS_DIR, Geonet.Config.SUBVERSION_PATH, Geonet.Config.RESOURCES_DIR};

String[] props = {Geonet.Config.DATA_DIR, Geonet.Config.CODELIST_DIR,
Geonet.Config.CONFIG_DIR, Geonet.Config.SCHEMAPLUGINS_DIR,
Geonet.Config.SUBVERSION_PATH, Geonet.Config.RESOURCES_DIR,
Geonet.Config.FORMATTER_PATH};

for (String prop : props) {
catProperties.put("data." + prop, sc.getValue(prop));
}
Expand Down
1 change: 1 addition & 0 deletions web-ui/src/main/resources/catalog/locales/en-admin.json
Expand Up @@ -274,6 +274,7 @@
"data.codeListDir": "Thesaurus folder: ",
"data.configDir": "Configuration folder: ",
"data.dataDir": "Data directory: ",
"data.formatterPath": "Formatter directory: ",
"data.resources": "Resources folder: ",
"data.schemaPluginsDir": "Standard folder: ",
"data.subversionPath": "Subversion repository: ",
Expand Down

0 comments on commit b4b36b2

Please sign in to comment.