Merge pull request #813 from sameeragunarathne/master

fixes https://github.com/wso2/product-iots/issues/1346
revert-dabc3590
sinthuja 7 years ago committed by GitHub
commit f02de6015e

@ -302,8 +302,8 @@ var InitiateViewOption = null;
var viewModel = {}; var viewModel = {};
viewModel["applications"] = data; viewModel["applications"] = data;
viewModel["deviceType"] = deviceType;
viewModel["deviceId"] = deviceId; viewModel["deviceId"] = deviceId;
viewModel["deviceType"] = deviceType;
viewModel["appContext"] = context; viewModel["appContext"] = context;
var content = template(viewModel); var content = template(viewModel);
$("#applications-list-container").html(content); $("#applications-list-container").html(content);

@ -15,7 +15,7 @@
</p> </p>
<div class="actions"> <div class="actions">
<div class="action-btn ripple"> <div class="action-btn ripple">
<p><a href="{{appContext}}/policy/effective-policy?type={{deviceType}}&id={{deviceId}}"> <p><a href="{{appContext}}/devicemgt/policy/effective-policy?type={{deviceType}}&id={{deviceId}}">
<i class="icon fw fw-view fw-2x"></i> <span>View Policy </span></a></p> <i class="icon fw fw-view fw-2x"></i> <span>View Policy </span></a></p>
</div> </div>
</div> </div>

Loading…
Cancel
Save