Skip to content
Snippets Groups Projects
Commit 0fbc83d4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '64-chemical-target-interface-no-disease-text' into 'master'

Resolve "Chemical target interface: 'no disease' text"

Closes #64

See merge request piotr.gawron/minerva!215
parents 731770d3 6bd8b2c8
No related branches found
No related tags found
1 merge request!215Resolve "Chemical target interface: 'no disease' text"
Pipeline #
...@@ -19,7 +19,9 @@ function ChemicalPanel(params) { ...@@ -19,7 +19,9 @@ function ChemicalPanel(params) {
AbstractDbPanel.call(self, params); AbstractDbPanel.call(self, params);
if (self.getMap().getProject().getDisease() === undefined) { if (self.getMap().getProject().getDisease() === undefined) {
self.disablePanel("DISEASE NOT DEFINED FOR PROJECT. PLEASE, DEFINE IT IN THE ADMIN SECTION."); self.disablePanel("The Comparative Toxicogenomics Database (CTD) requires a disease context. " +
"Choose an appropriate MeSH code and provide it in the via the Admin section of this MINERVA platform. " +
"See User Manual for more details ");
} else { } else {
this.getControlElement(PanelControlElementType.SEARCH_LABEL).innerHTML = "SEARCH FOR TARGETS OF:"; this.getControlElement(PanelControlElementType.SEARCH_LABEL).innerHTML = "SEARCH FOR TARGETS OF:";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment