{% extends 'base.html' %}
{% load inventory_extras %}
{% block content %}
- Home
- MDM
- Enrollments
- [USER] {{ object }}
[USER] {{ object }}
{% with object.enrollment_secret as secret %}
| Push certificate |
{% if perms.mdm.view_pushcertificate %}
{{ object.push_certificate }}
{% else %}
{{ object.push_certificate }}
{% endif %}
|
| SCEP config |
{% if perms.mdm.view_scepconfig %}
{{ object.scep_config }}
{% else %}
{{ object.scep_config }}
{% endif %}
{% if object.scep_verification %}
/ with CSR verification
{% else %}
/ without CSR verification
{% endif %}
|
| Realm |
{% if object.realm %}
{% if perms.realms.view_realm %}
{{ object.realm }}
{% else %}
{{ object.realm }}
{% endif %}
{% else %}
-
{% endif %}
|
| Blueprint |
{% if object.blueprint %}
{% if perms.mdm.view_blueprint %}
{{ object.blueprint }}
{% else %}
{{ blueprint }}
{% endif %}
{% else %}
-
{% endif %}
|
| Business unit |
{{ secret.meta_business_unit }} |
| Enrollment tag{{ secret.tags.count|pluralize }} |
{% for tag in secret.tags.all %}{% inventory_tag tag %}{% empty %}-{% endfor %} |
Authentication
Restrictions
| Quota |
{% if secret.quota %}{{ secret.quota }}{% else %}-{% endif %} |
Status
| Request count
|
{{ secret.request_count }}{% if secret.quota %}/{{ secret.quota }}{% endif %}
|
| Expired |
{{ secret.expired_at|date:"SHORT_DATETIME_FORMAT"|default:"no" }}
|
| Revoked |
{% if secret.is_revoked %}
{{ secret.revoked_at|date:"SHORT_DATETIME_FORMAT" }}
{% else %}
no
{% if perms.mdm.change_otaenrollment %}
Revoke
{% else %}
no
{% endif %}
{% endif %}
|
- Created at
- {{ object.created_at|date:'SHORT_DATETIME_FORMAT' }}
- Updated at
- {{ object.updated_at|date:'SHORT_DATETIME_FORMAT' }}
{% if not secret.is_revoked %}
{% if perms.mdm.change_userenrollment %}
Edit
{% endif %}
{% endif %}
{% endwith %}
{{ user_enrollment_sessions_count }} Session{{ user_enrollment_sessions_count|pluralize }}
| Managed apple ID |
Status |
Created at |
Updated at |
{% for s in user_enrollment_sessions %}
| {{ s.managed_apple_id|default:"-" }} |
{{ s.get_status_display }} |
{{ s.created_at|date:"SHORT_DATETIME_FORMAT" }} |
{{ s.updated_at|date:"SHORT_DATETIME_FORMAT" }} |
{% endfor %}
{% endblock %}