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

Jamf

{% if perms.jamf.view_jamfinstance %}

Instance{{ instances_count|pluralize }} ({{ instances_count }})

{% if perms.jamf.add_jamfinstance %} {% url 'jamf:create_jamf_instance' as url %} {% button 'CREATE' url "Create new Instance" %} {% endif %}
{% if instances %} {% if perms.jamf.change_jamfinstance %} {% endif %} {% for jamf_instance in instances %} {% if perms.jamf.change_jamfinstance %} {% endif %} {% endfor %}
Host API User Business unit
{{ jamf_instance.host }} {{ jamf_instance.user }} {% if jamf_instance.business_unit %} {{ jamf_instance.business_unit }} {% else %} - {% endif %} {% url 'jamf:update_jamf_instance' jamf_instance.pk as url %} {% button 'UPDATE' url "Edit Instance" %}
{% else %} {% if perms.jamf.add_jamfinstance %} {% url 'jamf:create_jamf_instance' as link %} {% no_entities 'Instances' link %} {% else %} {% no_entities 'Instances' %} {% endif %} {% endif %} {% endif %}
{% endblock %} {% block extrajs %} {% endblock %}