5225: NarWeb, map page title misses and event page title is strange
svn: r18138
This commit is contained in:
parent
992f862c32
commit
aa2d2bb309
@ -2866,7 +2866,7 @@ class EventPage(BasePage):
|
|||||||
|
|
||||||
# display page title
|
# display page title
|
||||||
evt_type = str(event.type)
|
evt_type = str(event.type)
|
||||||
title = "%(eventtype)s --> %(eventtype)s" % {'eventtype' : evt_type }
|
title = "%(eventtype)s" % {'eventtype' : evt_type }
|
||||||
eventdetail += Html("h3", title, inline = True)
|
eventdetail += Html("h3", title, inline = True)
|
||||||
|
|
||||||
# begin eventdetail table
|
# begin eventdetail table
|
||||||
@ -4187,7 +4187,7 @@ class IndividualPage(BasePage):
|
|||||||
for (var i = 0; i < gpsCoords.length; i++) {
|
for (var i = 0; i < gpsCoords.length; i++) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
addMarker();
|
addMarker();
|
||||||
}, i * 200);
|
}, i * 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4208,12 +4208,14 @@ class IndividualPage(BasePage):
|
|||||||
with Html("div", class_ ="content", id ="FamilyMapDetail") as mapbackground:
|
with Html("div", class_ ="content", id ="FamilyMapDetail") as mapbackground:
|
||||||
body += mapbackground
|
body += mapbackground
|
||||||
|
|
||||||
|
mapbackground += Html("h3", html_escape("Tracking %s" %
|
||||||
|
self.get_name(person)), inline=True)
|
||||||
|
|
||||||
# page message
|
# page message
|
||||||
msg = _("The place markers on this page represent a different location "
|
msg = _("The place markers on this page represent different "
|
||||||
"based upon your spouse, your children (if any), and your personal "
|
"locations based upon spouse, children (if any), and "
|
||||||
"events and their places. The list has been sorted in chronological "
|
"personal events and their places of the main person. "
|
||||||
"date order(if any?), and then by latitude/ longitude. Clicking on the "
|
"The list is sorted in chronological order.")
|
||||||
"place’s name in the References will take you to that place’s page.")
|
|
||||||
mapbackground += Html("p", msg, id = "description")
|
mapbackground += Html("p", msg, id = "description")
|
||||||
|
|
||||||
# if Google and Markers are selected, then add "Drop Markers" button?
|
# if Google and Markers are selected, then add "Drop Markers" button?
|
||||||
|
@ -52,7 +52,7 @@ button#drop {
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100px;
|
width: auto;
|
||||||
height: 30px;
|
height: auto;
|
||||||
border: solid 2px #00029D;
|
border: solid 2px #00029D;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user