Fix of issue 4059, event type begins with non latin char.
svn: r15550
This commit is contained in:
parent
b6aa4a4d83
commit
ee99d280d8
@ -872,7 +872,7 @@ class BasePage(object):
|
|||||||
text = '© %(year)d %(person)s' % {
|
text = '© %(year)d %(person)s' % {
|
||||||
'person' : self.author,
|
'person' : self.author,
|
||||||
'year' : year}
|
'year' : year}
|
||||||
elif 0 < copyright <= len(_CC):
|
elif 0 < copyright < len(_CC):
|
||||||
# Note. This is a URL
|
# Note. This is a URL
|
||||||
fname = "/".join(["images", "somerights20.gif"])
|
fname = "/".join(["images", "somerights20.gif"])
|
||||||
url = self.report.build_url_fname(fname, None, up = False)
|
url = self.report.build_url_fname(fname, None, up = False)
|
||||||
@ -2559,7 +2559,7 @@ class EventListPage(BasePage):
|
|||||||
tcell = Html("td", class_ = "ColumnLetter", inline = True)
|
tcell = Html("td", class_ = "ColumnLetter", inline = True)
|
||||||
trow += tcell
|
trow += tcell
|
||||||
|
|
||||||
ltr = evt_type[0].capitalize()
|
ltr = unicode(evt_type)[0].capitalize()
|
||||||
if first_letter:
|
if first_letter:
|
||||||
trow.attr = 'class = "BeginLetter"'
|
trow.attr = 'class = "BeginLetter"'
|
||||||
tcell += Html("a", ltr, name = ltr,
|
tcell += Html("a", ltr, name = ltr,
|
||||||
@ -5322,7 +5322,7 @@ class NavWebReport(Report):
|
|||||||
|
|
||||||
# Copy the Creative Commons icon if the Creative Commons
|
# Copy the Creative Commons icon if the Creative Commons
|
||||||
# license is requested???
|
# license is requested???
|
||||||
if 0 < self.copyright <= len(_CC):
|
if 0 < self.copyright < len(_CC):
|
||||||
imgs += ["somerights20.gif"]
|
imgs += ["somerights20.gif"]
|
||||||
|
|
||||||
# include GRAMPS favicon
|
# include GRAMPS favicon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user