From 5eb0e23f952d1c9d2a49e597a6b2e3dbcf5e981a Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Tue, 17 May 2011 09:44:54 +0000 Subject: [PATCH] Bug#4891; myTitle patch provided by Jerome. Thank you. svn: r17514 --- src/plugins/webreport/WebCal.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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