* src/plugins/NavWebPage.py: fix paths in surname page

svn: r5085
This commit is contained in:
Don Allingham
2005-08-16 16:32:27 +00:00
parent e9ba16655d
commit e7f27f4645
2 changed files with 4 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
2005-08-16 Don Allingham <don@gramps-project.org>
* src/plugins/NavWebPage.py: fix paths in surname page
2005-08-15 Alex Roitman <shura@gramps-project.org> 2005-08-15 Alex Roitman <shura@gramps-project.org>
* NEWS: Update. * NEWS: Update.

View File

@@ -572,7 +572,7 @@ class SurnamePage(BasePage):
for person_handle in person_handle_list: for person_handle in person_handle_list:
person = db.get_person_from_handle(person_handle) person = db.get_person_from_handle(person_handle)
of.write('<tr><td class="category">') of.write('<tr><td class="category">')
path = self.build_path(person.handle,"ppl",False) path = self.build_path(person.handle,"ppl",True)
self.person_link(of, self.build_name(path,person.handle), self.person_link(of, self.build_name(path,person.handle),
person.get_primary_name().get_first_name(), person.get_primary_name().get_first_name(),
person.gramps_id,False) person.gramps_id,False)
@@ -1362,8 +1362,6 @@ class IndividualPage(BasePage):
all_events = [handle for handle in [self.person.get_birth_handle(), all_events = [handle for handle in [self.person.get_birth_handle(),
self.person.get_death_handle()] self.person.get_death_handle()]
if handle] + self.person.get_event_list() if handle] + self.person.get_event_list()
print all_events
if not all_events: if not all_events:
return return