From 9f3cf38a718113e66e8b61440ceeb44d8a2a6ba8 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 4 May 2012 11:57:35 +0000 Subject: [PATCH] Merged [4364] from rjsparks@nostrum.com: Expose how many pages each document contains on the docs on future telechats page. Fixes bug #828 - Legacy-Id: 4383 Note: SVN reference [4364] has been migrated to Git commit b3c665287d266bf98c883edbbc9ddd69932512a4 --- ietf/iesg/views.py | 1 + ietf/templates/iesg/agenda_documents.html | 3 +++ ietf/templates/iesg/agenda_documents_row.html | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ietf/iesg/views.py b/ietf/iesg/views.py index 8e6224283..f08e347f3 100644 --- a/ietf/iesg/views.py +++ b/ietf/iesg/views.py @@ -466,6 +466,7 @@ def agenda_documents(request): iprs = IprRfc.objects.filter(document=w.rfc.rfc_number) w.iprCount = len(iprs) w.reschedule_form = i.reschedule_form + w.pages = i.pages res[section_key].append(w) telechats.append({'date':date, 'docs':res}) return direct_to_template(request, 'iesg/agenda_documents.html', {'telechats':telechats, 'hide_telechat_date':True}) diff --git a/ietf/templates/iesg/agenda_documents.html b/ietf/templates/iesg/agenda_documents.html index 62b0f8055..39bd29aaa 100644 --- a/ietf/templates/iesg/agenda_documents.html +++ b/ietf/templates/iesg/agenda_documents.html @@ -49,6 +49,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .agenda_docs tr .clear-returning-item { font-size: 11px; } +.agenda_docs tr .doc_pages { +font-size:80%; font-style:italic; +} .secretariat-actions { margin-bottom: 10px; } diff --git a/ietf/templates/iesg/agenda_documents_row.html b/ietf/templates/iesg/agenda_documents_row.html index 20d1f7d9f..73eeb643d 100644 --- a/ietf/templates/iesg/agenda_documents_row.html +++ b/ietf/templates/iesg/agenda_documents_row.html @@ -54,7 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. {% endif %} {% endif %} -{{ doc.title }} +{{ doc.title }} ({{doc.pages}} pp) {% include "iesg/agenda_documents_row_status.html" %} {% include "idrfc/ipr_column_with_label.html" %} {{ doc.ad_name|default:"" }}