From 6b4a3a097df2f24f761dc48b80edcfddef3da374 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 15 Oct 2010 17:22:05 +0000 Subject: [PATCH] 4252: WebCal does not create index.html svn: r15993 --- src/plugins/webreport/WebCal.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 7c8910b6a..f751b3518 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -537,7 +537,8 @@ class WebCalReport(Report): navs = [] # An optional link to a home page - navs.append((self.home_link, _('html|Home'), add_home)) + if self.home_link: + navs.append((self.home_link, _('html|Home'), add_home)) navs.extend( (month, month, True) for month in range(1,13) ) @@ -931,7 +932,7 @@ class WebCalReport(Report): msg = (_('This calendar is meant to give you access ' 'to all your data at a glance compressed into one page. Clicking ' 'on a date will take you to a page that shows all the events for ' - 'that date, if there are any!\n')) + 'that date, if there are any.\n')) # page description body += Html("div", class_ = "content") + (