diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index b7f359bfc..00b42208b 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -569,14 +569,14 @@ class WebCalReport(Report): # Figure out if we need
  • or just plain
  • cs = url_fname == currentsection and 'class="CurrentSection"' or '' - if nav_text == _("Home"): - title = _("Narrative Web Home") + if url == self.home_link: + myTitle = _("NarrativeWeb Home") + elif url_fname == 'fullyearlinked': + myTitle = _('Full year at a Glance') else: - title = url_fname + myTitle = url_fname unordered += Html("li", attr = cs, inline = True) + ( - - # create hyperlink - Html("a", nav_text, href = url, title = title) ) + Html("a", nav_text, href = url, title = myTitle) ) # return monthnav to its caller return section