From d30df4a2730652988b2509437552e2375c42ed67 Mon Sep 17 00:00:00 2001 From: Viktor Kovtun <viktor.kovtun@id.ethz.ch> Date: Fri, 13 Sep 2019 16:08:26 +0200 Subject: [PATCH] SSDM-8751 Commented out Research Collection export view option in the side menu widget view. --- .../eln-lims/html/js/config/Profile.js | 3 ++- .../js/views/SideMenu/SideMenuWidgetView.js | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js index b713b303923..6027757010c 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js @@ -61,7 +61,8 @@ $.extend(DefaultProfile.prototype, { showVocabularyViewer : true, showUserManager : true, showUserProfile : true, - showResearchCollectionExportBuilder : false, + // Not fully implemented yet. + // showResearchCollectionExportBuilder : false, showZenodoExportBuilder : false, } diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js index 638a011169d..8cbb61294a1 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js @@ -277,15 +277,16 @@ function SideMenuWidgetView(sideMenuWidgetController, sideMenuWidgetModel) { }); } - if (profile.mainMenu.showResearchCollectionExportBuilder) { - var researchCollectionExportBuilderLink = _this.getLinkForNode("Export to Research Collection", - "EXPORT_TO_RESEARCH_COLLECTION", "showResearchCollectionExportPage", null); - treeModelExports.push({ - displayName: "Export to Research Collection", title: researchCollectionExportBuilderLink, - entityType: "EXPORT_TO_RESEARCH_COLLECTION", key: "EXPORT_TO_RESEARCH_COLLECTION", folder: false, lazy: false, - view: "showResearchCollectionExportPage", icon: "./img/research-collection-icon.png" - }); - } + // Not fully implemented yet. + // if (profile.mainMenu.showResearchCollectionExportBuilder) { + // var researchCollectionExportBuilderLink = _this.getLinkForNode("Export to Research Collection", + // "EXPORT_TO_RESEARCH_COLLECTION", "showResearchCollectionExportPage", null); + // treeModelExports.push({ + // displayName: "Export to Research Collection", title: researchCollectionExportBuilderLink, + // entityType: "EXPORT_TO_RESEARCH_COLLECTION", key: "EXPORT_TO_RESEARCH_COLLECTION", folder: false, lazy: false, + // view: "showResearchCollectionExportPage", icon: "./img/research-collection-icon.png" + // }); + // } if (profile.mainMenu.showZenodoExportBuilder) { var zenodoExportBuilderLink = _this.getLinkForNode("Export to Zenodo", "EXPORT_TO_ZENODO", "showZenodoExportPage", null); -- GitLab