parent
5a7e7e685c
commit
9d7ad510da
@ -568,10 +568,15 @@ 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"):
|
||||||
|
title = _("Narrative Web Home")
|
||||||
|
else:
|
||||||
|
title = url_fname
|
||||||
unordered += Html("li", attr = cs, inline = True) + (
|
unordered += Html("li", attr = cs, inline = True) + (
|
||||||
|
|
||||||
# create hyperlink
|
# create hyperlink
|
||||||
Html("a", nav_text, href = url, title = url_fname, inline = True) )
|
Html("a", nav_text, href = url, title = title) )
|
||||||
|
|
||||||
# return monthnav to its caller
|
# return monthnav to its caller
|
||||||
return section
|
return section
|
||||||
|
Loading…
x
Reference in New Issue
Block a user