I think the Jelly could just produce a list of all jobs, and a bit of JavaScript could display nested jobs or not depending on the value of the checkbox.