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

Manifest - {{ object }}

{% if perms.monolith.change_manifest %}

Rename

{% endif %}
Business unit
{% if perms.inventory.view_metabusinessunit %} {{ object.meta_business_unit }}
{% else %} {{ object.meta_business_unit }} {% endif %}
Version
{{ object.version }}
Created at
{{ object.created_at }}
Updated at
{{ object.updated_at }}
{% if perms.monolith.view_enrollment %}

{{ enrollments|length }} Enrollment{{ enrollments|length|pluralize }}

{% if perms.monolith.add_enrollment %}

Add

{% 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 %} .plist .mobileconfig {% elif secret.is_used_up %} Enrollment used up. {% endif %}
{% endif %} {% endif %} {% if perms.monolith.view_manifestcatalog %}

{{ manifest_catalogs|length }} Catalog{{ manifest_catalogs|length|pluralize }}

{% if perms.monolith.add_manifestcatalog %}

Add

{% endif %} {% if perms.monolith.change_manifestcatalog or perms.monolith.delete_manifestcatalog %} {% endif %} {% for manifest_catalog in manifest_catalogs %} {% if perms.monolith.change_manifestcatalog or perms.monolith.delete_manifestcatalog %} {% endif %} {% endfor %}
name priority tags
{{ manifest_catalog.catalog }} {{ manifest_catalog.catalog.priority }} {% for tag in manifest_catalog.tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %} {% if perms.monolith.change_manifestcatalog %} {% endif %} {% if perms.monolith.delete_manifestcatalog %} {% endif %}
{% endif %} {% if perms.monolith.view_manifestenrollmentpackage %}

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

{% 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 %} {% endif %} {% if perms.monolith.delete_manifestenrollmentpackage %} {% endif %}
{% endif %} {% if perms.monolith.view_printer %}

{{ manifest_printers|length }} Printer{{ manifest_printers|length|pluralize }}

{% if perms.monolith.add_printer %}

Add

{% endif %} {% if perms.monolith.change_printer or perms.monolith.delete_printer %} {% endif %} {% for manifest_printer in manifest_printers %} {% if perms.monolith.change_printer or perms.monolith.delete_printer %} {% endif %} {% endfor %}
name model version tags
{{ manifest_printer.name }} {{ manifest_printer.ppd.model_name }} {{ manifest_printer.version }} {% for tag in manifest_printer.tags.all %} {% inventory_tag tag %} {% endfor %} {% if perms.monolith.change_printer %} {% endif %} {% if perms.monolith.delete_printer %} {% endif %}
{% endif %} {% if perms.monolith.view_manifestsubmanifest %}

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

{% if perms.monolith.add_manifestsubmanifest %}

Add

{% 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:"-"|linebreaks }} {% for tag in manifest_sub_manifest.tags.all %} {% inventory_tag tag %} {% endfor %} {% if perms.monolith.change_manifestsubmanifest %} {% endif %} {% if perms.monolith.delete_manifestsubmanifest %} {% endif %}
{% endif %} {% if perms.monolith.view_cacheserver %}

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

{% 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 %}