44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2017, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load django_bootstrap5 %}
|
|
{% load ietf_filters static %}
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
|
|
{% endblock %}
|
|
{% block title %}{{ title }}{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>{{ title }}</h1>
|
|
{% if add_button %}
|
|
<a class="btn btn-warning my-3"
|
|
href="{% url "ietf.doc.views_downref.downref_registry_add" %}">Add downref</a>
|
|
{% endif %}
|
|
<table class="table table-sm table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th data-sort="ref">Referenced RFC</th>
|
|
<th data-sort="id">Internet-Draft making the reference</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for target_doc, source_doc in doc_pairs %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url "ietf.doc.views_doc.document_main" target_doc.name %}">RFC {{ target_doc.rfc_number }}</a>
|
|
<br>
|
|
<b>{{ target_doc.title }}</b>
|
|
</td>
|
|
<td>
|
|
<a href="{% url "ietf.doc.views_doc.document_main" source_doc.name %}">{{ source_doc.name }}</a>
|
|
<br>
|
|
<b>{{ source_doc.title }}</b>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|
|
{% block js %}
|
|
<script src="{% static "ietf/js/list.js" %}"></script>
|
|
{% endblock %} |