Merge pull request #17939 from overleaf/jel-sso-cert-delete

[web] Delete SSO certificate

GitOrigin-RevId: 779140afc8ccc1861d13599ab6d5744ae10cf323
This commit is contained in:
Jessica Lawshe 2024-04-24 10:35:42 -05:00 committed by Copybot
parent 8d1885cd50
commit bcc2bf8d60
3 changed files with 28 additions and 10 deletions

View file

@ -7,6 +7,7 @@
"a_file_with_that_name_already_exists_and_will_be_overriden": "", "a_file_with_that_name_already_exists_and_will_be_overriden": "",
"a_more_comprehensive_list_of_keyboard_shortcuts": "", "a_more_comprehensive_list_of_keyboard_shortcuts": "",
"about_to_archive_projects": "", "about_to_archive_projects": "",
"about_to_delete_cert": "",
"about_to_delete_projects": "", "about_to_delete_projects": "",
"about_to_delete_tag": "", "about_to_delete_tag": "",
"about_to_delete_the_following_project": "", "about_to_delete_the_following_project": "",
@ -254,6 +255,7 @@
"delete_and_leave_projects": "", "delete_and_leave_projects": "",
"delete_authentication_token": "", "delete_authentication_token": "",
"delete_authentication_token_info": "", "delete_authentication_token_info": "",
"delete_certificate": "",
"delete_figure": "", "delete_figure": "",
"delete_projects": "", "delete_projects": "",
"delete_row_or_column": "", "delete_row_or_column": "",

View file

@ -157,6 +157,10 @@ h3.group-settings-title {
.sso-config-info-section { .sso-config-info-section {
margin-bottom: @margin-md; margin-bottom: @margin-md;
padding: 0 @padding-base-horizontal; padding: 0 @padding-base-horizontal;
&:last-child {
margin-bottom: 0;
}
} }
.sso-config-info-label { .sso-config-info-label {
@ -329,16 +333,30 @@ h3.group-settings-title {
} }
.certificate-wrapper { .certificate-wrapper {
display: flex; .certificate-delete {
align-items: baseline; text-decoration: none;
margin-left: 16px;
&.certificate-full { span {
flex-wrap: wrap; vertical-align: middle;
}
} }
.certificate-delete,
.view-more {
padding: 0;
}
}
.certificate-truncated {
display: flex;
align-items: center;
.view-more { .view-more {
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
margin-left: 16px;
}
.certificate-delete {
display: inline-flex;
} }
} }
@ -354,11 +372,7 @@ h3.group-settings-title {
} }
.certificate-full & { .certificate-full & {
word-break: break-all; word-break: break-all;
display: block;
.break {
flex-basis: 100%;
height: 0;
}
} }
} }

View file

@ -18,6 +18,7 @@
"a_more_comprehensive_list_of_keyboard_shortcuts": "A more comprehensive list of keyboard shortcuts can be found in <0>this __appName__ project template</0>", "a_more_comprehensive_list_of_keyboard_shortcuts": "A more comprehensive list of keyboard shortcuts can be found in <0>this __appName__ project template</0>",
"about": "About", "about": "About",
"about_to_archive_projects": "You are about to archive the following projects:", "about_to_archive_projects": "You are about to archive the following projects:",
"about_to_delete_cert": "You are about to delete the following certificate:",
"about_to_delete_projects": "You are about to delete the following projects:", "about_to_delete_projects": "You are about to delete the following projects:",
"about_to_delete_tag": "You are about to delete the following tag (any projects in them will not be deleted):", "about_to_delete_tag": "You are about to delete the following tag (any projects in them will not be deleted):",
"about_to_delete_the_following_project": "You are about to delete the following project", "about_to_delete_the_following_project": "You are about to delete the following project",
@ -376,6 +377,7 @@
"delete_and_leave_projects": "Delete and Leave Projects", "delete_and_leave_projects": "Delete and Leave Projects",
"delete_authentication_token": "Delete Authentication token", "delete_authentication_token": "Delete Authentication token",
"delete_authentication_token_info": "Youre about to delete a Git authentication token. If you do, it can no longer be used to authenticate your identity when performing Git operations.", "delete_authentication_token_info": "Youre about to delete a Git authentication token. If you do, it can no longer be used to authenticate your identity when performing Git operations.",
"delete_certificate": "Delete certificate",
"delete_figure": "Delete figure", "delete_figure": "Delete figure",
"delete_projects": "Delete Projects", "delete_projects": "Delete Projects",
"delete_row_or_column": "Delete row or column", "delete_row_or_column": "Delete row or column",