Skip to content

Commit f778e39

Browse files
committed
On request, reverted the document rendering on the document status page to the old look.
- Legacy-Id: 13053
1 parent 475d18e commit f778e39

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

ietf/templates/doc/document_draft.html

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
{% load origin %}
44
{% load staticfiles %}
55
{% load ietf_filters %}
6-
{% load cache %}
76

87
{% block pagehead %}
98
<link rel="alternate" type="application/atom+xml" title="Document changes" href="/feed/document-changes/{{ name }}/">
@@ -548,24 +547,10 @@
548547
</div>
549548

550549
{% if doc.get_state_slug == "active" or doc.get_state_slug == "rfc" %}
550+
{{ content|safe }}
551551

552552
{% if split_content %}
553-
{{ content|safe }}
554553
<a class="btn btn-default btn-block" href="?include_text=1"><span class="fa fa-caret-down"></span> Show full document text</a>
555-
{% else %}
556-
<div class="col-md-12">
557-
<div class="col-md-2"></div>
558-
<div class="col-md-8 rfcmarkup">
559-
{% with 1209600 as two_weeks %}
560-
{% cache two_weeks htmlized doc.name doc.rev using="htmlized" %}
561-
<div>
562-
{{ doc.htmlized|default:"Generation of htmlized text failed"|safe }}
563-
</div>
564-
{% endcache %}
565-
{% endwith %}
566-
</div>
567-
<div class="col-md-2"></div>
568-
</div>
569554
{% endif %}
570555

571556
{% else %}
@@ -574,8 +559,7 @@
574559
<div class="panel-heading">
575560
This Internet-Draft is no longer active. A copy of
576561
the expired Internet-Draft can be found at<br/>
577-
{% url 'ietf.doc.views_doc.document_html' name=doc.name rev=doc.rev as html_url %}
578-
<a href="{{ html_url }}">{{ html_url }}</a>
562+
<a href="{{doc.href}}">{{doc.href}}</a>
579563
</div>
580564
<div class="panel-body">
581565
<p>

0 commit comments

Comments
 (0)