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
This commit is contained in:
parent
2ff54a963b
commit
56c232ec1d
ietf
|
@ -1446,6 +1446,10 @@ def floor_plan(request, num=None, floor=None, ):
|
|||
def proceedings(request, num=None):
|
||||
|
||||
meeting = get_meeting(num)
|
||||
|
||||
if meeting.number <= 64 or not meeting.agenda.assignments.exists():
|
||||
return HttpResponseRedirect( 'https://www.ietf.org/proceedings/%s' % num )
|
||||
|
||||
begin_date = meeting.get_submission_start_date()
|
||||
cut_off_date = meeting.get_submission_cut_off_date()
|
||||
cor_cut_off_date = meeting.get_submission_correction_date()
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
<p class="alert alert-info">
|
||||
<b>This page is under construction</b>
|
||||
</p>
|
||||
{% if meeting_num|add:0 <= 96 %}
|
||||
<p class="alert alert-info">
|
||||
<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>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{# cache for 15 minutes, as long as there's no proceedings activity. takes 4-8 seconds to generate. #}
|
||||
{% load cache %}
|
||||
|
|
Loading…
Reference in a new issue