Merge lp:~mhall119/summit/schedule-grid-background-hack into lp:summit

Proposed by Michael Hall
Status: Merged
Merged at revision: 34
Proposed branch: lp:~mhall119/summit/schedule-grid-background-hack
Merge into: lp:summit
Diff against target: 18 lines (+4/-2)
1 file modified
summit/schedule/render.py (+4/-2)
To merge this branch: bzr merge lp:~mhall119/summit/schedule-grid-background-hack
Reviewer Review Type Date Requested Status
Dave Walker (community) Approve
Review via email: mp+37418@code.launchpad.net

Description of the change

While not a proper fix to make the full theme expand to the width of the schedule grid, this will at least ensure that the grid itself and it's headers have a white background instead of showing the dots

To post a comment you must log in.
Revision history for this message
Dave Walker (davewalker) wrote :

.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'summit/schedule/render.py'
2--- summit/schedule/render.py 2010-10-03 00:04:03 +0000
3+++ summit/schedule/render.py 2010-10-03 20:29:33 +0000
4@@ -269,10 +269,12 @@
5 else:
6 day_width = len(self.rooms)
7
8+ cal_width = day_width * len(self.dates) * 112 + 34
9+
10 if self.edit:
11- html += '<div class="calendar edit">\n'
12+ html += '<div class="calendar edit" style="width: %spx; background: white;">\n' % cal_width
13 else:
14- html += '<div class="calendar">\n'
15+ html += '<div class="calendar" style="width: %spx; background: white;">\n' % cal_width
16 html_headings = u'<div class="headings">\n'
17 for date_num, date in enumerate(self.dates):
18 for column in range(0, day_width):

Subscribers

People subscribed via source and target branches