Skip to content

Commit c3cc238

Browse files
author
Michael Lee
committed
to fix ticket adamlaska#213 - The afternoon break name should be different between Monday/Tuesday and Wednesday/Thursday.
- Legacy-Id: 885
1 parent 0108dc0 commit c3cc238

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ietf/proceedings/models.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ def lunch_br_info(self):
241241
def an_br1_info(self):
242242
an_br1_info = NonSession.objects.exclude(time_desc="").get(meeting=self.meeting, day_id=self.day_id, non_session_ref=4)
243243
if an_br1_info:
244-
return "%s %s" % (an_br1_info.time_desc, an_br1_info.non_session_ref)
244+
if self.day_id == 1 or self.day_id == 2:
245+
return "%s Afternoon Beaverage Break I" % (an_br1_info.time_desc)
246+
else:
247+
return "%s %s" % (an_br1_info.time_desc, an_br1_info.non_session_ref)
245248
else:
246249
return ""
247250
def an_br2_info(self):

0 commit comments

Comments
 (0)