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

SSDM-3292 : Standardized Experiment table title.

SVN: 35845
parent 068d01eb
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,15 @@ function SampleTableView(sampleTableController, sampleTableModel) {
this.repaint = function($container) {
var _this = this;
$container.empty();
if(this._sampleTableModel.title) {
var $title = $("<h2>").append(this._sampleTableModel.title);
$container.append($title);
var $title = $("<div>");
if(this._sampleTableModel.experimentIdentifier) {
$title
.append($("<h2>").append("Experiment: " + this._sampleTableModel.experimentIdentifier.substring(this._sampleTableModel.experimentIdentifier.lastIndexOf("/") + 1)))
.append($("<h4>", { "style" : "font-weight:normal;" } ).append(this._sampleTableModel.experimentIdentifier));
} else if(this._sampleTableModel.title) {
$title.append($("<h2>").append(this._sampleTableModel.title));
}
$container.append($title);
//
// Toolbar
......
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