|
|
@ -102,7 +102,12 @@ function loadNewNotifications() {
|
|
|
|
if (responsePayload.count > 0) {
|
|
|
|
if (responsePayload.count > 0) {
|
|
|
|
$(messageSideBar).html(template(viewModel));
|
|
|
|
$(messageSideBar).html(template(viewModel));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(messageSideBar).html("<h4 class='text-center'>No new notifications found</h4>");
|
|
|
|
$(messageSideBar).html(
|
|
|
|
|
|
|
|
"<h4 class='text-center'>No New Notifications</h4>" +
|
|
|
|
|
|
|
|
"<h5 class='text-center text-muted'>" +
|
|
|
|
|
|
|
|
"Check this section for error notifications<br>related to device operations" +
|
|
|
|
|
|
|
|
"</h5>"
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(messageSideBar).html("<h4 class ='message-danger text-center'>Unexpected error occurred while loading new notifications</h4>");
|
|
|
|
$(messageSideBar).html("<h4 class ='message-danger text-center'>Unexpected error occurred while loading new notifications</h4>");
|
|
|
|