{% extends 'base.html' %} {% load bootstrap %} {% block content %}
| Enrollment | Business unit | Assigned devices | Created at | Updated at | {% for enrollment in object.depenrollment_set.all %}
|---|---|---|---|---|
|
{{ enrollment }}
{{ enrollment.uuid }} |
{{ enrollment.enrollment_secret.meta_business_unit }} | {{ enrollment.assigned_devices.count }} | {{ enrollment.created_at|date:"SHORT_DATETIME_FORMAT" }} | {{ enrollment.updated_at|date:"SHORT_DATETIME_FORMAT" }} |
| Serial number | Profile | Last Assigment | Status | {% if perms.mdm.change_depdevice %}{% endif %} {% for device in object.depdevice_set.all %} |
|---|---|---|---|---|
| {{ device }}{% if device.is_deleted %} DELETED{% endif %} | {% if device.enrollment %} {% if perms.mdm.view_depenrollment %} {{ device.enrollment }} {% else %} {{ device.enrollment }} {% endif %} {% else %} - {% endif %} | {{ device.device_assigned_by|default:"-" }} {% if device.device_assigned_by %} - {{ device.device_assigned_date|date:"SHORT_DATETIME_FORMAT"|default:"-" }}{% endif %} | {{ device.profile_status }} {% if device.profile_status == "pushed" and device.profile_push_time %} - {{ device.profile_push_time|date:"SHORT_DATETIME_FORMAT" }}{% endif %} | {% if perms.mdm.change_depdevice %}{% if not dep_device.is_deleted %} {% endif %} | {% endif %}