From 63b985036da72b6102ec1be2c24b11d875f2d111 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 29 Jul 2013 14:57:49 +0000 Subject: [PATCH] Fixed the incorrect blankline placemnt in the refactored template for id-index and id-abstracts, when generating abstracts. Fixes issue #1076. - Legacy-Id: 5913 --- ietf/templates/idindex/id_index.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ietf/templates/idindex/id_index.txt b/ietf/templates/idindex/id_index.txt index 2c18708d9..c4e88b19d 100644 --- a/ietf/templates/idindex/id_index.txt +++ b/ietf/templates/idindex/id_index.txt @@ -1,12 +1,18 @@ {% autoescape off %}{% load ietf_filters %} Current Internet-Drafts -This summary sheet provides an index of each Internet-Draft. These +{% if with_abstracts %} + This summary sheet provides a short synopsis of each Internet-Draft +available within the "internet-drafts" directory at the shadow +sites directory. These drafts are listed alphabetically by working +group acronym and start date.{% else %} + This summary sheet provides an index of each Internet-Draft. These drafts are listed alphabetically by Working Group acronym and initial -post date. Generated {{ time }}. +post date.{% endif %} Generated {{ time }}. {% for group in groups %} {% filter underline %}{{ group.name }} ({{ group.acronym }}){% endfilter %} {% for d in group.active_drafts %} {% filter wordwrap:72|indent:2 %}"{{ d.title|clean_whitespace }}", {% for a in d.authors %}{{ a }}, {% endfor %}{{ d.rev_time|date:"Y-m-d"}}, <{{ d.name }}-{{ d.rev }}{{ d.exts }}> {% endfilter %}{% if with_abstracts %} + {{ d.abstract.strip|unindent|fill:72|indent:6 }} +{% endif %}{% endfor %}{% endfor %}{% endautoescape %} - {{ d.abstract.strip|unindent|fill:72|indent:6 }}{% endif %}{% endfor %}{% endfor %}{% endautoescape %}