Bug# 0004891: Some little bugs in WebCal; #2 fixed...

svn: r17511
This commit is contained in:
Rob G. Healey 2011-05-17 00:45:35 +00:00
parent 5a7e7e685c
commit 9d7ad510da

View File

@ -568,10 +568,15 @@ class WebCalReport(Report):
# Figure out if we need <li class="CurrentSection"> or just plain <li>
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) + (
# 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 section