Reverted some links to htmlized draft versions, on request.

- Legacy-Id: 13091
This commit is contained in:
Henrik Levkowetz 2017-03-23 10:57:19 +00:00
parent d04869a3d5
commit ebef6d06d8
4 changed files with 7 additions and 5 deletions

View file

@ -197,7 +197,7 @@ def rfclink(string):
URL for that RFC.
"""
string = str(string);
return "/doc/html/rfc" + string;
return "https://tools.ietf.org/html/rfc" + string;
@register.filter(name='urlize_ietf_docs', is_safe=True, needs_autoescape=True)
def urlize_ietf_docs(string, autoescape=None):

View file

@ -61,7 +61,7 @@ ALLOWED_HOSTS = [".ietf.org", ".ietf.org.", "209.208.19.216", "4.31.198.44", "12
TOOLS_SERVER = 'tools.' + IETF_DOMAIN
TOOLS_SERVER_URL = 'https://' + TOOLS_SERVER
TOOLS_ID_PDF_URL = TOOLS_SERVER_URL + '/pdf/'
TOOLS_ID_HTML_URL = '/doc/html/'
TOOLS_ID_HTML_URL = TOOLS_SERVER_URL + '/html/'
# Override this in the settings_local.py file:
SERVER_EMAIL = 'Django Server <django-project@' + TOOLS_SERVER + '>'

View file

@ -11,6 +11,7 @@ Group: {{ group }}
Pages: {{ submission.pages }}
URL: https://www.ietf.org/internet-drafts/{{ submission.name }}-{{ submission.rev }}.txt
Status: https://datatracker.ietf.org/doc/{{ submission.name }}/
Htmlized: https://tools.ietf.org/html/{{ submission.name }}-{{ submission.rev }}
Htmlized: https://datatracker.ietf.org/doc/html/{{ submission.name }}-{{ submission.rev }}
{% if submission.rev != "00" %}Diff: {{rfcdiff_base_url}}?url2={{ submission.name }}-{{ submission.rev }}{% endif %}
@ -20,7 +21,7 @@ Abstract:
{{ submission.note|default:"" }}
Please note that it may take a couple of minutes from the time of submission
until the diff is available at tools.ietf.org.
until the htmlized version and diff are available at tools.ietf.org.
The IETF Secretariat
{% endautoescape %}

View file

@ -15,7 +15,8 @@ Abstract:
The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/{{ submission.name }}/
There's also a htmlized version available at:
There are also htmlized versions available at:
https://tools.ietf.org/html/{{ submission.name }}-{{ submission.rev }}
https://datatracker.ietf.org/doc/html/{{ submission.name }}-{{ submission.rev }}
{% if submission.rev != "00" %}
A diff from the previous version is available at:
@ -23,7 +24,7 @@ A diff from the previous version is available at:
{% endif %}
Please note that it may take a couple of minutes from the time of submission
until the diff is available at tools.ietf.org.
until the htmlized version and diff are available at tools.ietf.org.
Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/