diff --git a/web-ui/src/main/resources/catalog/js/CatController.js b/web-ui/src/main/resources/catalog/js/CatController.js index d9441cc44f7..78e938b9531 100644 --- a/web-ui/src/main/resources/catalog/js/CatController.js +++ b/web-ui/src/main/resources/catalog/js/CatController.js @@ -964,6 +964,10 @@ goog.require('gn_alert'); 'workflowAssistApps': [ {'appUrl': '', 'appLabelKey': ''} ] + }, + 'helperDocumentHost': { + 'enabled': false, + 'appUrl': '' } } }; @@ -1036,6 +1040,9 @@ goog.require('gn_alert'); this.applyConfig(configOverlay); this.setLegacyOption(gnViewerSettings, gnSearchSettings); this.gnUrl = gnUrl || '../'; + if (this.gnCfg.mods.helperDocumentHost.enabled) { + this.docUrl = this.gnCfg.mods.helperDocumentHost.appUrl; + } this.proxyUrl = this.gnUrl + '../proxy?url='; }, setLegacyOption: function(gnViewerSettings, gnSearchSettings) { diff --git a/web-ui/src/main/resources/catalog/locales/en-admin.json b/web-ui/src/main/resources/catalog/locales/en-admin.json index 078b469bd13..732aad0837e 100644 --- a/web-ui/src/main/resources/catalog/locales/en-admin.json +++ b/web-ui/src/main/resources/catalog/locales/en-admin.json @@ -1191,7 +1191,7 @@ "ui-filters": "Filters", "ui-minUserProfileToCreateTemplate": "Which minimum profile is required to manage/create template?", "ui-minUserProfileToCreateTemplate-help": "Can be one of: '', 'Editor', 'Reviewer', 'UserAdmin', 'Administrator'. Depending on the user highest profile, user may not be able to import a record as a template or subtemplate, save a record as a template in the editor or manage directory templates. This applies only to the user interface, not to the API. '' means that all users can create template.", - "ui-facetTabField": "Facet field to display using tabs", + "ui-facetTabField": "Facet field to display using tabs", "ui-facetTabField-help": "Tab field is displayed above search results.", "ui-filters-help": "Add extra filters to add to any search queries. See the documentation for more information.", "ui-languages-help": "Define the list of languages in the language selector", @@ -1259,6 +1259,7 @@ "ui-mod-editor": "Editor application", "ui-mod-authentication": "Authentication", "ui-mod-workflowHelper": "Workflow assist", + "ui-mod-helperDocumentHost": "Helper document host", "ui-signinUrl": "Sign in application URL", "ui-signoutUrl": "Sign out application URL", "ui-signinUrl-help": "URL of the home page. Can contain the following variables between 2 opening and closing '{':