harshanl 8 years ago
commit 6b09844f56

@ -133,6 +133,7 @@ function loadNewNotifications() {
if (responsePayload["notifications"]) {
if (responsePayload.count > 0) {
viewModel["notifications"] = responsePayload["notifications"];
viewModel.contextPath = context;
$(messageSideBar).html(template(viewModel));
} else {
$(messageSideBar).html(

@ -5,9 +5,9 @@
<li class="message" data-type="selectable" >
<h4>
<i class="icon fw fw-mobile text-muted"></i>
<a href="device/{{deviceType}}?id={{deviceIdentifier}}"
<a href="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
data-id="{{operationId}}"
data-url="device/{{deviceType}}?id={{deviceIdentifier}}"
data-url="{{../contextPath}}/device/{{deviceType}}?id={{deviceIdentifier}}"
class="new-notification text-capitalize" data-click-event="remove-form">
Failure on {{deviceType}} {{deviceName}}
</a>

Loading…
Cancel
Save