stable

Clone or download

Read-only

Use fa-lock-open instead of fa-unlock for project privacy

Two recent events decreased the readability of the priacy icon: * Introduction of background image in project header => with a background, there is no distinctive color between a "public" and a "private" project. * Upgrade to Font Awesome 5 => the `fa fa-unlock` is not the same icon than `fas fa-unlock` The association makes it hard to distinquish a "public" and "private" icon. Font Awesome 5 `fa-lock-open` matches the old `fa-unlock` so we are now using it for project privacy icon (furthermore it matches the fa-tlp-unlock-plus-r custom icon). Usage of `fa-unlock` outside of project privacy icon is ignored by this patch. Part of story #16211: Set a header background image Change-Id: Ibe186b5333405750ffb4a7075dbb28af8d509375

Modified Files

Name
M src/common/Widget/MyProjects.php +9 −9 Go to diff View file
M src/scripts/BurningParrot/src/project-privacy.js +3 −1 Go to diff View file
M src/scripts/FlamingParrot/project-privacy.js +4 −2 Go to diff View file
M src/scripts/project/privacy/project-privacy-helper.test.ts +2 −2 Go to diff View file
M src/scripts/project/privacy/project-privacy-helper.ts +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectLink.vue +1 −1 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/__snapshots__/ProjectLink.test.ts.snap +1 −1 Go to diff View file
M src/scripts/vue-components/breadcrumb-privacy/__snapshots__/BreadcrumbPrivacy.test.ts.snap +3 −3 Go to diff View file
M src/templates/admin/projects/project-info.mustache +2 −2 Go to diff View file
M src/templates/admin/projects/project-pending.mustache +2 −2 Go to diff View file
M src/templates/admin/projects/projectlist.mustache +2 −2 Go to diff View file
M src/templates/common/breadcrumbs/breadcrumbs-privacy.mustache +14 −14 Go to diff View file
M src/templates/dashboard/project.mustache +2 −2 Go to diff View file
M src/templates/project/project_access.mustache +2 −2 Go to diff View file
M src/themes/BurningParrot/css/includes/_breadcrumb.scss +4 −4 Go to diff View file
M src/themes/BurningParrot/css/includes/_project-background.scss +2 −2 Go to diff View file
M src/themes/BurningParrot/css/includes/_project-privacy-popover.scss +2 −0 Go to diff View file
M src/themes/BurningParrot/css/includes/_sidebar-project.scss +1 −1 Go to diff View file
M src/themes/BurningParrot/templates/project-sidebar.mustache +6 −6 Go to diff View file
M src/themes/FlamingParrot/css/utils/_breadcrumb.scss +4 −4 Go to diff View file
M src/themes/FlamingParrot/css/utils/_project-background.scss +2 −2 Go to diff View file
M src/themes/FlamingParrot/css/utils/_project-privacy-popover.scss +2 −0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_sidebar.scss +2 −2 Go to diff View file
M src/themes/FlamingParrot/templates/project-sidebar.mustache +6 −6 Go to diff View file
M tests/e2e/full/cypress/integration/project_admin.spec.ts +1 −1 Go to diff View file