stable

Clone or download

Read-only

Site administrator should be able to choose to display/hide statistics on homepage

This part of request #12509: Have plateform statistics in home page How to test: - In Global configuration > Homepage there is a toggle do display/hide statistics on home page - statistics are displayed by default on home page Change-Id: Id11cf26d21f581ae8654a2b126f2cb70218ecdca

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +6 −0 Go to diff View file
M site-content/tuleap-core.pot +6 −0 Go to diff View file
M src/common/admin/Homepage/Controller.php +7 −0 Go to diff View file
M src/common/admin/Homepage/Dao.php +18 −1 Go to diff View file
M src/common/admin/Homepage/Presenter.php +9 −5 Go to diff View file
M src/common/layout/HomePage/HomePageStatistic.php +3 −0 Go to diff View file
M src/common/layout/HomePage/StatisticsCollectionBuilder.php +14 −7 Go to diff View file
M src/db/mysql/database_initvalues.sql +1 −1 Go to diff View file
M src/db/mysql/database_structure.sql +2 −1 Go to diff View file
A src/db/mysql/updates/2018/201812051759_add_display_plateform_statistics_option.php +42 −0 Go to diff View file
M src/templates/homepage/admin.mustache +17 −0 Go to diff View file
M src/www/scripts/tuleap/admin-homepage.js +7 −0 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +6 −1 Go to diff View file