{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% load ietf_filters %}
<tr>{% if doc.primary_flag %}
  <td>{{ doc.area_acronym.area_acronym.acronym.upper }}</td>
  <td nowrap>
  {% ifequal doc.cur_state.state "In Last Call" %}
    {% if doc.document.lc_expiration_date %}
      {{ doc.document.lc_expiration_date|date:"M j" }}, {{ doc.document.lc_expiration_date|date:"Y" }}
    {% endif %}
  {% else %}
    {% if doc.status_date %}
      {{ doc.status_date|date:"M j" }}, {{ doc.status_date|date:"Y" }}
    {% endif %}
  {% endifequal %}</td>
{% else %}
  <td></td><td></td>
{% endif %}
<td>{{ doc.document.title|escape }} ({{ doc.document.intended_status|escape }})</td></tr>
<tr><td></td><td></td><td><a href="/doc/{{ doc.document.filename }}/">{{ doc.document.displayname|safe }}</a></td></tr>
{% if doc.primary_flag %}
<tr><td></td><td>Token:</td><td><a href="mailto:{{ doc.token_email|urlencode }}">{{ doc.token_name }}</a></td></tr>
{% if doc.note %}
<tr><td></td><td>Note:</td><td>{{ doc.note|safe|urlize }}</td></tr>
{% endif %}
{% endif %}
