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