* src/plugins/NarrativeWeb.py: Add street to place page.

svn: r7559
This commit is contained in:
Brian Matherly 2006-11-06 03:15:44 +00:00
parent 5d0f1c18af
commit d5fea06ce3
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2006-11-05 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: Add street to place page.
2006-11-05 Don Allingham <don@gramps-project.org> 2006-11-05 Don Allingham <don@gramps-project.org>
* src/plugins/Makefile.am: add RemoveUnused.py * src/plugins/Makefile.am: add RemoveUnused.py
* src/plugins/RemoveUnused.py: remove unused sources and events * src/plugins/RemoveUnused.py: remove unused sources and events

View File

@ -753,9 +753,13 @@ class PlacePage(BasePage):
if place.main_loc: if place.main_loc:
ml = place.main_loc ml = place.main_loc
for val in [(_('City'),ml.city),(_('Church Parish'),ml.parish), for val in [(_('Street'),ml.street),
(_('County'),ml.county),(_('State/Province'),ml.state), (_('City'),ml.city),
(_('Postal Code'),ml.postal),(_('Country'),ml.country)]: (_('Church Parish'),ml.parish),
(_('County'),ml.county),
(_('State/Province'),ml.state),
(_('Postal Code'),ml.postal),
(_('Country'),ml.country)]:
if val[1]: if val[1]:
of.write('<tr><td class="field">%s</td>\n' % val[0]) of.write('<tr><td class="field">%s</td>\n' % val[0])
of.write('<td class="data">%s</td>\n' % val[1]) of.write('<td class="data">%s</td>\n' % val[1])