Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bashgeek committed Dec 14, 2021
1 parent 0b18644 commit 7f0abb6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions inc/icinga.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,10 @@
}

$('#popup-tab-overview-downs').append('<div class="alert alert-danger alert-dismissible fade show" role="alert">' +
' <strong>Error Rescheduling Check</strong> ('+res.status+') - '+JSON.stringify(res)+'' +
' <strong>Error Rescheduling Check</strong> <span class="alert-error-info"></span>' +
' <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>' +
'</div>');
$('#popup-tab-overview-downs .alert-error-info').text('('+parseInt(res.status)+') '+JSON.stringify(res));
}
});
});
Expand Down Expand Up @@ -499,9 +500,10 @@
}

$('#ack-alert').show().append('<div class="alert alert-danger alert-dismissible fade show" role="alert">' +
' <strong>Error Problem Acknowledgement</strong> ('+res.status+') - '+JSON.stringify(res)+'' +
' <strong>Error Problem Acknowledgement</strong> <span class="alert-error-info"></span>' +
' <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>' +
'</div>');
$('#ack-alert .alert-error-info').text('('+parseInt(res.status)+') '+JSON.stringify(res));
}
});
});
Expand Down

0 comments on commit 7f0abb6

Please sign in to comment.