{% extends 'generic/object.html' %} {% load i18n %} {% load plugins %} {% load humanize %} {% load helpers %} {% load render_table from django_tables2 %} {% block content %}
{% trans "Services" %}
{% if object.description %} {% endif %} {% if object.tenant %} {% endif %}
{% trans "Name" %} {{ object.name }}
{% trans "Reference" %} {{ object.reference }}
{% trans "Description" %} {{ object.description|placeholder }}
{% trans "Disabled" %} {% checkmark object.disabled %}
{% trans "Tenant" %} {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }}
{% if vip_assignments_table.rows|length == 1 %}

{% trans "Virtual IP Assignment" %}

{% else %}

{% trans "Virtual IP Assignments" %}

{% endif %}
{% render_table vip_assignment_table 'inc/table.html' %}
{% if device_assignments_table.rows|length == 1 %}

{% trans "Device Assignment" %}

{% else %}

{% trans "Device Assignments" %}

{% endif %}
{% render_table device_assignments_table 'inc/table.html' %}
{% if virtual_device_assignments_table.rows|length == 1 %}

{% trans "Virtual Device Context Assignment" %}

{% else %}

{% trans "Virtual Device Context Assignments" %}

{% endif %}
{% render_table virtual_device_assignments_table 'inc/table.html' %}
{% if virtual_machine_assignments_table.rows|length == 1 %}

{% trans "Virtual Machine Assignment" %}

{% else %}

{% trans "Virtual Machine Assignments" %}

{% endif %}
{% render_table virtual_machine_assignments_table 'inc/table.html' %}
{% include 'inc/panels/custom_fields.html' %} {% plugin_left_page object %}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}