stable

Clone or download

Read-only

refactor: extract InProject from InProjectWithoutSidebar

When InProjectWithoutSidebar had been introduced, we only needed a link to return to the project (this is used by OnlyOffice integration). Now that we are refactoring the whole `$params` crap, there are places where we need to store project specific information (the project itself, the current service "toptab", …). The current contribution is a first step to reach that goal (eg of possible usage: `$params->in_project->project`, or `$params->in_project->current_service`). No functional change in OnlyOffice integration, the back link is still displayed in the header. Part of story #34002: see promoted trackers in sidebar Change-Id: I83a7ce40d623c83a9cf8949d6b908bf3bc6890db

Modified Files

Name
M src/common/Layout/HeaderConfiguration.php +2 −2 Go to diff View file
A src/common/Layout/HeaderConfiguration/InProject.php +30 −0 Go to diff View file
R src/common/Layout/HeaderConfiguration/InProjectWithoutSidebar.php Go to diff View file
M src/common/Layout/HeaderConfigurationBuilder.php +9 −5 Go to diff View file
M src/themes/BurningParrot/include/BurningParrotTheme.php +1 −1 Go to diff View file
M src/themes/BurningParrot/include/HeaderPresenterBuilder.php +2 −2 Go to diff View file
M src/themes/BurningParrot/include/Navbar/Presenter.php +2 −2 Go to diff View file
M src/themes/BurningParrot/include/Navbar/PresenterBuilder.php +2 −2 Go to diff View file