Bug#4891; myTitle patch provided by Jerome. Thank you.
svn: r17514
This commit is contained in:
parent
6a9c17fd24
commit
5eb0e23f95
@ -569,14 +569,14 @@ class WebCalReport(Report):
|
|||||||
# Figure out if we need <li class="CurrentSection"> or just plain <li>
|
# Figure out if we need <li class="CurrentSection"> or just plain <li>
|
||||||
cs = url_fname == currentsection and 'class="CurrentSection"' or ''
|
cs = url_fname == currentsection and 'class="CurrentSection"' or ''
|
||||||
|
|
||||||
if nav_text == _("Home"):
|
if url == self.home_link:
|
||||||
title = _("Narrative Web Home")
|
myTitle = _("NarrativeWeb Home")
|
||||||
|
elif url_fname == 'fullyearlinked':
|
||||||
|
myTitle = _('Full year at a Glance')
|
||||||
else:
|
else:
|
||||||
title = url_fname
|
myTitle = url_fname
|
||||||
unordered += Html("li", attr = cs, inline = True) + (
|
unordered += Html("li", attr = cs, inline = True) + (
|
||||||
|
Html("a", nav_text, href = url, title = myTitle) )
|
||||||
# create hyperlink
|
|
||||||
Html("a", nav_text, href = url, title = title) )
|
|
||||||
|
|
||||||
# return monthnav to its caller
|
# return monthnav to its caller
|
||||||
return section
|
return section
|
||||||
|
Loading…
Reference in New Issue
Block a user