{% extends 'base.html' %} {% load ui_extras base_extras inventory_extras %} {% block content %}

{{ object }}

Manifest

{% if perms.monolith.change_manifest %} {% url 'monolith:update_manifest' object.id as url %} {% button 'UPDATE' url "Edit Manifest" %} {% endif %}
Attribute Value
Business unit {% if perms.inventory.view_metabusinessunit %} {{ object.meta_business_unit }} {% else %} {{ object.meta_business_unit }} {% endif %}
{% created_updated_at object %}
{% if perms.monolith.view_enrollment %}

Enrollment{{ enrollments|length|pluralize }} ({{ enrollments|length }})

{% if perms.monolith.add_enrollment %} {% url 'monolith:add_manifest_enrollment' object.id as url %} {% button 'CREATE' url "Add new Enrollment" 'mx-3' %} {% endif %}
{% if enrollments %} {% for enrollment in enrollments %} {% with enrollment.secret as secret %} {% with secret.tags.count as secret_tags_count %} {% with enrollment.distributor as distributor %} {% endwith %} {% endwith %} {% endwith %} {% endfor %}
Enrollment tags Created at Request count Distributor
{% if secret_tags_count %} {% for tag in secret.tags.all %} {% inventory_tag tag %} {% endfor %} {% endif %} {{ secret.created_at|date:"SHORT_DATETIME_FORMAT" }} {{ secret.request_count }}{% if secret.quota %} / {{ secret.quota }}{% endif %} {% if distributor %} {{ distributor.get_description_for_enrollment }} {% else %} - {% endif %} {% if not distributor and not secret.is_used_up %} {% url 'monolith_api:enrollment_plist' enrollment.id as url %} {% button 'DOWNLOAD' url "Download .plist" %} {% url 'monolith_api:enrollment_configuration_profile' enrollment.id as url %} {% button 'DOWNLOAD' url "Download .mobileconfig" %} {% elif secret.is_used_up %} Enrollment used up. {% endif %}
{% endif %} {% endif %} {% if perms.monolith.view_manifestcatalog %}

Catalog{{ manifest_catalogs|length|pluralize }} ({{ manifest_catalogs|length }})

{% if perms.monolith.add_manifestcatalog %} {% url 'monolith:add_manifest_catalog' object.id as url %} {% button 'CREATE' url "Add new Catalog" 'mx-3' %} {% endif %}
{% if perms.monolith.change_manifestcatalog or perms.monolith.delete_manifestcatalog %} {% endif %} {% for manifest_catalog in manifest_catalogs %} {% with manifest_catalog.catalog as catalog %} {% else %} {{ catalog.name }} {% endif %} {% if perms.monolith.change_manifestcatalog or perms.monolith.delete_manifestcatalog %} {% endif %} {% endwith %} {% endfor %}
repository name tags
{% if perms.monolith.view_repository %} {{ catalog.repository }} {% else %} {{ catalog.repository }} {% endif %} {% if perms.monolith.view_catalog %} {{ catalog.name }} {% for tag in manifest_catalog.tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %} {% if perms.monolith.change_manifestcatalog %} {% url 'monolith:edit_manifest_catalog' object.id manifest_catalog.catalog.id as url %} {% button 'UPDATE' url "Edit Manifest Catalog" %} {% endif %} {% if perms.monolith.delete_manifestcatalog %} {% url 'monolith:delete_manifest_catalog' object.id manifest_catalog.catalog.id as url %} {% button 'DELETE' url "Delete Manifest Catalog" %} {% endif %}
{% endif %} {% if perms.monolith.view_manifestenrollmentpackage %}

Enrollment package{{ manifest_enrollment_packages|length|pluralize }} ({{ manifest_enrollment_packages|length }})

{% if perms.monolith.add_manifestenrollmentpackage %} {% endif %}
{% if perms.monolith.change_manifestenrollmentpackage or perms.monolith.delete_manifestenrollmentpackage %} {% endif %} {% for manifest_enrollment_package in manifest_enrollment_packages %} {% with manifest_enrollment_package.get_enrollment as mep_enrollment %} {% if perms.monolith.change_manifestenrollmentpackage or perms.monolith.delete_manifestenrollmentpackage %} {% endif %} {% endwith %} {% endfor %}
name version description tags
{{ manifest_enrollment_package.get_name }} {{ manifest_enrollment_package.version }} {% if mep_enrollment %} {{ mep_enrollment.get_description_for_distributor }} {% else %} - {% endif %} {% for tag in manifest_enrollment_package.tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %} {% if perms.monolith.change_manifestenrollmentpackage %} {% url 'monolith:update_manifest_enrollment_package' object.id manifest_enrollment_package.id as url %} {% button 'UPDATE' url "Edit Enrollment Package" %} {% endif %} {% if perms.monolith.delete_manifestenrollmentpackage %} {% url 'monolith:delete_manifest_enrollment_package' object.id manifest_enrollment_package.id as url %} {% button 'DELETE' url "Delete Enrollment Package" %} {% endif %}
{% endif %} {% if perms.monolith.view_manifestsubmanifest %}

Sub manifest{{ manifest_sub_manifests|length|pluralize }} ({{ manifest_sub_manifests|length }})

{% if perms.monolith.add_manifestsubmanifest %} {% url 'monolith:add_manifest_sub_manifest' object.id as url %} {% button 'CREATE' url "Add new Sub Manifest" 'mx-3' %} {% endif %}
{% for manifest_sub_manifest in manifest_sub_manifests %} {% with manifest_sub_manifest.sub_manifest as sub_manifest %} {% if perms.monolith.change_manifestsubmanifest or perms.monolith.delete_manifestsubmanifest %} {% endif %} {% endwith %} {% endfor %}
name description tags
{% if perms.monolith.view_submanifest %} {{ sub_manifest }} {% else %} {{ sub_manifest }} {% endif %} {{ sub_manifest.description|default:"-"|linebreaksbr }} {% for tag in manifest_sub_manifest.tags.all %} {% inventory_tag tag %} {% endfor %} {% if perms.monolith.change_manifestsubmanifest %} {% url 'monolith:edit_manifest_sub_manifest' object.id sub_manifest.id as url %} {% button 'UPDATE' url "Edit Sub Manifest" %} {% endif %} {% if perms.monolith.delete_manifestsubmanifest %} {% url 'monolith:delete_manifest_sub_manifest' object.id sub_manifest.id as url %} {% button 'DELETE' url "Delete Sub Manifest" %} {% endif %}
{% endif %} {% if perms.monolith.view_cacheserver %}

Cache server{{ manifest_cache_servers|length|pluralize }} ({{ manifest_cache_servers|length }})

{% if perms.monolith.delete_cacheserver %} {% endif %} {% for manifest_cache_server in manifest_cache_servers %} {% if perms.monolith.delete_cacheserver %} {% endif %} {% endfor %}
name public ip base url created at updated at
{{ manifest_cache_server.name }} {{ manifest_cache_server.public_ip_address }} {{ manifest_cache_server.base_url }} {{ manifest_cache_server.created_at }} {{ manifest_cache_server.updated_at }}
{% csrf_token %}
{% endif %} {% endblock %}