{% extends "base.html" %} {% load scoped_tags %} {% block title %}{{ data.name|default:"Service" }}{% endblock %} {% block page_title %}{{ data.name|default:"Service Detail" }}{% endblock %} {% block page_subtitle %}{{ data.description|default:"" }}{% endblock %} {% block layer_indicator %}L3 Objects · L4 Sharing · L6 Audit · L7 Rollback{% endblock %} {% block content %} {# Service header #}

{{ data.name }}

{% if is_owner %} Owner {% else %} Shared {% endif %}

ID: {{ obj.id|truncate_id:16 }} · Owner: {{ obj.owner_id|truncate_id }} · Created: {{ obj.created_at|format_dt }}

{# Tabs #}
{# Tab Content #} {% if active_tab == "overview" %}

Service Configuration

{{ data|pretty_json }}
{% elif active_tab == "versions" %}
{% for v in versions %} {% endfor %}
Version Created By Checksum Created At
v{{ v.version }} {{ v.created_by|truncate_id }} {{ v.checksum|truncate_id:12 }} {{ v.created_at|format_dt }}
{% elif active_tab == "sharing" %}
{# Current projections #} {% if projections %}
{% if is_owner %}{% endif %} {% for p in projections %} {% if is_owner %} {% endif %} {% endfor %}
Scope Access Level Projected AtActions
{{ p.scope_name }} {% include "components/_state_badge.html" with state=p.access_level %} {{ p.projected_at|format_dt }}
{% csrf_token %}
{% else %}

Not shared with any team.

{% endif %} {# Add projection (owner only) #} {% if is_owner and available_scopes %}

Share with a team

{% csrf_token %}
{% endif %}
{% elif active_tab == "audit" %}
{% if audit_entries %} {% include "components/_timeline.html" with entries=audit_entries %} {% else %}

No audit entries for this service.

{% endif %}
{% endif %} {% endblock %}