|
|
@ -1,4 +1,5 @@
|
|
|
|
{{unit "cdmf.unit.device.type.android.leaflet"}}
|
|
|
|
{{unit "cdmf.unit.device.type.android.leaflet"}}
|
|
|
|
|
|
|
|
{{unit "cdmf.unit.lib.editable"}}
|
|
|
|
{{unit "cdmf.unit.lib.qrcode"}}
|
|
|
|
{{unit "cdmf.unit.lib.qrcode"}}
|
|
|
|
{{unit "cdmf.unit.device.type.qr-modal"}}
|
|
|
|
{{unit "cdmf.unit.device.type.qr-modal"}}
|
|
|
|
|
|
|
|
|
|
|
@ -51,14 +52,41 @@
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<tr role="row" class="even">
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Status</td>
|
|
|
|
<td class="sorting_1" style="padding:10px 15px; width: 15%;">Status</td>
|
|
|
|
<td style="padding:10px 15px;">
|
|
|
|
<td style="padding:10px 15px;">
|
|
|
|
{{#equal device.status "ACTIVE"}}<span><i
|
|
|
|
{{#if permissions.CHANGE_DEVICE_STATUS}}
|
|
|
|
class="fw fw-success icon-success"></i>Active</span>{{/equal}}
|
|
|
|
{{#equal device.status "ACTIVE"}}<span><i id="statusIcon"
|
|
|
|
{{#equal device.status "INACTIVE"}}<span><i
|
|
|
|
class="fw fw-success icon-success"></i>
|
|
|
|
class="fw fw-warning icon-warning"></i>Inactive</span>{{/equal}}
|
|
|
|
<a href="#" id="status" data-type="select" data-pk="1"
|
|
|
|
{{#equal device.status "BLOCKED"}}<span><i
|
|
|
|
data-title="Select status"
|
|
|
|
class="fw fw-remove icon-danger"></i>Blocked</span>{{/equal}}
|
|
|
|
selectedValue="Active"></a>
|
|
|
|
{{#equal device.status "REMOVED"}}<span><i
|
|
|
|
</span>{{/equal}}
|
|
|
|
class="fw fw-delete icon-danger"></i>Removed</span>{{/equal}}
|
|
|
|
{{#equal device.status "INACTIVE"}}<span><i id="statusIcon"
|
|
|
|
|
|
|
|
class="fw fw-warning icon-warning"></i>
|
|
|
|
|
|
|
|
<a href="#" id="status" data-type="select" data-pk="1"
|
|
|
|
|
|
|
|
data-title="Select status"
|
|
|
|
|
|
|
|
selectedValue="Inactive"></a>
|
|
|
|
|
|
|
|
</span>{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.status "BLOCKED"}}<span><i id="statusIcon"
|
|
|
|
|
|
|
|
class="fw fw-remove icon-danger"></i>
|
|
|
|
|
|
|
|
<a href="#" id="status" data-type="select" data-pk="1"
|
|
|
|
|
|
|
|
data-title="Select status"
|
|
|
|
|
|
|
|
selectedValue="Blocked"></a>
|
|
|
|
|
|
|
|
</span>{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.status "REMOVED"}}<span><i id="statusIcon"
|
|
|
|
|
|
|
|
class="fw fw-delete icon-danger"></i>
|
|
|
|
|
|
|
|
<a href="#" id="status" data-type="select" data-pk="1"
|
|
|
|
|
|
|
|
data-title="Select status"
|
|
|
|
|
|
|
|
selectedValue="Removed"></a>
|
|
|
|
|
|
|
|
</span>{{/equal}}
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
|
|
|
|
{{#equal device.status "ACTIVE"}}<span><i
|
|
|
|
|
|
|
|
class="fw fw-success icon-success"></i> Active</span>{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.status "INACTIVE"}}<span><i
|
|
|
|
|
|
|
|
class="fw fw-warning icon-warning"></i> Inactive</span>{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.status "BLOCKED"}}<span><i
|
|
|
|
|
|
|
|
class="fw fw-remove icon-danger"></i> Blocked</span>{{/equal}}
|
|
|
|
|
|
|
|
{{#equal device.status "REMOVED"}}<span><i
|
|
|
|
|
|
|
|
class="fw fw-delete icon-danger"></i> Removed</span>{{/equal}}
|
|
|
|
|
|
|
|
{{/if}}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|