forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdownref.html
More file actions
44 lines (44 loc) · 1.59 KB
/
downref.html
File metadata and controls
44 lines (44 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% 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 scope="col" data-sort="ref">Referenced RFC</th>
<th scope="col" data-sort="refby">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 %}