show responsible on list of requests

- Legacy-Id: 19207
This commit is contained in:
Robert Sparks 2021-07-08 20:37:34 +00:00
parent 916e5240ce
commit 885fe35d48
2 changed files with 3 additions and 1 deletions

View file

@ -29,6 +29,7 @@ def bof_requests(request):
reqs = Document.objects.filter(type_id='bofreq')
for req in reqs:
req.latest_revision_event = req.latest_event(NewRevisionDocEvent)
req.responsible = bofreq_responsible(req)
return render(request, 'doc/bofreq/bof_requests.html',dict(reqs=reqs))

View file

@ -19,7 +19,7 @@
<div class="panel-body">
<table id="bofreqs-{{req_group.grouper}}" class="table table-condensed table-striped tablesorter">
<thead>
<tr><th class="col-sm-4">Name</th><th class="col-sm-1">Date</th><th>Title</th></tr>
<tr><th class="col-sm-4">Name</th><th class="col-sm-1">Date</th><th>Title</th><th>Responsible</th></tr>
</thead>
<tbody>
{% for req in req_group.list %}
@ -27,6 +27,7 @@
<td><a href={% url 'ietf.doc.views_doc.document_main' name=req.name %}>{{req.name}}-{{req.rev}}</a></td>
<td>{{req.latest_revision_event.time|date:"Y-m-d"}}</td>
<td>{{req.title}}</td>
<td>{{req.responsible|join:', '}}</td>
</tr>
{% endfor %}
</tbody>