datatracker/ietf/templates/group/group_base.html
Lars Eggert bbf088e18b Hopefully the final check-ins.
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00

43 lines
1.7 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load ietf_filters static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}{{ group.name }} ({{ group.acronym }}){% endblock %}
{% block content %}
{% origin %}
<h1>
{{ group.name }} ({{ group.acronym }})
{% if group.state_id == "dormant" or group.state_id == "conclude" %}
<span class="badge bg-warning float-end">Concluded {{ group.type.name }}</span>
{% endif %}
{% if group.state_id == "replaced" %}<span class="badge bg-warning float-end">Replaced {{ group.type.name }}</span>{% endif %}
{% if group.state_id == "proposed" %}<span class="badge bg-info float-end">Proposed {{ group.type.name }}</span>{% endif %}
</h1>
<ul class="nav nav-tabs my-3">
{% for name, url in menu_entries %}
<li class="nav-item">
<a class="nav-link {% if selected_menu_entry == name.lower %}active{% endif %}"
href="{{ url }}">{{ name }}</a>
</li>
{% endfor %}
</ul>
<div class="buttonlist">
{% block buttonlist %}
{% if menu_actions %}
{% for name, url in menu_actions %}
<a class="btn {% if name == "Request closing group" %}btn-warning{% else %}btn-primary{% endif %}"
href="{{ url }}">
{{ name }}
</a>
{% endfor %}
{% endif %}
{% endblock %}
</div>
{% block group_content %}{% endblock %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}