Ticket #145 (closed enhancement: fixed)
Patch: split OneLineMixin.make_line
|Reported by:||amax_snaplogic||Owned by:|
This patch refactors OneLineMixin?.make_line(), splitting in into two methods: one that gathers all the data needed for a build (get_line_values), and one that takes that data, and renders it into an HTML line (make_line).
The win here is that someone can customize the HTML display of a report more easily by subclassing OneLineMixin? (or more likely, one of its subclasses) and overridding make_line(). One could before, of course, but now they can reuse the data-gathering code by calling get_line_values().