Fix from Henrik to let RGs show up properly in the agenda

- Legacy-Id: 3982
This commit is contained in:
Ole Laursen 2012-02-27 16:55:55 +00:00
parent 6ee6b4bd9a
commit f46e96c7a1

View file

@ -439,7 +439,7 @@ class WgMeetingSessionProxy(TimeSlot):
else:
return self.session.group.name
def area(self):
if not self.session or not self.session.group or not self.session.group.parent or not self.session.group.parent.type_id == "area":
if not self.session or not self.session.group or not self.session.group.parent or not self.session.group.parent.type_id in ["area","ietf"]:
return ""
return self.session.group.parent.acronym
def area_name(self):