Преглед на файлове

Merge pull request #32149 from overleaf/jel-domain-verification-status

[web] Badges for domain verification status

GitOrigin-RevId: 70c33f0f587e22903ec73f3917dd840cba0830ed
Jessica Lawshe преди 6 месеца
родител
ревизия
3f717f6314

+ 8 - 0
services/web/frontend/extracted-translations.json

@@ -485,6 +485,7 @@
   "doing_this_will_verify_affiliation_and_allow_log_in_2": "",
   "domain": "",
   "domain_capture": "",
+  "domain_verification_failed_internal_error": "",
   "done": "",
   "dont_create_personal_projects_in_managed_account": "",
   "dont_forget_you_currently_have": "",
@@ -609,6 +610,7 @@
   "expires_on": "",
   "export_csv": "",
   "export_project_to_github": "",
+  "failed": "",
   "failed_to_consent_to_workbench_terms": "",
   "failed_to_send_group_invite_to_email": "",
   "failed_to_send_managed_user_invite_to_email": "",
@@ -992,6 +994,8 @@
   "last_suggested_fix": "",
   "last_updated_date_by_x": "",
   "last_used": "",
+  "last_verification_attempt": "",
+  "last_verified": "",
   "latam_discount_modal_info": "",
   "latam_discount_modal_title": "",
   "latex_in_thirty_minutes": "",
@@ -1331,6 +1335,7 @@
   "pdf_viewer": "",
   "pdf_viewer_error": "",
   "pdf_zoom_level": "",
+  "pending": "",
   "pending_additional_licenses": "",
   "pending_addon_cancellation": "",
   "pending_invite": "",
@@ -1564,6 +1569,7 @@
   "resync_message": "",
   "resync_project_history": "",
   "resyncing": "",
+  "retry_domain_verification": "",
   "retry_test": "",
   "reverse_x_sort_order": "",
   "revert_pending_plan_change": "",
@@ -2186,6 +2192,7 @@
   "vat_number": "",
   "verification": "",
   "verification_code": "",
+  "verified": "",
   "verify_email_address_before_enabling_managed_users": "",
   "verify_your_email_address": "",
   "view": "",
@@ -2208,6 +2215,7 @@
   "view_metrics_commons_subtext": "",
   "view_metrics_group_subtext": "",
   "view_more": "",
+  "view_more_domain_details": "",
   "view_only_access": "",
   "view_only_downgraded": "",
   "view_only_reviewer_downgraded": "",

+ 8 - 0
services/web/frontend/stylesheets/components/icon.scss

@@ -18,3 +18,11 @@
     font-size: 50px;
   }
 }
+
+.icon-danger {
+  color: var(--content-danger);
+}
+
+.icon-success {
+  color: var(--content-positive);
+}

+ 26 - 0
services/web/frontend/stylesheets/pages/group-settings.scss

@@ -318,3 +318,29 @@ h4.group-settings-title {
     flex-shrink: 0;
   }
 }
+
+.group-domains-table {
+  thead {
+    td {
+      border-bottom-width: var(--bs-border-width) !important;
+    }
+  }
+
+  tr:not(.domain-extra-details-row) {
+    td {
+      border-bottom-width: 0;
+    }
+  }
+
+  .domain-extra-details-row {
+    font-size: var(--font-size-02);
+
+    td {
+      padding-top: 0;
+    }
+  }
+
+  .domain-verification-status-table-cell {
+    text-wrap: nowrap;
+  }
+}

+ 7 - 0
services/web/locales/en.json

@@ -614,6 +614,7 @@
   "doing_this_will_verify_affiliation_and_allow_log_in_2": "Doing this will verify your affiliation with <0>__institutionName__</0> and will allow you to log in to <0>__appName__</0> through your institution.",
   "domain": "Domain",
   "domain_capture": "Domain capture",
+  "domain_verification_failed_internal_error": "Domain verification failed due to an internal error. Please try again in a few moments. If the problem continues please <0>contact us</0>.",
   "done": "Done",
   "dont_create_personal_projects_in_managed_account": "Don’t create personal projects in a managed account. You can set up a personal __appName__ account under another email address.",
   "dont_forget_you_currently_have": "Don’t forget, you currently have:",
@@ -779,6 +780,7 @@
   "explore_all_plans": "Explore all plans",
   "export_csv": "Export CSV",
   "export_project_to_github": "Export Project to GitHub",
+  "failed": "Failed",
   "failed_to_consent_to_workbench_terms": "Failed to consent to workbench terms. Please try again later.",
   "failed_to_send_group_invite_to_email": "Failed to send Group invite to <0>__email__</0>. Please try again later.",
   "failed_to_send_managed_user_invite_to_email": "Failed to send Managed User invite to <0>__email__</0>. Please try again later.",
@@ -1262,6 +1264,8 @@
   "last_updated": "Last Updated",
   "last_updated_date_by_x": "__lastUpdatedDate__ by __person__",
   "last_used": "Last used",
+  "last_verification_attempt": "Last verification attempt",
+  "last_verified": "Last verified",
   "latam_discount_modal_info": "Unlock the full potential of Overleaf with a __discount__% discount on premium subscriptions paid in __currencyName__. Get a longer compile timeout, full document history, track changes, additional collaborators, and more.",
   "latam_discount_modal_title": "Premium subscription discount",
   "latam_discount_offer_plans_page_banner": "__flag__ We’ve applied a __discount__ discount to premium plans on this page for our users in __country__. Check out the new lower prices (in __currency__).",
@@ -2020,6 +2024,7 @@
   "resync_message": "Resyncing project history can take several minutes depending on the size of the project.",
   "resync_project_history": "Resync Project History",
   "resyncing": "Resyncing",
+  "retry_domain_verification": "Retry domain verification",
   "retry_test": "Retry test",
   "return_to_login_page": "Return to Login page",
   "reverse_x_sort_order": "Reverse __x__ sort order",
@@ -2745,6 +2750,7 @@
   "vat_number": "VAT Number",
   "verification": "Verification",
   "verification_code": "Verification code",
+  "verified": "Verified",
   "verify_email_address_before_enabling_managed_users": "You need to verify your email address before enabling managed users.",
   "verify_your_email_address": "Verify your email address",
   "view": "View",
@@ -2767,6 +2773,7 @@
   "view_metrics_commons_subtext": "Monitor and download usage metrics for your Commons subscription",
   "view_metrics_group_subtext": "Monitor and download usage metrics for your group subscription",
   "view_more": "View more",
+  "view_more_domain_details": "View more details for __domain__",
   "view_only_access": "View-only access",
   "view_only_downgraded": "View only. Upgrade to restore edit access.",
   "view_only_reviewer_downgraded": "View only. Upgrade to restore review access.",