datatracker/ietf/templates/doc/downref.html
2020-06-27 13:51:19 +00:00

53 lines
1.4 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2017, All Rights Reserved #}
{% load origin %}
{% load bootstrap3 %}
{% load ietf_filters static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
{% origin %}
<h1>{{ title }}</h1>
{% if add_button %}
{% buttons %}
<p>
<a class="btn btn-warning" href="{% url "ietf.doc.views_downref.downref_registry_add" %}">Add downref</a>
</p>
{% endbuttons %}
{% endif %}
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
<th>Referenced RFC</th>
<th>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 "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
{% endblock %}