summaryrefslogtreecommitdiffstats
path: root/modules-available/roomplanner/js/grid.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/roomplanner/js/grid.js')
-rw-r--r--modules-available/roomplanner/js/grid.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/modules-available/roomplanner/js/grid.js b/modules-available/roomplanner/js/grid.js
index 80789963..697d7c3f 100644
--- a/modules-available/roomplanner/js/grid.js
+++ b/modules-available/roomplanner/js/grid.js
@@ -125,18 +125,10 @@ if (!roomplanner) var roomplanner = {
},
initTooltip: function(el) {
if ($(el).attr('itemtype') === 'pc') {
- var tip = '<div class="table">';
+ var tip = "<b>Rechnerdaten</b><br>";
$(roomplanner.computerAttributes).each(function(i,key){
- if (key === 'hostname') {
- tip += '<div class="tc">' + $(el).attr(key) + '</div>';
- return;
- }
- tip += '<div class="tr">';
- tip += '<div class="td">' + __(key) + ": " + '</div>';
- tip += '<div class="td">' + $(el).attr(key) + '</div>';
- tip += '</div>';
+ tip += __(key)+": "+$(el).attr(key)+"<br>";
});
- tip += '</div>';
$(el).attr('title', tip).attr('data-toggle', 'tooltip');
$(el).tooltip({html: true, container: 'body'});