The code that has been added to record/summary.tt2 and results/table.tt2 is large and almost identical, thus a great candidate for factoring out into one common template that would get included into each of the respective files.
There would be a little bit of upfront work to grab the right context variables (ctx.bre_id vs. rec_id) and resolve a few CSS classes, but I think that factoring it out into a common template would be a big win & would avoid having to duplicate changes for fixes & enhancements down the road. I'm willing to work on this if you don't have the time or interest.
The code that has been added to record/summary.tt2 and results/table.tt2 is large and almost identical, thus a great candidate for factoring out into one common template that would get included into each of the respective files.
There would be a little bit of upfront work to grab the right context variables (ctx.bre_id vs. rec_id) and resolve a few CSS classes, but I think that factoring it out into a common template would be a big win & would avoid having to duplicate changes for fixes & enhancements down the road. I'm willing to work on this if you don't have the time or interest.