mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Refactoring notifications side-pane - EMM UI
This commit is contained in:
parent
712f62aa43
commit
afea5fcfc6
@ -99,7 +99,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<ul class="sidebar-messages"></ul>
|
<ul class="sidebar-messages"></ul>
|
||||||
<br>
|
<br>
|
||||||
<div class="text-center"><a href="{{appContext}}notification-listing" class="btn btn-primary">Show all notifications</a></div>
|
<div class="text-center"><a href="{{appContext}}notification-listing" class="btn btn-primary">Show All Notifications</a></div>
|
||||||
</div>
|
</div>
|
||||||
{{/zone}}
|
{{/zone}}
|
||||||
{{#zone "bottomJs"}}
|
{{#zone "bottomJs"}}
|
||||||
|
|||||||
@ -131,7 +131,12 @@ function loadNewNotifications() {
|
|||||||
// viewModel["appContext"] = context;
|
// viewModel["appContext"] = context;
|
||||||
$(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 " +
|
$(messageSideBar).html("<h4 class ='message-danger text-center'>Unexpected error " +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user