{% extends 'generic/object.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load plugins %} {% load tabs %} {% load i18n %} {% load perms %} {% load plugins %} {% load custom_filters %} {% load render_table from django_tables2 %} {% block extra_controls %} {# Add button to create Circuit from Segment data #} {% if perms.circuits.add_circuit %} {% trans "Generate Circuit" %} {% endif %} {% endblock extra_controls %} {% block content %}
| Name | {{ object.name|placeholder }} |
|---|---|
| Segment Type | {{ object.get_segment_type_display }} |
| Network Label | {{ object.network_label|placeholder }} |
| Install Date | {{ object.install_date|placeholder }} |
| Termination Date | {{ object.termination_date|placeholder }} |
| Provider | {% if object.provider %} {{ object.provider }} {% else %} {{ ''|placeholder }} {% endif %} |
| Provider ID | {{ object.provider_segment_id|placeholder }} |
| Status | {{ object.get_status_display }} |
| Date Status | {% include 'cesnet_service_path_plugin/inc/date_status_badge.html' with record=object %} |
| Has Path Data | {% if object.has_path_data %} Yes {% else %} No {% endif %} |
|---|---|
| Path Length | {% if object.path_length_km %} {{ object.path_length_km }} km {% else %} {{ ''|placeholder }} {% endif %} |
| Source Format | {{ object.get_path_source_format_display|default:object.path_source_format|placeholder }} |
| Path Notes | {{ object.path_notes|linebreaks }} |
| Monthly Charge | {{ financial_info.monthly_charge|floatformat:2|spacecomma }} {{ financial_info.charge_currency }} |
|---|---|
| Non-Recurring Charge | {{ financial_info.non_recurring_charge|floatformat:2|spacecomma }} {{ financial_info.charge_currency }} |
| Commitment Period | {{ financial_info.commitment_period_months }} months |
| Total Commitment Cost | {{ financial_info.total_commitment_cost|floatformat:2|spacecomma }} {{ financial_info.charge_currency }} |
| Total Cost (incl. Setup) | {{ financial_info.total_cost_including_setup|floatformat:2|spacecomma }} {{ financial_info.charge_currency }} |
| Notes | {{ financial_info.notes|linebreaks }} |
| Site | {% if object.site_a %} {{ object.site_a }} {% else %} {{ ''|placeholder }} {% endif %} |
|---|---|
| Location | {% if object.location_a %} {{ object.location_a }} {% else %} {{ ''|placeholder }} {% endif %} |
| Site | {% if object.site_b %} {{ object.site_b }} {% else %} {{ ''|placeholder }} {% endif %} |
|---|---|
| Location | {% if object.location_b %} {{ object.location_b }} {% else %} {{ ''|placeholder }} {% endif %} |