From eda5eed791f1ac0eddf4ceea8a80c54ffd5569e8 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Thu, 12 Feb 2015 16:08:39 +0000 Subject: [PATCH] Summary: Don't crash if timeslots with show_location = True don't have a location - Legacy-Id: 9079 --- ietf/templates/meeting/agenda.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ietf/templates/meeting/agenda.html b/ietf/templates/meeting/agenda.html index 76cb2c83b..6f91d5571 100644 --- a/ietf/templates/meeting/agenda.html +++ b/ietf/templates/meeting/agenda.html @@ -191,12 +191,12 @@ tr:first-child th.gap { {% endif %} - {% if item.timeslot.show_location %} - {{item.timeslot.get_location|split:"/"|join:"/"}} + {% if item.timeslot.show_location and item.timeslot.get_location %} + {{item.timeslot.get_location|split:"/"|join:"/"}} {% endif %} - {% if item.timeslot.show_location %} + {% if item.timeslot.show_location and item.timeslot.get_location %} {{item.timeslot.get_location|split:"/"|join:"/"}} {% endif %} @@ -221,12 +221,12 @@ tr:first-child th.gap { {% endif %} - {% if item.timeslot.show_location %} + {% if item.timeslot.show_location and item.timeslot.get_location %} {{item.timeslot.get_location|split:"/"|join:"/"}} {% endif %} - {% if item.timeslot.show_location %} + {% if item.timeslot.show_location and item.timeslot.get_location %} {{item.timeslot.get_location|split:"/"|join:"/"}} {% endif %} @@ -236,7 +236,7 @@ tr:first-child th.gap { - {% if item.timeslot.show_location %} + {% if item.timeslot.show_location and item.timeslot.get_location %} {{item.timeslot.get_location|split:"/"|join:"/"}} {% endif %}