stable

Clone or download

Read-only

Add cog icon for FlamingParrot Project Admin

Part of story #21791 see Programs & Teams in sidebar How to test: - In FlamingParrot (go to Tracker reports), when you are project administrator, there is a "cog" icon to the right of the project's public name in the sidebar - When you have a long project name, the name still wraps on two lines. - The "Admin" service is still present and will be removed near the end of the story because we must first display the cog icon in BurningParrot - Other icons (project privacy, project banner button, project flags, etc). will be changed in later commits to match the mockups. Change-Id: Iab584aae86a6e763aa845020ec75f7beec178c14

Modified Files

Name
A src/common/Project/Admin/Access/ProjectAdministrationLinkPresenter.php +44 −0 Go to diff View file
A src/common/Project/Admin/Access/UserCanAccessProjectAdministrationVerifier.php +47 −0 Go to diff View file
A src/common/Project/Admin/Access/VerifyUserCanAccessProjectAdministration.php +28 −0 Go to diff View file
M src/common/Project/ProjectContextPresenter.php +8 −1 Go to diff View file
M src/scripts/FlamingParrot/project-privacy.js +1 −3 Go to diff View file
M src/themes/BurningParrot/include/BurningParrotTheme.php +10 −0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_project-privacy-popover.scss +0 −1 Go to diff View file
M src/themes/FlamingParrot/css/utils/_sidebar.scss +55 −46 Go to diff View file
M src/themes/FlamingParrot/include/ContainerPresenter.class.php +4 −10 Go to diff View file
M src/themes/FlamingParrot/templates/project-sidebar.mustache +15 −34 Go to diff View file
A src/themes/FlamingParrot/templates/sidebar/project-privacy.mustache +26 −0 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +13 −3 Go to diff View file
A tests/lib/Stubs/VerifyUserCanAccessProjectAdministrationStub.php +50 −0 Go to diff View file
A tests/unit/common/Project/Admin/Access/ProjectAdministrationLinkPresenterTest.php +46 −0 Go to diff View file
A tests/unit/common/Project/Admin/Access/UserCanAccessProjectAdministrationVerifierTest.php +96 −0 Go to diff View file