Skip to content
Permalink
Browse files

Add CSS class for summary state in downtime

Also style update (spaces missing)
  • Loading branch information
NotAProfessionalDeveloper authored and LarsMichelsen committed Nov 17, 2019
1 parent e6fdd3b commit 684a8e41a664e72e732e76a6a6f03865627aef8e
Showing with 4 additions and 1 deletion.
  1. +4 −1 share/userfiles/templates/default.header.js
@@ -103,9 +103,12 @@ function headerUpdateState(map_conf) {
var side = document.getElementById('side-state-' + map['name']);
if (side) {
side.className = 'statediv s' + map['summary_state'];
if (map['summary_problem_has_been_acknowledged']==1) {
if (map['summary_problem_has_been_acknowledged'] == 1) {
side.className += ' sACK';
}
if (map['summary_in_downtime'] == 1) {
side.className += ' sDOWNTIME';
}
side = null;
}

0 comments on commit 684a8e4

Please sign in to comment.
You can’t perform that action at this time.