datatracker/ietf/templates/doc/document_review.html
Ole Laursen 0ed3d554d6 Add simple /doc/review-<foo> page for displaying a review, fix a
couple of bugs
 - Legacy-Id: 11362
2016-06-14 12:48:08 +00:00

74 lines
1.8 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2016, All Rights Reserved #}
{% load origin %}
{% load staticfiles %}
{% load ietf_filters %}
{% block title %}{{ doc.title }}{% endblock %}
{% block content %}
{% origin %}
{{ top|safe }}
{% include "doc/revisions_list.html" %}
<table class="table table-condensed">
<thead id="message-row">
<tr>
{% if doc.rev != latest_rev %}
<th colspan="3" class="alert-warning">The information below is for an old version of the document</th>
{% else %}
<th colspan="3"></th>
{% endif %}
</tr>
</thead>
<tbody class="meta">
<tr>
<th class="col-md-1">Team</th>
<td class="edit col-md-1"></td>
<td class="col-md-10">
{{ doc.group.name }}
<a href="{{ doc.group.about_url }}">({{ doc.group.acronym }})</a>
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
<tr>
<th>Title</th>
<td class="edit"></td>
<td>{{ doc.title }}</td>
</tr>
<tr>
<th>State</th>
<td class="edit"></td>
<td>{{ doc.get_state.name }}</td>
</tr>
{% if doc.external_url %}
<tr>
<th>Posted at</th>
<td class="edit"></td>
<td><a href="{{ doc.external_url }}">{{ doc.external_url }}</a></td>
</tr>
{% endif %}
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</tbody>
</table>
<h2>{{ doc.type.name }}<br><small>{{ doc.name }}</small></h2>
{% if doc.rev and content != None %}
{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
{% endif %}
{% endblock %}