{% extends 'base.html' %}
{% load base_extras inventory_extras %}
{% load ui_extras %}
{% block content %}
Artifact version v{{ object.version }}
Artifact version
{% if artifact.type == "Profile" %}
{% url 'mdm:download_profile' object.pk as url %}
{% button 'DOWNLOAD' url "Download Profile" %}
{% endif %}
{% if artifact.type == "Enterprise App" %}
{% url 'mdm:download_enterprise_app' object.pk as url %}
{% button 'DOWNLOAD' url "Download Enterprise App" %}
{% endif %}
{% if perms.mdm.change_artifactversion %}
{% url 'mdm:update_artifact_version' artifact.pk object.pk as url %}
{% button 'UPDATE' url "Edit Scope" %}
{% endif %}
{% if perms.mdm.delete_artifactversion and object.can_be_deleted %}
{% url 'mdm:delete_artifact_version' artifact.pk object.pk as url %}
{% button 'DELETE' url "Delete Artifact Version" %}
{% endif %}
{% if enterprise_app %}
{% include "mdm/_enterprise_app_detail.html" %}
{% endif %}
{% if profile %}
{% include "mdm/_profile_detail.html" %}
{% endif %}
{% if store_app %}
{% include "mdm/_store_app_detail.html" %}
{% endif %}
Scope |
| Version |
{{ object.version }} |
| Platforms |
{% if object.platforms %}
{% for platform, versions in object.platforms.items %}
- {% if versions.min %}{{ versions.min }} ≤ {% endif %}{{ platform }}{% if versions.max %} < {{ versions.max }}{% endif %}
{% endfor %}
{% else %}
-
{% endif %}
|
| Excluded tags |
{% for tag in object.excluded_tags.all %}
{% inventory_tag tag %}
{% empty %}
-
{% endfor %}
|
| Default shards |
{{ object.default_shard }}/{{ object.shard_modulo }} |
| Tag shards |
{% if object.tag_shards %}
{% for tag_shard in object.tag_shards %}
| {% inventory_tag tag_shard.tag %} | {{ tag_shard.shard }} |
{% endfor %}
{% else %}
-
{% endif %}
|
{% created_updated_at object %}
{% endblock %}