stable
Clone or download
Read-only
Note that we set the minimal expired date to NOW() + 1 hour to avoid issues where the administrators stay a while on the page before submitting the new banner. Closes story #21342: auto disable site banner after a given time Change-Id: Ib671c42b60a503629a37b70a3cd20d06b97e1507
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Platform/Banner/PlatformBannerAdministrationController.php | +6 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/index-platform-banner-admin.ts | +1 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/po/fr_FR.po | +11 | −0 | Go to diff View file |
A | src/scripts/platform/banner/admin/src/api/rest-querier.test.ts | +51 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/api/rest-querier.ts | +9 | −1 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/components/App.test.ts | +9 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/components/App.vue | +21 | −3 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/components/BannerPresenter.test.ts | +8 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/components/BannerPresenter.vue | +11 | −2 | Go to diff View file |
A | src/scripts/platform/banner/admin/src/components/ExpirationDateBannerInput.test.ts | +35 | −0 | Go to diff View file |
A | src/scripts/platform/banner/admin/src/components/ExpirationDateBannerInput.vue | +100 | −0 | Go to diff View file |
A | src/scripts/platform/banner/admin/src/components/ExpiredBannerInfoMessage.test.ts | +72 | −0 | Go to diff View file |
A | src/scripts/platform/banner/admin/src/components/ExpiredBannerInfoMessage.vue | +55 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/components/__snapshots__/App.test.ts.snap | +30 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/components/__snapshots__/BannerPresenter.test.ts.snap | +12 | −0 | Go to diff View file |
A | src/scripts/platform/banner/admin/src/components/__snapshots__/ExpirationDateBannerInput.test.ts.snap | +11 | −0 | Go to diff View file |
M | src/scripts/platform/banner/admin/src/type.ts | +1 | −0 | Go to diff View file |
M | src/templates/admin/banner/administration.mustache | +1 | −1 | Go to diff View file |
M | src/themes/tlp/src/vendor-overrides/flatpickr.ts | +2 | −1 | Go to diff View file |