From a6a49cf5264a40c055d28eca2768b7c765ebfc6e Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Fri, 9 Sep 2011 08:34:12 +0000 Subject: [PATCH] Finished off creating the last row if it is incomplete in Thumbnail Preview Grid page? svn: r18127 --- src/plugins/webreport/NarrativeWeb.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 4e211533b..63d40020d 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -4377,6 +4377,11 @@ class ThumbnailPreview(BasePage): cols += 1 num_of_rows -= 1 + # if last row is incomplete, finish it off? + if cols < 7: + for emptycols in range(cols, 7): + trow += Html("td", class_ ="emptyDays", inline =True) + # begin Thumbnail Reference section... with Html("div", class_ ="subsection", id ="references") as section: body += section