Skip to content

Commit 15939c0

Browse files
committed
show editors on bofreq page
- Legacy-Id: 19220
1 parent c1272e2 commit 15939c0

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

ietf/doc/views_bofreq.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def bof_requests(request):
3030
for req in reqs:
3131
req.latest_revision_event = req.latest_event(NewRevisionDocEvent)
3232
req.responsible = bofreq_responsible(req)
33+
req.editors = bofreq_editors(req)
3334
sorted_reqs = sorted(sorted(reqs, key=lambda doc: doc.latest_revision_event.time, reverse=True), key=lambda doc: doc.get_state().order)
3435
return render(request, 'doc/bofreq/bof_requests.html',dict(reqs=sorted_reqs))
3536

ietf/templates/doc/bofreq/bof_requests.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% extends "base.html" %}
22
{# Copyright The IETF Trust 2021 All Rights Reserved #}
33
{% load origin %}
4+
{% load person_filters %}
45

56
{% block title %}BOF Requests{% endblock %}
67

@@ -24,15 +25,16 @@ <h1>BOF Requests</h1>
2425
<div class="panel-body">
2526
<table id="bofreqs-{{req_group.grouper}}" class="table table-condensed table-striped tablesorter">
2627
<thead>
27-
<tr><th class="col-sm-4">Name</th><th class="col-sm-1">Date</th><th>Title</th><th>Responsible</th></tr>
28+
<tr><th class="col-sm-4">Name</th><th class="col-sm-1">Date</th><th>Title</th><th>Responsible</th><th>Editors</th></tr>
2829
</thead>
2930
<tbody>
3031
{% for req in req_group.list %}
3132
<tr>
3233
<td><a href={% url 'ietf.doc.views_doc.document_main' name=req.name %}>{{req.name}}-{{req.rev}}</a></td>
3334
<td>{{req.latest_revision_event.time|date:"Y-m-d"}}</td>
3435
<td>{{req.title}}</td>
35-
<td>{{req.responsible|join:', '}}</td>
36+
<td>{% for person in req.responsible %}{% person_link person %}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
37+
<td>{% for person in req.editors %}{% person_link person %}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
3638
</tr>
3739
{% endfor %}
3840
</tbody>

0 commit comments

Comments
 (0)