Increase the set of information being returned on the atom viewer to reflect IETF specific information.
- Legacy-Id: 5510
This commit is contained in:
parent
7ef255b0b1
commit
ca1fc8b754
|
@ -25,6 +25,23 @@
|
|||
{%autoescape off %}
|
||||
<content type="html">{{ entry.desc|linebreaksbr|force_escape }}</content>
|
||||
{%endautoescape %}
|
||||
<ietf xmlns="http://ietf.org/Atom/DataTracker">
|
||||
<type>{{ entry.type }}</type>
|
||||
{% if entry.doc.stream.slug %}<Stream>{{ entry.doc.stream.slug }}</Stream>{% endif %}
|
||||
<Group>{{ entry.doc.group.acronym }}</Group>
|
||||
{% if entry.doc.shepherd.name %}<Shepherd>{{entry.doc.shepherd.name }}</Shepherd>{% endif %}
|
||||
{% if entry.doc.ad.name %}<AD>{{entry.doc.ad.name}}</AD>{% endif %}
|
||||
{% for state in entry.doc.states.all %}
|
||||
<State type="{{ state.type }}" slug="{{ state.slug }}"/>
|
||||
{% endfor %}
|
||||
{% for tag in entry.doc.tags.objects %}
|
||||
<Tag> {{ tag.slug }} </Tag>
|
||||
{% endfor %}
|
||||
{% if entry.type == "new_revision" %}
|
||||
<Abstract>{{entry.doc.abstract}}</Abstract>
|
||||
<Version>{{entry.doc.rev}}</Version>
|
||||
{% endif %}
|
||||
</ietf>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue