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

svn: r19316
This commit is contained in:
Jérôme Rapinat 2012-04-13 16:10:13 +00:00
parent 590d836d62
commit b3b03d4d2b

View File

@ -739,7 +739,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
@ -947,7 +946,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()