stable

Clone or download

Read-only

Display error message in history

This is part of story #10257: show artifact view history If there is an error during the call to GET or PUT /users/:id/history, then an error message in the dropdown. You can simulate the behavior by throwing a RestException at the beginning of UserResource::getHistory or putHistory: throw new RestException(400, 'Bad request'); Change-Id: I5428d9277349eeb4ed0fd032af760bc9b3a7a150

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +6 −0 Go to diff View file
M site-content/tuleap-core.pot +6 −0 Go to diff View file
M src/www/scripts/navbar-history/navbar-history.js +34 −12 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/History/UserHistoryPresenter.php +4 −7 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_navbar-dropdown-history.scss +13 −0 Go to diff View file
M src/www/themes/BurningParrot/templates/navbar/dropdown-menu-item/content/content-history.mustache +6 −0 Go to diff View file
M src/www/themes/FlamingParrot/NavBarPresenter.class.php +4 −0 Go to diff View file