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 @@ -279,11 +279,8 @@ def skip_unreadable_post(record):
279279INTERNET_DRAFT_PDF_PATH = '/a/www/ietf-datatracker/pdf/'
280280RFC_PATH = '/a/www/ietf-ftp/rfc/'
281281CHARTER_PATH = '/a/www/ietf-ftp/charter/'
282- CHARTER_TXT_URL = 'http://www.ietf.org/charter/'
283282CONFLICT_REVIEW_PATH = '/a/www/ietf-ftp/conflict-reviews'
284- CONFLICT_REVIEW_TXT_URL = 'http://www.ietf.org/cr/'
285283STATUS_CHANGE_PATH = '/a/www/ietf-ftp/status-changes'
286- STATUS_CHANGE_TXT_URL = 'http://www.ietf.org/sc/'
287284AGENDA_PATH = '/a/www/www6s/proceedings/'
288285IPR_DOCUMENT_PATH = '/a/www/ietf-ftp/ietf/IPR/'
289286IESG_TASK_FILE = '/a/www/www6/iesg/internal/task.txt'
@@ -307,6 +304,8 @@ def skip_unreadable_post(record):
307304 #"liai-att": None
308305 #"liaison": None
309306 "slides" : 'http://www.ietf.org/slides/{doc.name}-{doc.rev}' ,
307+ "conflrev" : "http://www.ietf.org/cr/{doc.name}-{doc.rev}.txt" ,
308+ "statchg" : "http://www.ietf.org/sc/{doc.name}-{doc.rev}.txt" ,
310309}
311310
312311MEETING_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