eregs/regulations-site — pull request #537 by cmc333333 (2014-01-10 20:15:48+00:00)
Title: Subterps - Combinations of commentary for subparts, regtext, and appendices

This feature is not complete, but I wanted to provide it as a pull request to get it in as early as possible.

Changes:
* Adds views for partials and chrome around subterps
* Adds a function for determining which sections are associated with a subterp
* Fixes whole regulation viewing by adding variables for the view names/labels used by the versions tab
* Adds subterps to TOC results
* Modifies main toc template to include these results
* JS adjusts the link for diffs accordingly

Missing:
* Needs tests
* JS doesn't highlight the subterp in the TOC
* Issue going from a version with a subterp to one without
* Missing footer links in subterps