diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog
index 4d062a5bc..8f256fed8 100644
--- a/gramps2/ChangeLog
+++ b/gramps2/ChangeLog
@@ -2,6 +2,7 @@
* src/plugins/NavWebPage.py: Added display_note_object and
display_first_image_as_thumbnail to BasePage; PlacePage and
IndividualPage use this now.
+ Display URL list of Individuals and Places
2005-07-14 Don Allingham
* src/plugins/NavWebPage.py: wrap content with div, fix encoding problems
diff --git a/gramps2/src/plugins/NavWebPage.py b/gramps2/src/plugins/NavWebPage.py
index c22021f13..a253d105f 100644
--- a/gramps2/src/plugins/NavWebPage.py
+++ b/gramps2/src/plugins/NavWebPage.py
@@ -231,6 +231,23 @@ class BasePage:
text = u"
".join(text.split("\n"))
of.write('
%s
\n' % text)
+ def display_url_list(self,of,urllist=None):
+ if not urllist:
+ return
+ of.write('%s
\n' % _('Weblinks'))
+ of.write('
\n')
+ of.write('\n')
+
+ index = 1
+ for url in urllist:
+ uri = url.get_path()
+ descr = url.get_description()
+ of.write('%d. %s' % (index,uri,descr))
+ of.write(' |
\n')
+ index = index + 1
+ of.write('
\n')
+
#------------------------------------------------------------------------
#
#
@@ -403,6 +420,7 @@ class PlacePage(BasePage):
# TODO: Add more information
self.display_note_object(of, place.get_note_object())
+ self.display_url_list(of, place.get_url_list())
self.display_footer(of)
self.close_file(of)
@@ -701,6 +719,7 @@ class IndividualPage(BasePage):
self.display_ind_events(of)
self.display_ind_relationships(of)
self.display_note_object(of, self.person.get_note_object())
+ self.display_url_list(of, self.person.get_url_list())
self.display_ind_sources(of)
self.display_ind_pedigree(of)
self.display_footer(of)