datatracker/ietf/templates/doc/document_writeup.html
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00

38 lines
682 B
HTML

{% extends "ietf.html" %}
{% load ietf_filters %}
{% block title %}Writeups for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block content %}
{{ top|safe }}
{% for title, subtitle, writeups in sections %}
<h2>
{{ title|capfirst_allcaps }}
{% if subtitle %}
<br><small>{{ subtitle|safe }}</small>
{% endif %}
</h2>
{% for name, text, url in writeups %}
{% if text %}
<pre>{{ text|urlize }}</pre>
{% endif %}
<p>
{% if can_edit %}
<a href="{{ url }}" class="btn btn-primary">
{% if text %}
Edit
{% else %}
Generate
{% endif %}
{{ name|lower_allcaps }}
</a>
{% endif %}
</p>
{% endfor %}
{% endfor %}
{% endblock content %}