Skip to content

Commit b46081f

Browse files
author
Bartosz Balazinski
committed
Commit fixes bug ietf-tools#1887, fixes bug ietf-tools#1940. Commit ready to merge
- Legacy-Id: 11085
1 parent 9f90441 commit b46081f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

ietf/group/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def make_dot(group):
755755
@cache_page(60 * 60)
756756
def dependencies(request, acronym, group_type=None, output_type="pdf"):
757757
group = get_group_or_404(acronym, group_type)
758-
if not group.features.has_documents:
758+
if not group.features.has_documents or output_type not in ["dot", "pdf", "svg"]:
759759
raise Http404
760760

761761
dothandle, dotname = mkstemp()

ietf/templates/group/active_dirs.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ <h1>Active Directorates</h1>
1717
<tr>
1818
<th>Team</th>
1919
<th>Name</th>
20+
<th>Area</th>
2021
<th>AD</th>
2122
<th>Secretaries</th>
2223
<th>Chairs</th>
@@ -27,6 +28,7 @@ <h1>Active Directorates</h1>
2728
<tr>
2829
<td><a href="{% url "ietf.group.info.group_home" acronym=group.acronym %}">{{ group.acronym }}</a></td>
2930
<td>{{ group.name }}</td>
31+
<td><a href="{% url "ietf.group.info.group_home" acronym=group.parent.acronym %}">{{ group.parent.acronym }}</a></td>
3032
<td>
3133
{% for ad in group.ads %}
3234
<a href="mailto:{{ ad.email.address }}">{{ ad.person.plain_name }}</a>{% if not forloop.last %}, {% endif %}
@@ -50,4 +52,4 @@ <h1>Active Directorates</h1>
5052

5153
{% block js %}
5254
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
53-
{% endblock %}
55+
{% endblock %}

0 commit comments

Comments
 (0)