|
1 | | -{% comment %} |
| 1 | +{% comment %}<!-- |
2 | 2 | Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 | 3 | All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com> |
4 | 4 |
|
|
30 | 30 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
31 | 31 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
32 | 32 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33 | | -{% endcomment %}{% comment %} |
| 33 | +-->{% endcomment %}{% comment %} |
34 | 34 | Some parts Copyright (c) 2009 The IETF Trust, all rights reserved. |
35 | 35 | {% endcomment %}{% load ietf_filters %} |
36 | 36 |
|
37 | 37 | <!-- ============================================================ --> |
38 | 38 | <p><b>{{ doc.obj.document.filename }}</b></p> |
39 | 39 | {% if doc.obj.ballot.active %} |
40 | 40 | <ol> |
41 | | -{% if USE_DB_REDESIGN_PROXY_CLASSES %} |
42 | | - |
43 | 41 | {% for p in doc.obj.active_positions|dictsort:"ad.last_name" %} |
44 | 42 |
|
45 | 43 | {% if p.pos and p.pos.pos_id == "discuss" %} |
46 | 44 | <li><a name="{{doc.obj.document.filename}}+{{p.ad.plain_name|slugify}}+discuss">{{ p.ad.plain_name }}</a>: Discuss [{{ p.pos.discuss_time|date:"Y-m-d" }}]:<br> |
47 | | -<pre> |
48 | | -{{ p.pos.orig.discuss|fill:"80"|escape }} |
49 | | -</pre> |
| 45 | +<pre>{{ p.pos.orig.discuss|wrap_text:80|escape }}</pre> |
50 | 46 | </li> |
51 | 47 | {% endif %} |
52 | 48 |
|
53 | 49 | {% if p.pos and p.pos.comment %} |
54 | 50 | <li><a name="{{doc.obj.document.filename}}+{{p.ad.plain_name|slugify}}+comment">{{ p.ad.plain_name }}</a>: Comment [{{ p.pos.comment_time|date:"Y-m-d" }}]:<br> |
55 | | - <pre>{{ p.pos.comment|fill:"80"|escape }}</pre> |
| 51 | + <pre>{{ p.pos.comment|wrap_text:80|escape }}</pre> |
56 | 52 | </li> |
57 | 53 | {% endif %} |
58 | 54 | {% endfor %} |
59 | 55 |
|
60 | | -{% else %} |
61 | | - |
62 | | -{% for position in doc.obj.ballot.positions.all|dictsort:"ad.last_name" %}{% ifequal position.discuss 1 %} <li><a name="{{doc.obj.document.filename}}+{{position.ad|slugify}}+discuss">{{ position.ad }}</a>:{% for item in doc.obj.ballot.discusses.all %}{% ifequal position.ad item.ad %} Discuss [{{ item.date }}]:<br> |
63 | | - <pre> |
64 | | - {{ item.text|fill:"80"|escape }} |
65 | | - </pre> |
66 | | -{% endifequal %}{% endfor %}{% endifequal %}{% for item in doc.obj.ballot.comments.all %}{% ifequal position.ad item.ad %} <li><a name="{{doc.obj.document.filename}}+{{position.ad|slugify}}+comment">{{ position.ad }}</a>: Comment [{{ item.date }}]:<br> |
67 | | - <pre>{{ item.text|fill:"80"|escape }}</pre> |
68 | | -{% endifequal %}{% endfor %}{% endfor %} |
69 | | - |
70 | | -{%endif %} |
71 | | - |
72 | 56 | </ol> |
73 | 57 |
|
74 | 58 | {% endif%} |
0 commit comments