stable

Clone or download

Read-only

Display alerts in siteadmin

Part of story #9197: Get rid of Bootstrap in site admin Go to site admin ยป configuration ยป project configuration ยป project description fields edition[1]. When you add or delete a field, a feedback is displayed. If when adding field there is an error (missing rank for example) then there is a redish feedback. This forced us to move Codendi_HTMLPurifier constants to a dedicated file so that they are available even if the Codendi_HTMLPurifier has not been loaded yet: due to autoloading, the file that contains both Codendi_HTMLPurifier class and constants is loaded only the first time php has to instantiate the class, we are doomed if we need the constant before the class. [1] http://tuleap_web_1.tuleap-aio-dev.docker/admin/descfields/desc_fields_edit.php Change-Id: I2bdb9e211de125fdb62f58847b80167200a6575f

Modified Files

Name
A src/common/constants.php +30 โˆ’0 Go to diff View file
M src/common/include/Codendi_HTMLPurifier.class.php +1 โˆ’9 Go to diff View file
M src/common/layout/BaseLayout.php +1 โˆ’0 Go to diff View file
D src/www/admin/search.php +0 โˆ’33 Go to diff View file
D src/www/admin/show_license.php +0 โˆ’22 Go to diff View file
M src/www/include/pre.php +1 โˆ’0 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +6 โˆ’1 Go to diff View file
M src/www/themes/BurningParrot/HeaderPresenter.php +42 โˆ’2 Go to diff View file
M src/www/themes/BurningParrot/HeaderPresenterBuilder.php +4 โˆ’2 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_structure.scss +4 โˆ’0 Go to diff View file
M src/www/themes/BurningParrot/templates/header.mustache +9 โˆ’0 Go to diff View file