* 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:
parent
2e629a92e8
commit
ebe65d687a
@ -157,6 +157,26 @@ class IndividualPage:
|
|||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
self.doc.end_row()
|
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())
|
val = string.replace(val,'*',self.person.getId())
|
||||||
else:
|
else:
|
||||||
val = self.person.getId()
|
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:
|
if self.person.getGender() == RelLib.Person.male:
|
||||||
self.write_normal_row("%s:" % _("Gender"), _("Male"),None)
|
self.write_normal_row("%s:" % _("Gender"), _("Male"),None)
|
||||||
|
Loading…
Reference in New Issue
Block a user