stable

Clone or download

Read-only

Allow site administrator to define the platform banner

As site administrator, go to admin ยป global configuration ยป platform banner. User can setup the platform banner the same way than for a project banner. In addition, the banner importance can be set. This is a copy paste from the project banner app, with some minor adjustment. Part of story #14670: display a site wide banner (motd) Change-Id: Ib1d49fbcc1ee9dbd9dad73c9c98149490c983526

Modified Files

Name
M build-manifest.json +4 โˆ’0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +6 โˆ’0 Go to diff View file
A src/common/Platform/Banner/PlatformBannerAdministrationController.php +79 โˆ’0 Go to diff View file
M src/common/Request/RouteCollector.php +14 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/index-platform-banner-admin.ts +47 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/po/fr_FR.po +49 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/api/rest-querier.ts +44 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/components/App.test.ts +181 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/components/App.vue +122 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/components/BannerPresenter.test.ts +131 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/components/BannerPresenter.vue +183 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/components/__snapshots__/App.test.ts.snap +96 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/components/__snapshots__/BannerPresenter.test.ts.snap +410 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/helpers/local-vue-for-tests.ts +31 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/src/type.ts +30 โˆ’0 Go to diff View file
A src/scripts/platform/banner/admin/vue.shims.d.ts +23 โˆ’0 Go to diff View file
A src/templates/admin/banner/administration.mustache +14 โˆ’0 Go to diff View file
M src/templates/admin/sidebar_configuration.mustache +1 โˆ’0 Go to diff View file
M src/tsconfig.json +1 โˆ’0 Go to diff View file
M src/webpack.common.js +2 โˆ’0 Go to diff View file
A tests/unit/common/Platform/Banner/PlatformBannerAdministrationControllerTest.php +105 โˆ’0 Go to diff View file