|
7 | 7 |
|
8 | 8 | {% block pagehead %} |
9 | 9 | <link rel="alternate" type="application/atom+xml" title="Document changes" href="/feed/document-changes/{{ name }}/"> |
10 | | - <meta name="description" content="{{ doc.title }} {% if doc.get_state_slug == "rfc" and not snapshot %}(RFC {{ rfc_number }}{% if published %}, {{ published.time|date:"F Y" }}{% endif %}{% if obsoleted_by %}; obsoleted by {{ obsoleted_by|join:", " }}{% endif %}){% else %}(Internet-Draft, {{ doc.time|date:"Y" }}){% endif %}"> |
| 10 | + <meta name="description" content="{{ doc.title }} {% if doc.get_state_slug == "rfc" %}(RFC {{ rfc_number }}{% if published %}, {{ published.time|date:"F Y" }}{% endif %}{% if obsoleted_by %}; obsoleted by {{ obsoleted_by|join:", " }}{% endif %}){% else %}(Internet-Draft, {{ doc.time|date:"Y" }}){% endif %}"> |
11 | 11 | <script src="{% static 'd3/d3.min.js' %}"></script> |
12 | 12 | <script src="{% static 'jquery/jquery.min.js' %}"></script> |
13 | 13 | <script src="{% static 'ietf/js/document_timeline.js' %}"></script> |
|
18 | 18 | {% endblock %} |
19 | 19 |
|
20 | 20 | {% block title %} |
21 | | - {% if doc.get_state_slug == "rfc" and not snapshot %} |
| 21 | + {% if doc.get_state_slug == "rfc" %} |
22 | 22 | RFC {{ rfc_number }} - {{ doc.title }} |
23 | 23 | {% else %} |
24 | 24 | {{ name }}-{{ doc.rev }} - {{ doc.title }} |
|
38 | 38 | {% if doc.rev != latest_rev %} |
39 | 39 | <th colspan="4" class="alert-warning">The information below is for an old version of the document</th> |
40 | 40 | {% else %} |
41 | | - {% if doc.get_state_slug == "rfc" and snapshot %} |
42 | | - <th colspan="4" class="alert-warning">The information below is for an old version of the document that is already published as an RFC</th> |
43 | | - {% else %} |
44 | | - <th colspan="4"></th> |
45 | | - {% endif %} |
| 41 | + <th colspan="4"></th> |
46 | 42 | {% endif %} |
47 | 43 | </tr> |
48 | 44 | </thead> |
|
53 | 49 | <th>Type</th> |
54 | 50 | <td class="edit"></td> |
55 | 51 | <td> |
56 | | - {% if doc.get_state_slug == "rfc" and not snapshot %} |
| 52 | + {% if doc.get_state_slug == "rfc" %} |
57 | 53 | RFC - {{ doc.std_level }} |
58 | 54 | ({% if published %}{{ published.time|date:"F Y" }}{% else %}publication date unknown{% endif %}{% if has_errata %}; <a href="https://www.rfc-editor.org/errata_search.php?rfc={{ rfc_number }}" rel="nofollow">Errata</a>{% else %}; No errata{% endif %}) |
59 | 55 |
|
|
174 | 170 | </td> |
175 | 171 | </tr> |
176 | 172 |
|
177 | | - {% if doc.get_state_slug != "rfc" and not snapshot %} |
| 173 | + {% if doc.get_state_slug != "rfc" %} |
178 | 174 | <tr> |
179 | 175 | <th></th> |
180 | 176 | <th>Intended RFC status</th> |
|
0 commit comments