{% extends 'generic/_base.html' %} {% load helpers %} {% load form_helpers %} {% load i18n %} {% block title %}{% trans "Service Impact" %}{% endblock %} {% block tabs %} {% endblock tabs %} {% block content %}

{% trans "Pick the kind of object you're about to change or remove, then choose the specific object. Any Service that uses it directly — or depends on a Service that does — is listed below." %}

{% for field in form %}
{{ field.label_tag }} {{ field }} {% for error in field.errors %}
{{ error }}
{% endfor %}
{% endfor %}
{% if searched_field %}

{% trans "Directly affected services" %}

{% for service in direct_services %} {% empty %} {% endfor %}
{% trans "Service ID" %} {% trans "Type" %} {% trans "Status" %} {% trans "Tenant" %}
{{ service|linkify }} {{ service.get_type_display }} {% badge service.get_status_display bg_color=service.get_status_color %} {{ service.tenant|linkify|placeholder }}
{% trans "No services use this object directly." %}

{% trans "Also affected (depend on the services above)" %}

{% for service in cascaded_services %} {% empty %} {% endfor %}
{% trans "Service ID" %} {% trans "Type" %} {% trans "Status" %} {% trans "Tenant" %}
{{ service|linkify }} {{ service.get_type_display }} {% badge service.get_status_display bg_color=service.get_status_color %} {{ service.tenant|linkify|placeholder }}
{% trans "No other services depend on the ones above." %}
{% endif %} {% endblock content %}