Skip to content
Snippets Groups Projects
Commit 10532083 authored by juanf's avatar juanf
Browse files

SSDM-1959 : Show gene name instead of gene number in ELN plate hierarchy view

SVN: 34257
parent d4fc177a
No related branches found
No related tags found
No related merge requests found
......@@ -289,6 +289,9 @@ h1, h2, legend {
float:left;
}
.inspectorLabel {
white-space: nowrap;
}
.inspectorLineBreak {
word-wrap: break-word;
width:300px;
......
......@@ -115,7 +115,7 @@ var PrintUtil = new function() {
} else {
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : ""}).append(propertyLabel + ":")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append(propertyLabel + ":")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak"}).append(propertyContent)))
);
}
......@@ -127,7 +127,7 @@ var PrintUtil = new function() {
if(allParentCodesAsText.length > 0) {
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : ""}).append("Parents:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append("Parents:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak"}).append(allParentCodesAsText)))
);
}
......@@ -137,7 +137,7 @@ var PrintUtil = new function() {
if(allChildrenCodesAsText.length > 0) {
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : ""}).append("Children:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append("Children:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak"}).append(allChildrenCodesAsText)))
);
}
......@@ -145,14 +145,14 @@ var PrintUtil = new function() {
//Show Modification Date
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : ""}).append("Modification Date:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append("Modification Date:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak"}).append(new Date(entity.registrationDetails["modificationDate"]))))
);
//Show Creation Date
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : ""}).append("Registration Date:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append("Registration Date:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak"}).append(new Date(entity.registrationDetails["registrationDate"]))))
);
......
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