* src/plugins/NarrativeWeb.py: Add street to place page.
svn: r7559
This commit is contained in:
		@@ -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>
 | 
			
		||||
	* src/plugins/Makefile.am: add RemoveUnused.py
 | 
			
		||||
	* src/plugins/RemoveUnused.py: remove unused sources and events
 | 
			
		||||
 
 | 
			
		||||
@@ -753,9 +753,13 @@ class PlacePage(BasePage):
 | 
			
		||||
 | 
			
		||||
        if place.main_loc:
 | 
			
		||||
            ml = place.main_loc
 | 
			
		||||
            for val in [(_('City'),ml.city),(_('Church Parish'),ml.parish),
 | 
			
		||||
                        (_('County'),ml.county),(_('State/Province'),ml.state),
 | 
			
		||||
                        (_('Postal Code'),ml.postal),(_('Country'),ml.country)]:
 | 
			
		||||
            for val in [(_('Street'),ml.street),
 | 
			
		||||
                        (_('City'),ml.city),
 | 
			
		||||
                        (_('Church Parish'),ml.parish),
 | 
			
		||||
                        (_('County'),ml.county),
 | 
			
		||||
                        (_('State/Province'),ml.state),
 | 
			
		||||
                        (_('Postal Code'),ml.postal),
 | 
			
		||||
                        (_('Country'),ml.country)]:
 | 
			
		||||
                if val[1]:
 | 
			
		||||
                    of.write('<tr><td class="field">%s</td>\n' % val[0])
 | 
			
		||||
                    of.write('<td class="data">%s</td>\n' % val[1])
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user