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_more_comprehensive_list_of_keyboard_shortcuts": "",
"about_to_archive_projects": "",
"about_to_delete_cert": "",
"about_to_delete_projects": "",
"about_to_delete_tag": "",
"about_to_delete_the_following_project": "",
@ -254,6 +255,7 @@
"delete_and_leave_projects": "",
"delete_authentication_token": "",
"delete_authentication_token_info": "",
"delete_certificate": "",
"delete_figure": "",
"delete_projects": "",
"delete_row_or_column": "",

View file

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

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>",
"about": "About",
"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_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",
@ -376,6 +377,7 @@
"delete_and_leave_projects": "Delete and Leave Projects",
"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_certificate": "Delete certificate",
"delete_figure": "Delete figure",
"delete_projects": "Delete Projects",
"delete_row_or_column": "Delete row or column",