stable

Clone or download

Read-only

feat: Display "Back to" link for OO view

When a document is open in OO, there is a link to go back to Documents app. Part of story #27555: display Office documents stored in the Document plugin Change-Id: I46f526171460eb02769f524facb07f2b23067a30

Modified Files

Name
A plugins/onlyoffice/include/Open/DocmanFileLastVersion.php +33 −0 Go to diff View file
M plugins/onlyoffice/include/Open/DocmanFileLastVersionProvider.php +4 −2 Go to diff View file
A plugins/onlyoffice/include/Open/OnlyOfficeDocument.php +33 −0 Go to diff View file
A plugins/onlyoffice/include/Open/OnlyOfficeDocumentProvider.php +66 −0 Go to diff View file
M plugins/onlyoffice/include/Open/OpenInOnlyOfficeController.php +24 −17 Go to diff View file
M plugins/onlyoffice/include/Open/OpenInOnlyOfficePresenter.php +2 −2 Go to diff View file
M plugins/onlyoffice/include/Open/ProvideDocmanFileLastVersion.php +1 −1 Go to diff View file
A plugins/onlyoffice/include/Open/ProvideOnlyOfficeDocument.php +35 −0 Go to diff View file
M plugins/onlyoffice/include/onlyofficePlugin.php +6 −1 Go to diff View file
M plugins/onlyoffice/site-content/fr_FR/LC_MESSAGES/tuleap-onlyoffice.po +10 −0 Go to diff View file
M plugins/onlyoffice/site-content/pr_BR/LC_MESSAGES/tuleap-onlyoffice.po +4 −0 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/DocmanFileLastVersionProviderTest.php +4 −2 Go to diff View file
A plugins/onlyoffice/tests/unit/Open/OnlyOfficeDocumentProviderTest.php +94 −0 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/OpenInOnlyOfficeControllerTest.php +13 −21 Go to diff View file
M plugins/onlyoffice/tests/unit/Open/ProvideDocmanFileLastVersionStub.php +3 −3 Go to diff View file
A plugins/onlyoffice/tests/unit/Open/ProvideOnlyOfficeDocumentStub.php +56 −0 Go to diff View file
M src/common/Layout/HeaderConfiguration.php +5 −3 Go to diff View file
A src/common/Layout/HeaderConfiguration/InProjectWithoutSidebar.php +35 −0 Go to diff View file
A src/common/Layout/HeaderConfiguration/InProjectWithoutSidebar/BackToLinkPresenter.php +33 −0 Go to diff View file
M src/themes/BurningParrot/css/includes/_header.scss +18 −0 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 −1 Go to diff View file
M src/themes/BurningParrot/include/Navbar/Presenter.php +2 −1 Go to diff View file
M src/themes/BurningParrot/include/Navbar/PresenterBuilder.php +2 −1 Go to diff View file
M src/themes/BurningParrot/templates/navbar/navbar.mustache +10 −1 Go to diff View file