{% comment %}
Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com> 

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions 
are met:

 * Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.

 * Redistributions in binary form must reproduce the above
   copyright notice, this list of conditions and the following
   disclaimer in the documentation and/or other materials provided
   with the distribution.

 * Neither the name of the Nokia Corporation and/or its
   subsidiary(-ies) nor the names of its contributors may be used
   to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #}
{% endcomment %}
<html>
<head>
<title>Active Internet-Drafts</title>
</head>
<body>

<h1>Active Internet-Drafts</h1>

<p>This page lists all active Internet-Drafts, grouped by
working group (and individual submissions last).
For normal use, it is recommended to use
the <a href="/doc/">search page</a> instead.</p>

<p>There is also a list of <a href="/doc/all/">all Internet-Drafts</a>, and 
the following files are available for download:</p>
<ul>
<li><a href="http://www.ietf.org/id/1id-index.txt">Active Internet-Drafts (text)</a>
<li><a href="http://www.ietf.org/id/1id-abstracts.txt">Active Internet-Drafts with abstracts (text)</a></li>
<li><a href="http://www.ietf.org/id/all_id2.txt">All Internet-Drafts (tab-separated)</a>, <a href="http://www.ietf.org/id/all_id.txt">older version (with fewer fields)</a></li>
</ul>

{% for group in groups|dictsort:"group_acronym.acronym" %}{% if group.active_drafts %}
<h2 id="{{group.group_acronym.acronym}}">{{ group.group_acronym.name }} ({{ group.group_acronym.acronym}})</h2>
{% for draft in group.active_drafts|dictsort:"filename" %}
<p>{{draft.title.strip}}<br/>{% for author in draft.authors.all|dictsort:"final_author_order" %}{{author.person}}{% if not forloop.last %}, {% endif %}{% endfor %}<br/><a href="/doc/{{draft.filename}}/">{{draft.filename}}-{{draft.revision}}</a> ({{draft.revision_date|date:"Y-m-d"}})</p>
{% endfor %}{%endif %}{% endfor %}

<h2 id="individual">Individual Submissions</h2>

{% for draft in individual.active_drafts|dictsort:"filename" %}
<p>{{draft.title.strip}}<br/>{% for author in draft.authors.all|dictsort:"final_author_order" %}{{author.person}}{% if not forloop.last %}, {% endif %}{% endfor %}<br/><a href="/doc/{{draft.filename}}/">{{draft.filename}}-{{draft.revision}}</a> ({{draft.revision_date|date:"Y-m-d"}})</p>
{% endfor %}

</body></html>
