|
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" %}(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" 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 %}"> |
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" %} |
| 21 | + {% if doc.get_state_slug == "rfc" and not snapshot %} |
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 | | - <th colspan="4"></th> |
| 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 %} |
42 | 46 | {% endif %} |
43 | 47 | </tr> |
44 | 48 | </thead> |
|
49 | 53 | <th>Type</th> |
50 | 54 | <td class="edit"></td> |
51 | 55 | <td> |
52 | | - {% if doc.get_state_slug == "rfc" %} |
| 56 | + {% if doc.get_state_slug == "rfc" and not snapshot %} |
53 | 57 | RFC - {{ doc.std_level }} |
54 | 58 | ({% 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 %}) |
55 | 59 |
|
|
171 | 175 | </td> |
172 | 176 | </tr> |
173 | 177 |
|
174 | | - {% if doc.get_state_slug != "rfc" %} |
| 178 | + {% if doc.get_state_slug != "rfc" and not snapshot %} |
175 | 179 | <tr> |
176 | 180 | <th></th> |
177 | 181 | <th>Intended RFC status</th> |
|
0 commit comments