mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fix for JIRA: https://wso2.org/jira/browse/EMM-1614
This commit is contained in:
parent
f5d95f0695
commit
f47a1cdc55
@ -23,16 +23,20 @@
|
||||
{{#defineZone "device-detail-properties"}}
|
||||
<table class="table table-responsive table-striped" id="members">
|
||||
<tbody>
|
||||
<tr role="row" class="even">
|
||||
<td class="sorting_1" style="padding:10px 15px; width: 1%;">Device</td>
|
||||
<td style="padding:10px 15px;">{{device.viewModel.vendor}} {{device.properties.model}}</td>
|
||||
</tr>
|
||||
{{#if device.viewModel.model}}
|
||||
<tr role="row" class="odd">
|
||||
<td class="sorting_1" style="padding:10px 15px;">Model</td>
|
||||
<td style="padding:10px 15px;">{{device.viewModel.model}}</td>
|
||||
{{#if device.viewModel.vendor}}
|
||||
<tr role="row" class="even">
|
||||
<td class="sorting_1" style="padding:10px 15px; width: 1%;">Device</td>
|
||||
<td style="padding:10px 15px;">{{device.viewModel.deviceName}}</td>
|
||||
</tr>
|
||||
{{/if}}
|
||||
{{#if device.viewModel.vendor}}
|
||||
{{#if device.viewModel.model}}
|
||||
<tr role="row" class="odd">
|
||||
<td class="sorting_1" style="padding:10px 15px;">Model</td>
|
||||
<td style="padding:10px 15px;">{{device.viewModel.vendor}} {{device.viewModel.model}}</td>
|
||||
</tr>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<tr role="row" class="even">
|
||||
<td class="sorting_1" style="padding:10px 15px;">IMEI</td>
|
||||
<td style="padding:10px 15px;">{{device.viewModel.imei}}</td>
|
||||
|
||||
@ -52,6 +52,8 @@ function onRequest(context) {
|
||||
longitude: device["properties"]["LONGITUDE"]
|
||||
};
|
||||
} else if (device["type"] == "android") {
|
||||
viewModel["deviceName"] = device["name"];
|
||||
viewModel["deviceIdentifier"] = device["deviceIdentifier"];
|
||||
viewModel["imei"] = device["properties"]["IMEI"];
|
||||
viewModel["model"] = device["deviceInfo"]["deviceModel"];
|
||||
viewModel["vendor"] = device["deviceInfo"]["vendor"];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user