stable

Clone or download

Read-only

Display project banner on BurningParrot pages

The message is restricted to some minimal formatting to be sure the look & feel of the page is not impacted. The message is always displayed completely and users can not hide it yet. There is also not yet a megaphone in the header. To tes the contribution, you can set the message via the REST route PUT /projects/:project_id/banner. Part of story #12264: display a custom banner inside project pages Change-Id: I4d1e408a5304ed4f1003481007accd8267581043

Modified Files

Name
M src/common/constants.php +10 −10 Go to diff View file
M src/common/include/Codendi_HTMLPurifier.class.php +51 −30 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +10 −2 Go to diff View file
M src/www/themes/BurningParrot/CurrentProjectNavbarInfoPresenter.php +19 −2 Go to diff View file
M src/www/themes/BurningParrot/css/_includes.scss +1 −0 Go to diff View file
A src/www/themes/BurningParrot/css/includes/_project-banner.scss +32 −0 Go to diff View file
M src/www/themes/BurningParrot/templates/header.mustache +8 −0 Go to diff View file