Skip to content

Commit b3c6652

Browse files
committed
Expose how many pages each document contains on the docs on future telechats page.
Fixes bug ietf-tools#828 - Legacy-Id: 4364
1 parent 4eabc03 commit b3c6652

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

ietf/iesg/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ def agenda_documents(request):
392392
iprs = IprRfc.objects.filter(document=w.rfc.rfc_number)
393393
w.iprCount = len(iprs)
394394
w.reschedule_form = i.reschedule_form
395+
w.pages = i.pages
395396
res[section_key].append(w)
396397
telechats.append({'date':date, 'docs':res})
397398
return direct_to_template(request, 'iesg/agenda_documents.html', {'telechats':telechats, 'hide_telechat_date':True})

ietf/templates/iesg/agenda_documents.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
.agenda_docs tr .clear-returning-item {
5050
font-size: 11px;
5151
}
52+
.agenda_docs tr .doc_pages {
53+
font-size:80%; font-style:italic;
54+
}
5255
.secretariat-actions {
5356
margin-bottom: 10px;
5457
}

ietf/templates/iesg/agenda_documents_row.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
{% endif %}
5555
{% endif %}
5656
</td>
57-
<td class="title">{{ doc.title }}</td>
57+
<td class="title">{{ doc.title }}<span class="doc_pages"> ({{doc.pages}} pp)</span></td>
5858
{% include "iesg/agenda_documents_row_status.html" %}
5959
{% include "idrfc/ipr_column_with_label.html" %}
6060
<td class="ad">{{ doc.ad_name|default:"" }}</td>

0 commit comments

Comments
 (0)