stable

Clone or download

Read-only

Add project and users statistics

part of request #12509 Have plateform statistics in home page How to test: - as annonymous go on project homepage => no statistics are displayed - add $should_display_statistics = 1; in local.inc Go on your home page => Project and users statistics are displayed This patch does not deal at all with design. It will be done later. Change-Id: I24dd0f803b11b02752669d333de3b3e01dfc23c1

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +9 −0 Go to diff View file
M site-content/tuleap-core.pot +9 −0 Go to diff View file
M src/common/User/UserManager.class.php +6 −0 Go to diff View file
M src/common/dao/ProjectDao.class.php +11 −0 Go to diff View file
M src/common/dao/UserDao.class.php +11 −0 Go to diff View file
A src/common/layout/HomePage/HomePageStatistic.php +73 −0 Go to diff View file
A src/common/layout/HomePage/StatisticsCollection.php +47 −0 Go to diff View file
A src/common/layout/HomePage/StatisticsCollectionBuilder.php +81 −0 Go to diff View file
M src/common/project/ProjectManager.class.php +5 −0 Go to diff View file
A src/templates/homepage/homepage-statistics.mustache +20 −0 Go to diff View file
M src/templates/homepage/homepage.mustache +2 −0 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +11 −1 Go to diff View file
M src/www/themes/BurningParrot/HomePagePresenter.php +16 −11 Go to diff View file