{% extends 'base.html' %} {% load ui_extras %} {% load inventory_extras %} {% block content %}
| Type | {{ object.get_type_display }} |
|---|---|
| Channel | {{ object.channel }} |
| Platform{{ object.platforms|length|pluralize }} | {{ object.platforms|join:", "|default:"-" }} |
| Depends on | {% for required_artifact in object.requires.all %} {{ required_artifact }}{% if not forloop.last %}, {% endif %} {% empty %} - {% endfor %} |
| Install during setup assistant | {{ object.install_during_setup_assistant|yesno }} |
| Auto update | {{ object.auto_update|yesno }} |
| Reinstall interval | {% if not object.reinstall_interval %} Never {% else %} {{ object.reinstall_interval }} day{{ object.reinstall_interval|pluralize }} {% endif %} |
| Reinstall on OS update | {{ object.get_reinstall_on_os_update_display }} |
| Version | Platforms | Excl. tags | Def. shard | Tag shards | |||
|---|---|---|---|---|---|---|---|
| {% if perms.mdm.view_artifactversion %} {{ av.version }} {% else %} {{ av.version }} {% endif %} |
{% if av.platforms %}
|
{% for tag in av.excluded_tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %} | {{ av.default_shard }}/{{ av.shard_modulo }} |
{% if av.tag_shards %}
|
{% if perms.mdm.view_artifactversion %} {% if artifact.type == "Profile" %} {% url 'mdm:download_profile' av.pk as url %} {% button 'DOWNLOAD' url "Download Profile" %} {% endif %} {% if artifact.type == "Enterprise App" %} {% url 'mdm:download_enterprise_app' av.pk as url %} {% button 'DOWNLOAD' url "Download Enterprise App" %} {% endif %} {% endif %} {% if perms.mdm.change_artifactversion %} {% url 'mdm:update_artifact_version' object.pk av.pk as url %} {% button 'UPDATE' url "Edit Version" %} {% endif %} {% if perms.mdm.delete_artifactversion and av.can_be_deleted %} {% url 'mdm:delete_artifact_version' object.pk av.pk as url %} {% button 'DELETE' url "Delete Version" %} {% endif %} |
| Name | Platforms | Excl. tags | Def. shard | Tag shards | |||
|---|---|---|---|---|---|---|---|
| {% if perms.mdm.view_blueprint %} {{ ba.blueprint }} {% else %} {{ ba.blueprint }} {% endif %} |
{% if ba.platforms %}
|
{% for tag in ba.excluded_tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %} | {{ ba.default_shard }}/{{ ba.shard_modulo }} |
{% if ba.tag_shards %}
|
{% if perms.mdm.change_blueprintartifact %} {% url 'mdm:update_blueprint_artifact' object.pk ba.pk as url %} {% button 'UPDATE' url "Edit Blueprint" %} {% endif %} {% if perms.mdm.delete_blueprintartifact %} {% url 'mdm:delete_blueprint_artifact' object.pk ba.pk as url %} {% button 'DELETE' url "Delete Blueprint" %} {% endif %} |