{% extends 'django_spire/item/infinite_scroll_item.html' %} {% block item_content %}
{% url 'metric:domain:page:detail' pk=domain.pk as domain_view_url %} {% include 'django_spire/element/attribute_element.html' with attribute_title='Domain' attribute_value=domain.name attribute_href=domain_view_url %}
{% include 'django_spire/element/attribute_element.html' with attribute_title='Description' attribute_value=domain.description %}
{% url 'metric:domain:page:detail' pk=domain.pk as domain_view_url %} {% if perms.metric_domain.change_domain %} {% url 'metric:domain:form:update' pk=domain.pk as domain_edit_url %} {% endif %} {% if perms.metric_domain.delete_domain %} {% url 'metric:domain:form:delete' pk=domain.pk as domain_delete_url %} {% endif %} {% include 'django_spire/dropdown/ellipsis_dropdown.html' with view_url=domain_view_url edit_url=domain_edit_url delete_url=domain_delete_url %}
{% endblock %}