stable
Clone or download
Read-only
This contribution only setup the JS code for the project admin banner page. This only creates a small app that either display a message saying no banner has been set or the raw banner message. The page can be accessed via the URL /project/<project_id>/admin/banner and a banner can be created via the REST endpoint PUT /projects/:project_id/banner. Part of story #12264: display a custom banner inside project pages Change-Id: Ie08ca3b1875eaa324440dcae15110e945991357f
Modified Files
Name | ||||
---|---|---|---|---|
M | build-manifest.json | +4 | −0 | Go to diff View file |
M | src/common/Project/Banner/BannerAdministrationController.php | +21 | −2 | Go to diff View file |
M | src/common/Request/RouteCollector.php | +5 | −1 | Go to diff View file |
M | src/templates/project/admin/banner/administration.mustache | +4 | −0 | Go to diff View file |
M | src/www/scripts/package-lock.json | +15 | −0 | Go to diff View file |
M | src/www/scripts/package.json | +1 | −0 | Go to diff View file |
A | src/www/scripts/project/admin/banner/index-banner-project-admin.ts | +40 | −0 | Go to diff View file |
A | src/www/scripts/project/admin/banner/po/fr_FR.po | +14 | −0 | Go to diff View file |
A | src/www/scripts/project/admin/banner/src/components/App.test.ts | +48 | −0 | Go to diff View file |
A | src/www/scripts/project/admin/banner/src/components/App.vue | +35 | −0 | Go to diff View file |
A | src/www/scripts/project/admin/banner/src/helpers/local-vue-for-tests.ts | +31 | −0 | Go to diff View file |
A | src/www/scripts/project/admin/banner/vue.shims.d.ts | +23 | −0 | Go to diff View file |
A | src/www/scripts/tsconfig.json | +9 | −0 | Go to diff View file |
M | src/www/scripts/webpack.vue.js | +12 | −2 | Go to diff View file |
M | tests/phpunit/common/Project/Banner/BannerAdministrationControllerTest.php | +4 | −1 | Go to diff View file |