diff --git a/ietf/templates/idrfc/doc_tab_document_id.html b/ietf/templates/idrfc/doc_tab_document_id.html index 1997ff3d5..02b519613 100644 --- a/ietf/templates/idrfc/doc_tab_document_id.html +++ b/ietf/templates/idrfc/doc_tab_document_id.html @@ -49,8 +49,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Intended RFC status:{% if doc.in_ietf_process %}{{ doc.ietf_process.intended_maturity_level|default:"-" }}{% else %}-{%endif%} +Other versions: {% ifequal doc.draft_status "Active" %} -Other versions: + plain text, {% for ext in doc.file_types %} {% ifnotequal ext ".txt" %} @@ -61,10 +62,24 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. pdf, {% endif %} html - + +{% else %} + +(expired, archived): +plain text, +{% for ext in doc.file_types %} +{% ifnotequal ext ".txt" %} +{{ext|cut:"."}}, +{% endifnotequal %} +{% endfor %} +{% if not info.has_pdf %} +pdf, +{% endif %} +html + + {% endifequal %} -
{% if stream_info.state %}