datatracker/ietf/templates/idindex/view_related_docs.html
Bill Fenner 7fec55b633 Initial implementation of view_related. The related_docs() function
is still a work in progress.  I've been using
draft-ietf-dnsext-dnssec-protocol as a test case; related_docs()
returns the same 137 documents as the cgi code but some of the
relationships are different.  Right now, the skip argument is
ignored.
 - Legacy-Id: 246
2007-06-06 02:14:29 +00:00

15 lines
440 B
HTML

{% extends "idindex/base.html" %}
{% block iddbcontent %}
<table>
<tr><td colspan="3"><h3>Total number of related documents found: {{ numdocs }}</h3></td></tr>
{% for doc in related %}
<tr bgcolor="#{% cycle efefff,dfdfff %}"><td colspan="3">{{ doc.0.filename }}, "{{ doc.0.title }}{% if doc.1 %},{% endif %}"
{% if doc.1 %}
{{ doc.1 }} {{ doc.2.filename }}, "{{ doc.2.title }}"
{% endif %}
</td></tr>
{% endfor %}
</table>
{% endblock %}