5654: write all files into one directory for years and months, level issue with NavWeb, patched by MD Nauta

svn: r19315
This commit is contained in:
Jérôme Rapinat 2012-04-13 16:08:49 +00:00
parent 2bf73bee01
commit 5c3cece884

View File

@ -736,7 +736,6 @@ class WebCalReport(Report):
fname_date = '%04d%02d%02d' % (year,month,day) + self.ext fname_date = '%04d%02d%02d' % (year,month,day) + self.ext
# create hyperlink to one_day() # create hyperlink to one_day()
fname_date = full_month_name + '/' + fname_date
tcell += Html("a", datediv, href = fname_date, inline = True) tcell += Html("a", datediv, href = fname_date, inline = True)
# only year_glance() needs this to create the one_day() pages # only year_glance() needs this to create the one_day() pages
@ -944,7 +943,7 @@ class WebCalReport(Report):
for each year being created... for each year being created...
""" """
nr_up = 2 # number of directory levels up to get to root nr_up = 1 # number of directory levels up to get to root
# get year and month from event_date for use in this section # get year and month from event_date for use in this section
year = event_date.get_year() year = event_date.get_year()