Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Commit af992b8

Browse files
40thievesCopybot
authored and
Copybot
committed
Merge pull request #4310 from overleaf/jel-reconfirmation-dropbox
Update Dropbox unlinked due to reconfirmation lapse notification GitOrigin-RevId: 59a51040a430408595f37123e393bfafe090c656
1 parent 1a024c4 commit af992b8

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

app/views/project/list/notifications.pug

+6-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ include ../../_mixins/reconfirm_affiliation
124124
ng-switch-when="notification_dropbox_unlinked_due_to_lapsed_reconfirmation"
125125
)
126126
.notification-body
127-
| !{translate("dropbox_unlinked_premium_feature", {}, ['strong'])}
127+
if user.features.dropbox
128+
| !{translate("dropbox_unlinked_premium_feature", {}, ['strong'])}
129+
| !{translate("can_now_relink_dropbox", {}, [{name: 'a', attrs: {href: '/user/settings#dropboxSettings' }}])}
130+
else
131+
| !{translate("dropbox_unlinked_premium_feature", {}, ['strong'])}
132+
| !{translate("confirm_affiliation_to_relink_dropbox")}
128133
|  
129134
a(href="/learn/how-to/Institutional_Email_Reconfirmation") #{translate("learn_more")}
130135
.notification-close

locales/en.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,8 @@
14631463
"search": "Search",
14641464
"also": "Also",
14651465
"add_email": "Add Email",
1466-
"dropbox_unlinked_premium_feature": "<0>Your Dropbox account has been unlinked</0> 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.",
1466+
"dropbox_unlinked_premium_feature": "<0>Your Dropbox account has been unlinked</0> because Dropbox Sync is a premium feature that you had through an institutional license.",
1467+
"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.",
14671468
"pay_with_visa_mastercard_or_amex": "Pay with Mastercard, Visa, or Amex",
14681469
"pay_with_paypal": "Pay with PayPal",
14691470
"this_field_is_required": "This field is required",
@@ -1476,5 +1477,6 @@
14761477
"go_prev_page": "Go to Previous Page",
14771478
"page_current": "Page __page__, Current Page",
14781479
"go_page": "Go to page __page__",
1479-
"pagination_navigation": "Pagination Navigation"
1480-
}
1480+
"pagination_navigation": "Pagination Navigation",
1481+
"can_now_relink_dropbox": "You can now <0>relink your Dropbox account</0>."
1482+
}

0 commit comments

Comments
 (0)