diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/css/style.css b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/css/style.css index 5f18cacc3f67c68cbf9f907552fa39122ec12f51..dafa5725da8b492035836c42017f3a99afe96be2 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/css/style.css +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/css/style.css @@ -575,5 +575,4 @@ table.downloads { */ .browser-compatible-javascript-link { text-decoration: none; - color: #000000; } \ No newline at end of file diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js index 215a228277efdf3caccd155905817632f4c6a75f..886f99308b613d4da40447225967adf68893ba44 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SideMenu/SideMenuWidgetView.js @@ -303,7 +303,7 @@ function SideMenuWidgetView(sideMenuWidgetController, sideMenuWidgetModel) { var $menuItemLink = null; if (menuItem.isSelectable) { - $menuItemLink = $("<a>", {"href": href, "class" : "browser-compatible-javascript-link"}).append(itemDisplayName); + $menuItemLink = $("<a>", {"href": href, "class" : "browser-compatible-javascript-link", "style" : "color: #000000"}).append(itemDisplayName); } else { $menuItemLink = itemDisplayName; } diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/DataSetViewer.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/DataSetViewer.js index c76ecfc0665daf10b5896ac4cbfc9dbb82a21973..866e73fe269076b0a99e721535e70a6af995d2f7 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/DataSetViewer.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/DataSetViewer.js @@ -347,8 +347,11 @@ function DataSetViewer(containerId, profile, sample, serverFacade, datastoreDown } for(var i = 0; i < datasetFiles.length; i++) { + + var href = Util.getURLFor(mainController.sideMenu.getCurrentNodeId(), "showViewDataSetPageFromPermId", datasetCode); + var $datasetLink = $("<a>", {"class" : "browser-compatible-javascript-link", "href" : href }).append(dataset.code); var $tableRow = $("<tr>") - .append($("<td>").html(dataset.code)) + .append($("<td>").html($datasetLink)) .append($("<td>").html(dataset.dataSetTypeCode)); var downloadUrl = datastoreDownloadURL + '/' + dataset.code + "/" + encodeURIComponent(datasetFiles[i].pathInDataSet) + "?sessionID=" + this.serverFacade.getSession(); diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js index cb98ede0880cf5e7be0bc4865c55a35c97d8c5c6..4055b322542abe3dc68cbeb32811cfc4785a30d9 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js @@ -431,8 +431,6 @@ function SampleLinksWidget(containerId, profile, serverFacade, title, sampleType if(sampleToAdd.notFound) { style = "color: red;" notFound = " (Not Found)" - } else { - style = "color: #337AB7;" } var href = Util.getURLFor(mainController.sideMenu.getCurrentNodeId(), "showViewSamplePageFromPermId", sampleToAdd.permId);