33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
{% extends "musician/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
{% if active_domain %}
|
|
<a class="btn-arrow-left" href="{% url 'musician:address-list' %}">{% trans "Go to global" %}</a>
|
|
{% endif %}
|
|
|
|
<h1 class="service-name">{{ service.verbose_name }}
|
|
{% if active_domain %}<span class="font-weight-light">{% trans "for" %} {{ active_domain.name }}</span>{% endif %}
|
|
</h1>
|
|
<p class="service-description">{{ service.description }}</p>
|
|
|
|
{% with request.resolver_match.url_name as url_name %}
|
|
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
|
<li class="nav-item">
|
|
<a class="nav-link {% if url_name == 'address-list' %}active{% endif %}" href="{% url 'musician:address-list' %}" role="tab"
|
|
aria-selected="{% if url_name == 'address-list' %}true{% else %}false{% endif %}">{% trans "Addresses" %}</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link {% if url_name == 'mailbox-list' %}active{% endif %}" href="{% url 'musician:mailbox-list' %}" role="tab"
|
|
aria-selected="{% if url_name == 'mailbox-list' %}true{% else %}false{% endif %}">{% trans "Mailboxes" %}</a>
|
|
</li>
|
|
</ul>
|
|
|
|
{% endwith %}
|
|
|
|
<div class="tab-content" id="myTabContent">
|
|
{% block tabcontent %}
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|