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

Sub manifest - {{ object }}

{% if perms.monolith.change_submanifest %} Update {% endif %} {% if object.can_be_deleted and perms.monolith.delete_submanifest %} Delete {% endif %}

Business unit
{% if object.meta_business_unit %} restricted to {% if perms.inventory.view_metabusinessunit %} {{ object.meta_business_unit }} {% else %} {{ object.meta_business_unit }} {% endif %} {% else %} not restricted {% endif %}
Description
{{ object.description|default:"-"|urlize|linebreaks }}

{% if total.pkginfo %} {{ total.pkginfo }} Repository Package{{ total.pkginfo|pluralize }}, {% endif %} {% if total.configuration_profile %} {{ total.configuration_profile }} Configuration Profile{{ total.configuration_profile|pluralize }}, {% endif %} {% if total.package %} {{ total.package }} Package{{ total.package|pluralize }} {% endif %} {% if total.script %} {{ total.script }} Script{{ total.script|pluralize }} {% endif %}

{% if perms.monolith.add_submanifestpkginfo or perms.monolith.add_submanifestattachment %} {% endif %} {% for key_display, key_list in keys %} {% for name, smo in key_list %} {% if smo.type %} {% else %} {% endif %} {% if smo.type %} {% else %} {% endif %} {% endfor %} {% endfor %}
Name Type Feat. Condition Excl. tags Def. shard Tag shards

{{ key_display }}

{% if smo.pkg_info_name %} {% if perms.monolith.view_pkginfoname %} {{ name }} {% else %} {{ name }} {% endif %} {% else %} {% if smo.can_be_downloaded %} {% if perms.monolith.view_submanifestattachment %} {{ name }} {% else %} {{ name }} {% endif %} {% else %} {{ name }} {% endif %}
uploaded: {{ smo.created_at|date:"r" }} {% if smo.trashed_at %}
trashed: {{ smo.trashed_at|timesince }} ago {% endif %} {% endif %}
{{ smo.get_type_display }}rep. pkg {{ smo.featured_item|yesno:"★,-" }} {% if smo.condition %} {% if perms.monolith.view_condition %} {{ smo.condition }} {% else %} {{ smo.condition }} {% endif %} {% else %} - {% endif %} {% if not smo.type %} {% for tag in smo.excluded_tags %} {% inventory_tag tag %} {% empty %} - {% endfor %} {% else %} {% endif %} {% if not smo.type %} {{ smo.default_shard }}/{{ smo.shard_modulo }} {% endif %} {% if not smo.type %} {% if smo.tag_shards %} {% for tag, shard in smo.tag_shards %} {% endfor %}
{% inventory_tag tag %}{{ shard }}
{% else %} - {% endif %} {% endif %}
{% if smo.trashed_at %} {% if perms.monolith.delete_submanifestattachment %} {% endif %} {% else %} {% if smo.type == 'script' %} {% if perms.monolith.change_submanifestattachment %} {% endif %} {% endif %} {% if perms.monolith.delete_submanifestattachment %} {% endif %} {% endif %} {% if perms.monolith.change_submanifestpkginfo %} {% endif %} {% if perms.monolith.delete_submanifestpkginfo %} {% endif %}
{% if perms.monolith.view_manifest %}

Included in {{ manifests|length }} manifest{{ manifests|length|pluralize }}

{% for tags, manifest in manifests %} {% endfor %}
{{ manifest }} {% for tag in tags %}{% inventory_tag tag %}{% endfor %}
{% endif %} {% endblock %}