diff --git a/var/www/templates/correlation/show_relationship.html b/var/www/templates/correlation/show_relationship.html
index 6af988df..7fdacef0 100644
--- a/var/www/templates/correlation/show_relationship.html
+++ b/var/www/templates/correlation/show_relationship.html
@@ -755,9 +755,8 @@ if (d.popover) {
desc = desc + "";
}
}
-
if (additional_text) {
- desc = desc + "" + sanitize_text(additional_text)
+ desc = desc + "
" + sanitize_text(additional_text) + "
"
}
desc = desc + ""
@@ -892,8 +891,7 @@ ${labels_meta[names[d.source.index]]}`);
displayedText = text.length > maxCharsToShow ? text.slice(0, maxCharsToShow - 1) + "…" : text;
}
- let info_text = `OUT: ${d3.sum(matrix[d.index])} Messages
-IN: ${d3.sum(matrix, row => row[d.index])} Messages`
+ let info_text = "OUT: " + d3.sum(matrix[d.index]) + " ; IN: " + d3.sum(matrix, row => row[d.index]) + " Messages"
if (displayedText) {
group.append("text")
@@ -909,14 +907,10 @@ IN: ${d3.sum(matrix, row => row[d.index])} Messages`
}
});
- g.append("title")
- .text(d => `OUT: ${d3.sum(matrix[d.index])} Messages
-IN: ${d3.sum(matrix, row => row[d.index])} Messages`);
-
return svg.node();
}
-
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////