stable

Clone or download

Read-only

Clamp the project banner message to one line

The user can click on the message when it is clamped to display it completely. To test you can use the REST endpoit PUT /projects/:project_id/banner to set a message. Part of story #12264: display a custom banner inside project pages Change-Id: If1f91719ecbf00294e89fb98d847ee4601ff66b3

Modified Files

Name
M src/common/layout/BaseLayout.php +15 −0 Go to diff View file
A src/www/scripts/project/banner/index.ts +24 −0 Go to diff View file
A src/www/scripts/project/banner/project-banner-clamp.test.ts +96 −0 Go to diff View file
A src/www/scripts/project/banner/project-banner-clamp.ts +69 −0 Go to diff View file
M src/www/scripts/tsconfig.json +2 −1 Go to diff View file
M src/www/scripts/webpack.config.js +21 −1 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +1 −8 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_project-banner.scss +10 −0 Go to diff View file
M src/www/themes/BurningParrot/templates/header.mustache +1 −1 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +1 −9 Go to diff View file
M src/www/themes/FlamingParrot/css/utils/_project-banner.scss +10 −0 Go to diff View file
M src/www/themes/FlamingParrot/templates/container.mustache +1 −1 Go to diff View file