openscholar/ossap — pull request #11 by baisong (2014-01-08 21:25:47+00:00)
Title: Unify and allow all stats in  embedded JS

#8

#### Changes

* Allow all stats to be embeded with one file
* Remove unnecessary menu hooks
* Add error message when aggregates need cron run

#### When cron needs run

![screen shot 2014-01-08 at 4 19 44 pm](https://f.cloud.github.com/assets/228733/1872747/48df766c-78ab-11e3-8648-6bb7a449f07e.png)

#### When there are aggregated statistics available

![screen shot 2014-01-08 at 4 20 04 pm](https://f.cloud.github.com/assets/228733/1872748/5b29a518-78ab-11e3-84c4-408dc077d3d3.png)