cockpit/themes/extended/theme.js in cpee-2.0.11 vs cockpit/themes/extended/theme.js in cpee-2.0.13
- old
+ new
@@ -265,19 +265,23 @@
'label': function(node){
var rep = $('body').attr('current-resources');
var ep = self.endpoints[$(node).attr('endpoint')];
var wait = $('_timing_wait',$(node).children('annotations')).text();
var threshold = $('_timing_threshold',$(node).children('annotations')).text();
+ var adur = $('_timing_avg',$(node).children('annotations')).text();
var lab = $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'');
var ret = [ { column: 'ID', value: $(node).attr('id') } ];
if (lab != '') {
ret.unshift( { column: 'Label', value: lab } );
}
if (wait != '') {
ret.push({ column: 'Wait', value: 'ω = ' + wait });
}
if (threshold != '') {
ret.push({ column: 'Threshold', value: 'κ = ' + threshold });
+ }
+ if (adur != '') {
+ ret.push({ column: 'Duration', value: '~T = ' + adur + 'm' });
}
return ret;
},
'info': function(node){ return { 'element-endpoint': $(node).attr('endpoint') }; },
'resolve_symbol': function(node) {