Added word Unknown if the date event was missing for SourcePage's Citation Referents section so that there would be at least something to display.

svn: r18984
This commit is contained in:
Rob G. Healey 2012-03-02 01:51:34 +00:00
parent 900a8f39f1
commit a99a124b96

View File

@ -4841,7 +4841,7 @@ class SourcePage(BasePage):
hyper = self.person_link(url, obj_, name_style = False) hyper = self.person_link(url, obj_, name_style = False)
else: else:
obj_ = self.dbase_.get_event_from_handle(obj_handle) obj_ = self.dbase_.get_event_from_handle(obj_handle)
event_date = _dd.display(obj_.get_date_object()) or ' ' event_date = _dd.display(obj_.get_date_object()) or _("Unknown")
hyper = self.event_link(obj_handle, event_date, uplink = self.up) hyper = self.event_link(obj_handle, event_date, uplink = self.up)
return hyper return hyper