Scrollable Faculty Journal

Allow teachers to open a scrollable faculty journal page from their People listing for a course. Inserts a menu and next/prev buttons into the resulting faculty journal page to let teachers scroll through each student in their course, from within the faculty journal.

Signed-off-by: Seth Battis <seth@battis.net>
Consistent Instance

Updated the code to stay consistently on the test instance, for now (rather than switching midstream).

Signed-off-by: Seth Battis <seth@battis.net>
Caching

Menus are now cached (six hours default, configurable in config.inc.php).

Did a little cleanup to simply the test/live instance switch-over.

Signed-off-by: Seth Battis <seth@battis.net>
Timing

Put a delay in before adding the Faculty Journal button (I'm guessing the timing wasn't about the menus -- although we're now dependent on resources-menu.js running ahead of us -- but actually on the sidebar completing loading dynamically.

Whatevs. It works.

Signed-off-by: Seth Battis <seth@battis.net>
Variable Timing

For whatever reason, loading the menu seems to happen slightly sooner than adding the button, which means that the userClass may not have been set yet. Since students can't see the Faculty Journal anyway, no need to check if they're teachers, I guess.

Signed-off-by: Seth Battis <seth@battis.net>
Going Live

Switching over to live instance from the test instance.

Signed-off-by: Seth Battis <seth@battis.net>
Merge branch 'refs/heads/dev-faculty-journal'