From e8376819ffa96dc7ec7eef12700f7d9733082b40 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 15 Jul 2021 10:19:34 +0100 Subject: [PATCH] Merge pull request #4310 from overleaf/jel-reconfirmation-dropbox Update Dropbox unlinked due to reconfirmation lapse notification GitOrigin-RevId: 59a51040a430408595f37123e393bfafe090c656 --- services/web/app/views/project/list/notifications.pug | 7 ++++++- services/web/locales/en.json | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/services/web/app/views/project/list/notifications.pug b/services/web/app/views/project/list/notifications.pug index 472f78bbaa..bf47dbb655 100644 --- a/services/web/app/views/project/list/notifications.pug +++ b/services/web/app/views/project/list/notifications.pug @@ -124,7 +124,12 @@ include ../../_mixins/reconfirm_affiliation ng-switch-when="notification_dropbox_unlinked_due_to_lapsed_reconfirmation" ) .notification-body - | !{translate("dropbox_unlinked_premium_feature", {}, ['strong'])} + if user.features.dropbox + | !{translate("dropbox_unlinked_premium_feature", {}, ['strong'])} + | !{translate("can_now_relink_dropbox", {}, [{name: 'a', attrs: {href: '/user/settings#dropboxSettings' }}])} + else + | !{translate("dropbox_unlinked_premium_feature", {}, ['strong'])} + | !{translate("confirm_affiliation_to_relink_dropbox")} |   a(href="/learn/how-to/Institutional_Email_Reconfirmation") #{translate("learn_more")} .notification-close diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 0514984597..4e89277399 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1463,7 +1463,8 @@ "search": "Search", "also": "Also", "add_email": "Add Email", - "dropbox_unlinked_premium_feature": "<0>Your Dropbox account has been unlinked because Dropbox Sync is a premium feature that you had through an institutional license. Please confirm you are still at the institution or upgrade your account in order to relink your Dropbox account.", + "dropbox_unlinked_premium_feature": "<0>Your Dropbox account has been unlinked because Dropbox Sync is a premium feature that you had through an institutional license.", + "confirm_affiliation_to_relink_dropbox": "Please confirm you are still at the institution and on their license, or upgrade your account in order to relink your Dropbox account.", "pay_with_visa_mastercard_or_amex": "Pay with Mastercard, Visa, or Amex", "pay_with_paypal": "Pay with PayPal", "this_field_is_required": "This field is required", @@ -1476,5 +1477,6 @@ "go_prev_page": "Go to Previous Page", "page_current": "Page __page__, Current Page", "go_page": "Go to page __page__", - "pagination_navigation": "Pagination Navigation" -} \ No newline at end of file + "pagination_navigation": "Pagination Navigation", + "can_now_relink_dropbox": "You can now <0>relink your Dropbox account." +}