Merge lp://qastaging/~james-w/launchpad-work-items-tracker/templates into lp://qastaging/launchpad-work-items-tracker
Proposed by
James Westby
Status: | Merged |
---|---|
Merge reported by: | Martin Pitt |
Merged at revision: | not available |
Proposed branch: | lp://qastaging/~james-w/launchpad-work-items-tracker/templates |
Merge into: | lp://qastaging/launchpad-work-items-tracker |
Prerequisite: | lp://qastaging/~james-w/launchpad-work-items-tracker/locking |
Diff against target: |
738 lines (+412/-247) 7 files modified
.bzrignore (+1/-0) .testr.conf (+3/-0) html-report (+140/-247) report_tools.py (+8/-0) templates/burndown.html (+243/-0) templates/test.html (+1/-0) tests.py (+16/-0) |
To merge this branch: | bzr merge lp://qastaging/~james-w/launchpad-work-items-tracker/templates |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt (community) | Approve | ||
Review via email:
|
Description of the change
Hi,
This branch uses a template system to generate the HTML page. This
allows for better separation between data and presentation, and will allow
for greater code re-use. I also find it easier to produce valid HTML with
the template.
Thanks,
James
To post a comment you must log in.
Note, this requires the external python-mako module, which isn't installed on people. canonical. com. Do we really need this functionality? Wouldn't it be enough to replace every ${varname} in template with data[varname] in fill_template()?