stable

Clone or download

Read-only

Display relevant project icon for restricted platform.

Given the platform allows restricted users, And the variable $feature_flag_project_without_restricted is set to 1, And there is a project in one of the following visibility: - public - public incl. restricted - private - private incl. restricted Then the lock icon is reflecting the visibility in the following places: โ˜‘ sidebar (FP/BP) โ˜‘ navbar (FP/BP) โ˜‘ navbar ยป projects dropdown (BP) โ˜‘ project dashboard โ˜‘ project ยป admin ยป details ยป access (when platform forbid project admin to set visibility) โ˜‘ siteadmin ยป pending projects โ˜‘ siteadmin ยป projects list โ˜‘ siteadmin ยป projects list ยป project No changes if the feature flag is off. This introduces icons font in TLP for our custom icons. The set of icons is displayed in TLP documentation ยป visual assets ยป iconography. Part of story #12554: have private projects without restricted members Change-Id: I2cbd5a5ba1bcdea8e99ca9b203be633e278c8021

Modified Files

Name
M src/common/Project/Admin/ProjectAccessPresenter.php +14 โˆ’7 Go to diff View file
M src/common/Project/Admin/ProjectWithoutRestrictedFeatureFlag.php +1 โˆ’1 Go to diff View file
M src/templates/admin/projects/project-info.mustache +4 โˆ’3 Go to diff View file
M src/templates/admin/projects/project-pending.mustache +3 โˆ’2 Go to diff View file
M src/templates/admin/projects/projectlist.mustache +6 โˆ’5 Go to diff View file
M src/templates/dashboard/project.mustache +4 โˆ’3 Go to diff View file
M src/templates/project/project_access.mustache +4 โˆ’3 Go to diff View file
M src/www/themes/BurningParrot/CurrentProjectNavbarInfoPresenter.php +26 โˆ’0 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/Projects/ProjectPresenter.php +25 โˆ’3 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/Projects/ProjectPresentersBuilder.php +3 โˆ’9 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/Projects/ProjectsPresenter.php +21 โˆ’35 Go to diff View file
M src/www/themes/BurningParrot/ProjectSidebarPresenter.php +26 โˆ’0 Go to diff View file
M src/www/themes/BurningParrot/templates/navbar/current-project-nav.mustache +22 โˆ’6 Go to diff View file
M src/www/themes/BurningParrot/templates/navbar/dropdown-menu-item/content/content-projects.mustache +8 โˆ’0 Go to diff View file
M src/www/themes/BurningParrot/templates/project-sidebar.mustache +22 โˆ’6 Go to diff View file
M src/www/themes/FlamingParrot/ContainerPresenter.class.php +32 โˆ’9 Go to diff View file
M src/www/themes/FlamingParrot/CurrentProjectNavbarInfoPresenter.php +27 โˆ’0 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +3 โˆ’4 Go to diff View file
M src/www/themes/FlamingParrot/css/utils/_pre-definitions.scss +3 โˆ’0 Go to diff View file
M src/www/themes/FlamingParrot/templates/navbar.mustache +22 โˆ’6 Go to diff View file
M src/www/themes/FlamingParrot/templates/project-sidebar.mustache +22 โˆ’6 Go to diff View file
M src/www/themes/common/tlp/doc/css/_demos.scss +28 โˆ’1 Go to diff View file
M src/www/themes/common/tlp/doc/js/main.js +14 โˆ’0 Go to diff View file
M src/www/themes/common/tlp/doc/resources/visual-assets/icons/doc.html +23 โˆ’0 Go to diff View file
M src/www/themes/common/tlp/gulpfile.js +6 โˆ’1 Go to diff View file
A src/www/themes/common/tlp/src/fonts/tlp-font/TLP.woff Binary file Go to diff View file
A src/www/themes/common/tlp/src/fonts/tlp-font/tlp-font.scss +42 โˆ’0 Go to diff View file
M src/www/themes/common/tlp/src/scss/components/_fonts.scss +3 โˆ’1 Go to diff View file