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

{{ object }}

Sub manifest

{% if perms.monolith.change_submanifest %} {% url 'monolith:update_sub_manifest' object.id as url %} {% button 'UPDATE' url "Edit Sub Manifest" %} {% endif %} {% if object.can_be_deleted and perms.monolith.delete_submanifest %} {% url 'monolith:delete_sub_manifest' object.id as url %} {% button 'DELETE' url "Delete Sub Manifest" %} {% endif %}
Attribute Value
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 }}

Package{{ total.pkginfo|pluralize }} ({{ total.pkginfo }})

{% if perms.monolith.add_submanifestpkginfo %} {% url 'monolith:sub_manifest_add_pkg_info' object.pk as url %} {% button 'CREATE' url "Create new Package" %} {% endif %}
{% if keys %} {% for key_display, key_list in keys %} {% for name, smpi in key_list %} {% endfor %} {% endfor %}
Name Feat. Condition Excl. tags Def. shard Tag shards

{{ key_display }}

{% if perms.monolith.view_pkginfoname %} {{ name }} {% else %} {{ name }} {% endif %} {{ smpi.featured_item|yesno:"★,-" }} {% if smpi.condition %} {% if perms.monolith.view_condition %} {{ smpi.condition }} {% else %} {{ smpi.condition }} {% endif %} {% else %} - {% endif %} {% for tag in smpi.excluded_tags %} {% inventory_tag tag %} {% empty %} - {% endfor %} {{ smpi.default_shard }}/{{ smpi.shard_modulo }} {% if smpi.tag_shards %} {% for tag_shard in smpi.tag_shards %} {% endfor %}
{% inventory_tag tag_shard.tag %}{{ tag_shard.shard }}
{% else %} - {% endif %}
{% if smpi.pkg_info_name.has_active_pkginfos and perms.monolith.change_submanifestpkginfo %} {% url 'monolith:update_sub_manifest_pkg_info' object.id smpi.id as url %} {% button 'UPDATE' url "Edit Package" %} {% endif %} {% if perms.monolith.delete_submanifestpkginfo %} {% url 'monolith:delete_sub_manifest_pkg_info' object.id smpi.id as url %} {% button 'DELETE' url "Delete Package" %} {% endif %}
{% endif %} {% if perms.monolith.view_manifest %}

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

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