From 9d7ad510daf92d85613f32016a3420fdc130ed48 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Tue, 17 May 2011 00:45:35 +0000 Subject: [PATCH] Bug# 0004891: Some little bugs in WebCal; #2 fixed... svn: r17511 --- src/plugins/webreport/WebCal.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 749e41c67..47f768792 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -568,10 +568,15 @@ 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") + 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