Skip to content

Commit 56c232e

Browse files
committed
Add guards against very old meetings. For more modern, past, meetings, add a warning that these are not the official proceedings and provide a link to the official proceedings.
- Legacy-Id: 11757
1 parent 2ff54a9 commit 56c232e

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

ietf/meeting/views.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,10 @@ def floor_plan(request, num=None, floor=None, ):
14461446
def proceedings(request, num=None):
14471447

14481448
meeting = get_meeting(num)
1449+
1450+
if meeting.number <= 64 or not meeting.agenda.assignments.exists():
1451+
return HttpResponseRedirect( 'https://www.ietf.org/proceedings/%s' % num )
1452+
14491453
begin_date = meeting.get_submission_start_date()
14501454
cut_off_date = meeting.get_submission_cut_off_date()
14511455
cor_cut_off_date = meeting.get_submission_correction_date()

ietf/templates/meeting/proceedings.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ <h1>IETF {{ meeting_num }} Proceedings</h1>
2222
<p class="alert alert-info">
2323
<b>This page is under construction</b>
2424
</p>
25+
{% if meeting_num|add:0 <= 96 %}
26+
<p class="alert alert-info">
27+
<b>These are not the official proceedings for IETF{{meeting_num}}. This page shows what would be generated by the new automatic proceedings generator for that meeting. The official proceedings are located at <a href="https://www.ietf.org/proceedings/{{meeting_num}}">https://www.ietf.org/proceedings/{{meeting_num}}</a></b>
28+
</p>
29+
{% endif %}
2530

2631
{# cache for 15 minutes, as long as there's no proceedings activity. takes 4-8 seconds to generate. #}
2732
{% load cache %}

0 commit comments

Comments
 (0)