File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -566,11 +566,9 @@ def document_history(request, name):
566566 if name .startswith ("charter" ):
567567 url = request .build_absolute_uri (urlreverse ("charter_with_milestones_txt" , kwargs = dict (name = e .doc .name , rev = e .rev )))
568568 elif name .startswith ("conflict-review" ):
569- h = find_history_active_at (e .doc , e .time )
570- url = settings .CONFLICT_REVIEW_TXT_URL + ("%s-%s.txt" % ((h or doc ).canonical_name (), e .rev ))
569+ url = find_history_active_at (e .doc , e .time ).href ()
571570 elif name .startswith ("status-change" ):
572- h = find_history_active_at (e .doc , e .time )
573- url = settings .STATUS_CHANGE_TXT_URL + ("%s-%s.txt" % ((h or doc ).canonical_name (), e .rev ))
571+ url = find_history_active_at (e .doc , e .time ).href ()
574572 elif name .startswith ("draft" ) or name .startswith ("rfc" ):
575573 # rfcdiff tool has special support for IDs
576574 url = e .doc .name + "-" + e .rev
Original file line number Diff line number Diff line change @@ -263,11 +263,8 @@ def skip_suspicious_operations(record):
263263INTERNET_DRAFT_PDF_PATH = '/a/www/ietf-datatracker/pdf/'
264264RFC_PATH = '/a/www/ietf-ftp/rfc/'
265265CHARTER_PATH = '/a/www/ietf-ftp/charter/'
266- CHARTER_TXT_URL = 'http://www.ietf.org/charter/'
267266CONFLICT_REVIEW_PATH = '/a/www/ietf-ftp/conflict-reviews'
268- CONFLICT_REVIEW_TXT_URL = 'http://www.ietf.org/cr/'
269267STATUS_CHANGE_PATH = '/a/www/ietf-ftp/status-changes'
270- STATUS_CHANGE_TXT_URL = 'http://www.ietf.org/sc/'
271268AGENDA_PATH = '/a/www/www6s/proceedings/'
272269IPR_DOCUMENT_PATH = '/a/www/ietf-ftp/ietf/IPR/'
273270IESG_TASK_FILE = '/a/www/www6/iesg/internal/task.txt'
@@ -291,6 +288,8 @@ def skip_suspicious_operations(record):
291288 #"liai-att": None
292289 #"liaison": None
293290 "slides" : 'http://www.ietf.org/slides/{doc.name}-{doc.rev}' ,
291+ "conflrev" : "http://www.ietf.org/cr/{doc.name}-{doc.rev}.txt" ,
292+ "statchg" : "http://www.ietf.org/sc/{doc.name}-{doc.rev}.txt" ,
294293}
295294
296295MEETING_DOC_HREFS = {
Original file line number Diff line number Diff line change 99 {% with doc.rfc_number as rfc_number %}
1010 {% if rfc_number %}
1111 < a href ="http://www.rfc-editor.org/rfc/rfc{{rfc_number}}/ "> [txt]</ a >
12- {% else %}
12+ {% elif doc.type.slug == 'draft' %}
1313 < a href ="http://www.ietf.org/id/{{doc.name}}-{{doc.rev}}.txt "> [txt]</ a >
14+ {% else %}
15+ < a href ="{{doc.href}} "> [txt]</ a >
1416 {% endif %}
1517 {% endwith %}
1618
You can’t perform that action at this time.
0 commit comments