intended to make it easier to see that you can edit things like the external/additional URLs: - Added the ability to edit individual fields in a group's about page, and added edit buttons for editable fields on the about page, just as for documents (the ability to edit all editable fields already was available from the 'Edit group' button on the /group//about/ page). - Made the tab label for the group-about tab consistently say 'About', instead of 'Charter' for some groups. = Shifted the position of the about tab to the start of the tab line. - Removed the datatracker account requirement information at the top of the group edit page for users logged in to their account. - Tweaked the 'Show update' link on the 'Status Update' line. - Changed the label for the external URLs from 'More Info' to 'Additional URLs', which was already in use on the edit form. - Legacy-Id: 12904
244 lines
6.9 KiB
HTML
244 lines
6.9 KiB
HTML
{% extends "group/group_base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load ietf_filters %}
|
|
{% load markup_tags %}
|
|
|
|
{% block group_content %}
|
|
{% origin %}
|
|
{% if group.state_id == "conclude" %}
|
|
<p class="alert alert-warning"><b>Note:</b> The data for concluded {{ group.type.name }}s is occasionally incorrect.</p>
|
|
{% endif %}
|
|
|
|
<table class="table table-condensed">
|
|
<thead><tr><th colspan="4"></th></tr></thead>
|
|
<tbody class="meta">
|
|
<tr>
|
|
<th>{{ group.type.name }}</th>
|
|
<th>Name</th>
|
|
<td class="edit">
|
|
{% if can_edit_group %}
|
|
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views_edit.edit' acronym=group.acronym field='name' %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ group.name }}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td></td>
|
|
<th>Acronym</th>
|
|
<td class="edit"></td>
|
|
<td>{{ group.acronym }}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td></td>
|
|
{% if group.parent and group.parent.type_id == "area" %}
|
|
<th>{{ group.parent.type.name }}</th>
|
|
<td class="edit"></td>
|
|
<td>{{ group.parent.name }} ({{ group.parent.acronym }})</td>
|
|
{% else %}
|
|
<th></th>
|
|
<td class="edit"></td>
|
|
<td></td>
|
|
{% endif %}
|
|
</tr>
|
|
|
|
<tr>
|
|
<td></td>
|
|
<th>State</th>
|
|
<td class="edit">
|
|
{% if can_edit_group %}
|
|
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views_edit.edit' acronym=group.acronym field='state' %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{{ group.state.name }}
|
|
{% if requested_close %}
|
|
<div class="label label-info">In the process of being closed</div>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
|
|
{% if group.features.has_chartering_process %}
|
|
<tr>
|
|
<td></td>
|
|
<th>Charter</th>
|
|
<td class="edit"></td>
|
|
<td>
|
|
{% if group.charter %}
|
|
<a href="{% url "ietf.doc.views_doc.document_main" name=group.charter.name %}">{{ group.charter.name }}-{{ group.charter.rev }}</a>
|
|
<span class="label label-info">{{ group.charter.get_state.name }}</span>
|
|
{% else %}
|
|
(None)
|
|
{% if user|has_role:"Area Director,Secretariat" %}
|
|
<a class="btn btn-warning btn-xs" href="{{ charter_submit_url }}">Submit charter</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
|
|
{% if can_provide_status_update or status_update %}
|
|
<tr id='status_update'>
|
|
<td></td>
|
|
<th>Status Update</th>
|
|
<td class="edit">
|
|
{% if can_provide_status_update %}
|
|
<a class="btn btn-default btn-xs" href="{% url "ietf.group.views.group_about_status_edit" acronym=group.acronym %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if status_update %}
|
|
<a href="{% url "ietf.group.views.group_about_status" acronym=group.acronym %}">Show update</a>
|
|
(last changed {{status_update.time|date:"Y-m-d"}})
|
|
{% else %}
|
|
(None)
|
|
{% endif %}
|
|
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
|
|
{% if group.features.has_dependencies %}
|
|
<tr id='dependency_graph'>
|
|
<td></td>
|
|
<th>Dependencies</th>
|
|
<td class="edit"></td>
|
|
<td>
|
|
<a href="{% url 'ietf.group.views.dependencies' group_type=group.type_id acronym=group.acronym output_type='svg' %}">
|
|
Document dependency graph (SVG)
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
|
|
{% with group.groupurl_set.all as urls %}
|
|
{% if urls %}
|
|
<tr>
|
|
<td></td>
|
|
<th>Additional URLs</th>
|
|
<td class="edit">
|
|
{% if can_edit_group %}
|
|
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views_edit.edit' acronym=group.acronym field='urls' %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% for url in urls %}
|
|
<a href="{{ url.url }}">{% firstof url.name url.url %}</a>{% if not forloop.last %}<br>{% endif %}
|
|
{% endfor %}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endwith %}
|
|
</tbody>
|
|
|
|
<tbody class="meta">
|
|
{% for slug, label, roles in group.personnel %}
|
|
<tr>
|
|
{% if forloop.first %}
|
|
<th>Personnel</th>
|
|
{% else %}
|
|
<td></td>
|
|
{% endif %}
|
|
<th>{{ label }}</th>
|
|
<td class="edit">
|
|
{% if can_edit_group and not slug == "ad" %}
|
|
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views_edit.edit' acronym=group.acronym field=slug %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
|
|
|
|
{% for r in roles %}
|
|
<span class="fa fa-envelope-o"></span>
|
|
<a href="mailto:{{ r.email.address }}">{{ r.person.plain_name }}</a>
|
|
<br>
|
|
{% endfor %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
|
|
{% if group.list_email %}
|
|
<tbody class="meta">
|
|
<tr>
|
|
<th>Mailing list</th>
|
|
<th>Address</th>
|
|
<td class="edit">
|
|
{% if can_edit_group %}
|
|
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views_edit.edit' acronym=group.acronym field='list_email' %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ group.list_email|urlize }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<th>To subscribe</th>
|
|
<td class="edit">
|
|
{% if can_edit_group %}
|
|
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views_edit.edit' acronym=group.acronym field='list_subscribe' %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ group.list_subscribe|urlize }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<th>Archive</th>
|
|
<td class="edit">
|
|
{% if can_edit_group %}
|
|
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views_edit.edit' acronym=group.acronym field='list_archive' %}">Edit</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ group.list_archive|urlize }}</td>
|
|
</tr>
|
|
</tbody>
|
|
{% endif %}
|
|
|
|
{% if group.state_id != "conclude" and group.features.has_default_jabber %}
|
|
<tbody class="meta">
|
|
<tr>
|
|
<th>Jabber chat</th>
|
|
<th>Room address</th>
|
|
<td class="edit"></td>
|
|
<td><a href="xmpp:{{ group.acronym }}@jabber.ietf.org?join">xmpp:{{ group.acronym }}@jabber.ietf.org?join</a></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td></td>
|
|
<th>Logs</th>
|
|
<td class="edit"></td>
|
|
<td><a href="https://jabber.ietf.org/logs/{{ group.acronym }}/">https://jabber.ietf.org/logs/{{ group.acronym }}/</a></td>
|
|
</tr>
|
|
</tbody>
|
|
{% endif %}
|
|
</table>
|
|
|
|
{% if group.features.has_chartering_process %}
|
|
<h2>Charter for {% if group.state_id == "proposed" %}proposed{% endif %} {{ group.type.desc.title }}</h2>
|
|
{# the linebreaks filter adds <p/>, no surrounding <p/> necessary: #}
|
|
{{ group.charter_text|linebreaks }}
|
|
{% else %}
|
|
<h2>About</h2>
|
|
{% comment %}{{ group.description|default:"No description yet."|linebreaks }}{% endcomment %}
|
|
{{ group.description|default:"No description yet."| apply_markup:"restructuredtext" }}
|
|
{% endif %}
|
|
|
|
{% if group.features.has_milestones %}
|
|
<h2>
|
|
{% if group.state_id == "proposed" %}
|
|
Proposed milestones
|
|
{% else %}
|
|
Milestones
|
|
{% endif %}
|
|
</h2>
|
|
{% include "group/milestones.html" with milestones=group.milestones %}
|
|
|
|
{% if milestones_in_review %}
|
|
<p>{{ milestones_in_review|length }} new milestone{{ milestones_in_review|pluralize }}
|
|
currently in {{ milestone_reviewer }} review.</p>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% endblock %}
|