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 b3c665287d
This commit is contained in:
Henrik Levkowetz 2012-05-04 11:57:35 +00:00
parent 839df60480
commit 9f3cf38a71
3 changed files with 5 additions and 1 deletions

View file

@ -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})

View file

@ -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;
}

View file

@ -54,7 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% endif %}
{% endif %}
</td>
<td class="title">{{ doc.title }}</td>
<td class="title">{{ doc.title }}<span class="doc_pages"> ({{doc.pages}} pp)</span></td>
{% include "iesg/agenda_documents_row_status.html" %}
{% include "idrfc/ipr_column_with_label.html" %}
<td class="ad">{{ doc.ad_name|default:"" }}</td>