* src/plugins/WebPage.py: Fixed ID link so that link references are

not converted to < and >
* src/plugins/WriteGedcom.py: Fixed undefined reference to ref_text


svn: r2205
This commit is contained in:
Don Allingham 2003-10-07 03:12:05 +00:00
parent 2e629a92e8
commit ebe65d687a

View File

@ -157,6 +157,26 @@ class IndividualPage:
self.doc.end_cell()
self.doc.end_row()
#--------------------------------------------------------------------
#
#
#
#--------------------------------------------------------------------
def write_id_row(self,label,data):
self.doc.start_row()
self.doc.start_cell("NormalCell")
self.doc.start_paragraph("Label")
self.doc.write_text(label)
self.doc.end_paragraph()
self.doc.end_cell()
self.doc.start_cell("NormalCell")
self.doc.start_paragraph("Data")
self.doc.write_raw(data)
self.doc.end_paragraph()
self.doc.end_cell()
self.doc.end_row()
#--------------------------------------------------------------------
#
#
@ -297,7 +317,7 @@ class IndividualPage:
val = string.replace(val,'*',self.person.getId())
else:
val = self.person.getId()
self.write_normal_row("%s:" % _("ID Number"),val,None)
self.write_id_row("%s:" % _("ID Number"),val)
if self.person.getGender() == RelLib.Person.male:
self.write_normal_row("%s:" % _("Gender"), _("Male"),None)