diff --git a/gramps2/src/plugins/NavWebPage.py b/gramps2/src/plugins/NavWebPage.py
index 506054b3b..2c8401d77 100644
--- a/gramps2/src/plugins/NavWebPage.py
+++ b/gramps2/src/plugins/NavWebPage.py
@@ -420,12 +420,13 @@ class BasePage:
else:
return base + "." + self.ext
- def person_link(self,of,path,name,gid=""):
- if self.levels == 1:
- path = "../../" + path
- elif self.levels == 2:
- path = "../../../" + path
-
+ def person_link(self,of,path,name,gid="",up=True):
+ if up:
+ if self.levels == 1:
+ path = "../../" + path
+ elif self.levels == 2:
+ path = "../../../" + path
+
of.write('%s' % (path,name))
if not self.noid and gid != "":
of.write(' [%s]' % gid)
@@ -513,7 +514,7 @@ class IndividualListPage(BasePage):
of.write('\n')
person_handle_list = sort_people(db,person_handle_list)
-
+
for (surname,handle_list) in person_handle_list:
first = True
of.write(' \n')
@@ -528,7 +529,7 @@ class IndividualListPage(BasePage):
path = self.build_path(person.handle,"ppl",False)
self.person_link(of, self.build_name(path,person.handle),
person.get_primary_name().get_first_name(),
- person.gramps_id)
+ person.gramps_id,False)
of.write('