primary keys from character strings to integers, and makes corresponding code changes. This was prompted by database limitations discovered when trying to make DocAlias use a m2m document field; with 255 long strings as primary keys for Document and DocAlias this violated the MySQL database limitations. Changing the primary keys to integers should also improve efficiency. Due to the data migrations which create the new integer primary keys and adds corresponding integer foreign keys matching the previous string foreign keys in all tables having foreign keys to Document and DocAlias, some of these migrations take a long time. The total set of migrations are expected to have a runtime on the order of 2 hours. - Legacy-Id: 16237
61 lines
1.6 KiB
HTML
61 lines
1.6 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2016, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load staticfiles %}
|
|
{% load ietf_filters %}
|
|
{% load textfilters %}
|
|
|
|
{% block title %}{{ doc.title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
{{ top|safe }}
|
|
|
|
{% include "doc/revisions_list.html" %}
|
|
|
|
{% include "doc/review/request_info.html" %}
|
|
|
|
<table class="table table-condensed">
|
|
<thead id="message-row">
|
|
<tr>
|
|
{% if doc.rev != latest_rev %}
|
|
<th colspan="4" class="alert-warning">The information below is for an old version of the document</th>
|
|
{% elif doc.get_state_slug != "active" or other_reviews %}
|
|
<th colspan="4"></th>
|
|
{% else %}
|
|
|
|
{% endif %}
|
|
</tr>
|
|
</thead>
|
|
<tbody class="meta">
|
|
{% if doc.get_state_slug != "active" %}
|
|
<tr>
|
|
<th></th>
|
|
<th>State</th>
|
|
<td class="edit"></td>
|
|
<td>{{ doc.get_state.name }}</td>
|
|
</tr>
|
|
{% endif %}
|
|
|
|
{% if other_reviews %}
|
|
<tr>
|
|
<th></th>
|
|
<th>Other reviews</th>
|
|
<td class="edit"></td>
|
|
<td>
|
|
{% for review_assignment in other_reviews %}
|
|
{% include "doc/review_assignment_summary.html" with current_doc_name=review_assignemnt.review_request.doc.name current_rev=review_assignment.reviewed_rev %}
|
|
{% endfor %}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<h2>{{ doc.type.name }}<br><small>{{ doc.name }}</small></h2>
|
|
|
|
{% if doc.rev and content != None %}
|
|
<pre class="pasted">{{ content|linkify }}</pre>
|
|
{% endif %}
|
|
{% endblock %}
|