From a23d31677ff76caba99588c41b7a6cb291a8fd97 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 17 Oct 2013 11:28:29 +0000 Subject: [PATCH] Tweaked the strings displayed when a plenary agenda cannot be shown. - Legacy-Id: 6460 --- ietf/meeting/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/meeting/helpers.py b/ietf/meeting/helpers.py index 8c91b35bb..b3779d0a9 100644 --- a/ietf/meeting/helpers.py +++ b/ietf/meeting/helpers.py @@ -205,7 +205,7 @@ def agenda_info(num=None): active_agenda = State.objects.get(used=True, type='agenda', slug='active') plenary_agendas = Document.objects.filter(session__meeting=meeting, session__slots__type="plenary", type="agenda", ).distinct() - plenaryw_agenda = plenaryt_agenda = "The Plenary has not been scheduled" + plenaryw_agenda = plenaryt_agenda = "The agenda has not been uploaded yet." for agenda in plenary_agendas: if active_agenda in agenda.states.all(): # we use external_url at the moment, should probably regularize @@ -216,7 +216,7 @@ def agenda_info(num=None): s = f.read() f.close() except IOError: - s = "THE AGENDA HAS NOT BEEN UPLOADED YET" + s = "No agenda file found." if "tech" in agenda.name.lower(): plenaryt_agenda = s