stable

Clone or download

Read-only

Burning parrot site home page gets promoted news

If no news are approved for front page or if $sys_display_homepage_news is set to 0 nothing will be displayed As 'news' service is really ugly there are no links on the news itself nor to the 'comment' section (even uglier). Part of request #12636 Display promoted news on Site Home Page Change-Id: I6ec97052819ffeb7e7d2212fd79a5bb3976e9f6b

Modified Files

Name
M src/common/News/NewsDao.php +24 −0 Go to diff View file
M src/common/User/User.class.php +5 −0 Go to diff View file
A src/common/layout/HomePage/HomePageNews.php +64 −0 Go to diff View file
A src/common/layout/HomePage/NewsCollection.php +50 −0 Go to diff View file
A src/common/layout/HomePage/NewsCollectionBuilder.php +71 −0 Go to diff View file
M src/common/project/Group.class.php +11 −6 Go to diff View file
A src/templates/homepage/homepage-news.mustache +26 −0 Go to diff View file
M src/templates/homepage/homepage-statistics.mustache +20 −19 Go to diff View file
M src/templates/homepage/homepage.mustache +4 −1 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +7 −1 Go to diff View file
M src/www/themes/BurningParrot/HomePagePresenter.php +14 −6 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/Projects/ProjectPresentersBuilder.php +1 −2 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_homepage.scss +79 −3 Go to diff View file