diff --git a/ietf/meeting/views.py b/ietf/meeting/views.py index 4ea3c54cc..d58cc9884 100644 --- a/ietf/meeting/views.py +++ b/ietf/meeting/views.py @@ -369,12 +369,11 @@ def agenda(request, num=None, name=None, base=None, ext=None): meeting = get_meeting(num) schedule = get_schedule(meeting, name) if schedule == None: - return HttpResponse(render_to_string("meeting/no-"+base+ext, - {'meeting':meeting }, RequestContext(request)), content_type=mimetype[ext]) + base = base.replace("-utc", "") + return render(request, "meeting/no-"+base+ext, {'meeting':meeting }, content_type=mimetype[ext]) updated = meeting_updated(meeting) - return HttpResponse(render_to_string("meeting/"+base+ext, - {"schedule":schedule, "updated": updated}, RequestContext(request)), content_type=mimetype[ext]) + return render(request, "meeting/"+base+ext, {"schedule":schedule, "updated": updated}, content_type=mimetype[ext]) def read_agenda_file(num, doc): # XXXX FIXME: the path fragment in the code below should be moved to diff --git a/ietf/templates/meeting/agenda.html b/ietf/templates/meeting/agenda.html index a3f6ba6b8..23b8d34d4 100644 --- a/ietf/templates/meeting/agenda.html +++ b/ietf/templates/meeting/agenda.html @@ -30,20 +30,7 @@ tr:first-child th.gap {
Updated {{ updated|date:"Y-m-d \a\t G:i:s (T)" }}
diff --git a/ietf/templates/meeting/materials_upload_closed.html b/ietf/templates/meeting/materials_upload_closed.html index 02eb8ca8e..37e8bf6d3 100644 --- a/ietf/templates/meeting/materials_upload_closed.html +++ b/ietf/templates/meeting/materials_upload_closed.html @@ -1,13 +1,17 @@ -{% extends "base.html" %} -{# Copyright The IETF Trust 2007, All Rights Reserved #} +{% extends "ietf.html" %} + {% block title %}IETF {{ meeting_num }} Preliminary & Interim Materials {% endblock %} + {% block content %}Submission began {{ begin_date|date:"F j, Y" }}
-Submission cutoff date: {{ cut_off_date|date:"F j, Y" }}
-Corrections to submissions cutoff date: {{ cor_cut_off_date|date:"F j, Y" }}
+ Submission began {{ begin_date|date:"F j, Y" }}
+ Submission cutoff date: {{ cut_off_date|date:"F j, Y" }}
+ Corrections to submissions cutoff date: {{ cor_cut_off_date|date:"F j, Y" }}
+
The IETF {{ meeting_num }} Preliminary & Interim Materials page is now closed.
-
You should be able to access the final version of IETF {{ meeting_num }} Proceedings via the IETF Online Proceedings page.
+The IETF {{ meeting_num }} Preliminary & Interim Materials page is now closed.
+ +You should be able to access the final version of IETF {{ meeting_num }} Proceedings via the IETF Online Proceedings page.
{% endblock %} diff --git a/ietf/templates/meeting/meeting_heading.html b/ietf/templates/meeting/meeting_heading.html new file mode 100644 index 000000000..82e4dacef --- /dev/null +++ b/ietf/templates/meeting/meeting_heading.html @@ -0,0 +1,12 @@ +{# assumes meeting is in context #} +{{ meeting.city }}, {{ meeting.date|date:"F j" }} – {% if meeting.date.month != meeting.end_date.month %}{{ meeting.end_date|date:"F " }}{% endif %}{{ meeting.end_date|date:"j, Y" }}
-
{{ meeting.city }}, {{ meeting.date|date:"F j" }} – {% if meeting.date.month != meeting.end_date.month %}{{ meeting.end_date|date:"F " }}{% endif %}{{ meeting.end_date|date:"j, Y" }}
-
There is no agenda available yet.
+-You do not have access this agenda. It belongs to {{ schedule.owner }}. -
- -You do not have access this agenda. It belongs to {{ schedule.owner }}.
+ + + +Materials: -
Materials:
+ +