GeoView : title change when no coordinates.
svn: r11743
This commit is contained in:
parent
aa9f4a9d13
commit
e7e91c7269
@ -1294,7 +1294,7 @@ class GeoView(HtmlView):
|
|||||||
descr1, self.center, None)
|
descr1, self.center, None)
|
||||||
self.center = False
|
self.center = False
|
||||||
if self.center:
|
if self.center:
|
||||||
mess = _("Cannot center the map. No selected location.")
|
mess = _("Cannot center the map. No location with coordinates.")
|
||||||
else:
|
else:
|
||||||
mess = ""
|
mess = ""
|
||||||
self.create_pages(1,_("All places in the database with coordinates."),mess)
|
self.create_pages(1,_("All places in the database with coordinates."),mess)
|
||||||
@ -1348,7 +1348,7 @@ class GeoView(HtmlView):
|
|||||||
descr2, self.center, eventyear)
|
descr2, self.center, eventyear)
|
||||||
self.center = False
|
self.center = False
|
||||||
if self.center:
|
if self.center:
|
||||||
mess = _("Cannot center the map. No selected location.")
|
mess = _("Cannot center the map. No location with coordinates.")
|
||||||
else:
|
else:
|
||||||
mess = ""
|
mess = ""
|
||||||
self.create_pages(2,_("All events in the database with coordinates."),mess)
|
self.create_pages(2,_("All events in the database with coordinates."),mess)
|
||||||
@ -1394,7 +1394,7 @@ class GeoView(HtmlView):
|
|||||||
_("Child"),index)
|
_("Child"),index)
|
||||||
self.createPersonMarkers(db,child,comment)
|
self.createPersonMarkers(db,child,comment)
|
||||||
if self.center:
|
if self.center:
|
||||||
mess = _("Cannot center the map. No selected location.")
|
mess = _("Cannot center the map. No location with coordinates.")
|
||||||
else:
|
else:
|
||||||
mess = ""
|
mess = ""
|
||||||
self.create_pages(3,
|
self.create_pages(3,
|
||||||
@ -1449,7 +1449,7 @@ class GeoView(HtmlView):
|
|||||||
descr1, self.center, eventyear)
|
descr1, self.center, eventyear)
|
||||||
self.center = False
|
self.center = False
|
||||||
if self.center:
|
if self.center:
|
||||||
mess = _("Cannot center the map. No selected location.")
|
mess = _("Cannot center the map. No location with coordinates.")
|
||||||
else:
|
else:
|
||||||
mess = ""
|
mess = ""
|
||||||
self.create_pages(4,( _("All event places for %s.") % _nd.display(person) ) ,mess)
|
self.create_pages(4,( _("All event places for %s.") % _nd.display(person) ) ,mess)
|
||||||
|
Loading…
Reference in New Issue
Block a user