show release info in tooltip

This commit is contained in:
Christian Herzog
2019-09-25 20:04:57 +02:00
parent e5abd52efe
commit 712f897f9f
3 changed files with 14 additions and 3 deletions

View File

@@ -264,9 +264,11 @@ $(document).ready(function(){
}
});
var [ver, idf, cfg, branch] = release.name.split('#');
var body = release.body.replace(/\\n/ig, "<br />").replace(/\'/ig, "\"");
console.log(body);
$("#releaseTable").append(
"<tr>"+
"<td>"+ver+"</td>"+
"<td data-toggle='tooltip' title='"+body+"'>"+ver+"</td>"+
"<td>"+idf+"</td>"+
"<td>"+cfg+"</td>"+
"<td>"+branch+"</td>"+
@@ -287,6 +289,10 @@ $(document).ready(function(){
//start timers
startCheckStatusInterval();
startRefreshAPInterval();
$('[data-toggle="tooltip"]').tooltip({
html: true,
placement : 'right',
});
});
function setURL(button) {