Fix to get weeks alignment for "blank year" too.
* src/plugins/WebCal.py svn: r11469
This commit is contained in:
parent
688f0f989e
commit
091933b576
@ -732,7 +732,7 @@ class WebCalReport(Report):
|
|||||||
# close the week/ row
|
# close the week/ row
|
||||||
of.write('\t\t</tr>\n')
|
of.write('\t\t</tr>\n')
|
||||||
|
|
||||||
if cal == "yg":
|
if cal in ("yg", "by"):
|
||||||
# Fill up till we have 6 rows, so that the months align properly
|
# Fill up till we have 6 rows, so that the months align properly
|
||||||
for i in range(nweeks, 6):
|
for i in range(nweeks, 6):
|
||||||
of.write('\t\t<tr class="week%d">\n' % (i+1))
|
of.write('\t\t<tr class="week%d">\n' % (i+1))
|
||||||
|
Loading…
Reference in New Issue
Block a user