{% extends 'generic/object.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load plugins %} {% load tabs %} {% load i18n %} {% load perms %} {% load render_table from django_tables2 %} {% block controls %}
{% plugin_buttons object %} {# Add/edit/delete/etc. buttons #} {% block control-buttons %} {# Extra buttons #} {% block extra_controls %}{% endblock %} {# Default buttons #} {% if perms.extras.add_bookmark and object.bookmarks %} {% bookmark_button object %} {% endif %} {% if request.user|can_change:object %} {% edit_button object %} {% endif %} {% if request.user|can_delete:object and object.sync_status == 'deleted' %} {% delete_button object %} {% endif %} {% endblock control-buttons %}
{# Custom links #}
{% block custom-links %} {% custom_links object %} {% endblock custom-links %}
{% endblock controls %} {% block content %}
Service Path
Name {{ object.name }}
State {{ object.state }}
Kind {{ object.kind }}
Synchronization Status {{ object.get_sync_status_display }}
{% include 'inc/panels/custom_fields.html' %} {% plugin_left_page object %}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} {% plugin_right_page object %}
{% load render_table from django_tables2 %}
Segments
{% htmx_table 'plugins:komora_service_path_plugin:servicepathsegmentmapping_list' service_path_id=object.pk %}
{% plugin_full_width_page object %}
{% endblock content %}