datatracker/ietf/templates/doc/drafts_for_ad.html
Lars Eggert bbf088e18b Hopefully the final check-ins.
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00

62 lines
2.7 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static %}
{% load ietf_filters %}
{% load person_filters %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}Documents for {{ ad_name }}{% endblock %}
{% block content %}
{% origin %}
{% if blocked_docs %}
<h1>Blocking positions held by {{ ad_name }}</h1>
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th data-sort="document">Document</th>
<th data-sort="status">Status</th>
<th data-sort="responsible">Responsible AD</th>
<th data-sort="discusses">Discusses</th>
</tr>
</thead>
<tbody>
{% for doc in blocked_docs %}
<tr>
<td>{{ doc.displayname_with_link }}</td>
{% include "doc/search/status_columns.html" %}
<td>
{% if doc.ad %}
{% person_link doc.ad %}
{% else %}
<span class="text-muted">(None)</span>
{% endif %}
</td>
<td>
{% for p in doc.blocking_positions %}
<span {% if p.is_old_pos %}class="text-muted"{% endif %}>
{% if p.is_old_pos %}
{% person_link p.balloter class="text-reset" %}
{% else %}
{% person_link p.balloter %}
{% endif %}
(
{% if p.discuss_time %}{{ p.discuss_time|timesince_days }}{% endif %}
days ago
{% if doc.get_state_url != "rfc" and p.rev != doc.rev %}for -{{ p.rev }}{% endif %}
)
<br>
</span>
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
<h1 class="mt-3">Documents for {{ ad_name }}</h1>
{% include "doc/search/search_results.html" with start_table=True end_table=True %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}