reciprocity/ggrc-core — pull request #47 by bmomberger-reciprocity (2013-06-27 08:24:11+00:00)
Title: Main and risk trees for business objects, systems, and processes

Please accept before the Thursday demo. I've added main and risk widgets to the main layout HAMLs for base objects, which provides a start point for the tree view controllers to be applied to the lists within (see javascripts/apps/business_objects.js and javascripts/apps/systems.js). This has led to some rewrites of the tree view controller and base models, leading to fairly generic templating (the same tree template is used for each of the six biz object types).Also of note is that I've copied some of the "inflector" functionality to the client-side model classes. It's using regex on the root_collecion and root_object properties, but it seems to be working well. This should greatly simplify later generic templating.