Web page enhancements

svn: r796
This commit is contained in:
Don Allingham
2002-02-23 23:51:29 +00:00
parent fef572ac09
commit ab53eab55d
6 changed files with 223 additions and 144 deletions

View File

@@ -105,6 +105,13 @@ class LdsOrd(SourceNote):
self.status = 0
self.place = None
def getPlaceName(self):
"""returns the title of the Place associated with the Ordinance"""
if self.place:
return self.place.get_title()
else:
return ""
def setPlace(self,place):
"""sets the Place instance of the Event"""
self.place = place