Merge pull request #1319 from sharelatex/ja-account-deletion-message

Change account deletion message when v1 access is removed

GitOrigin-RevId: c81cc85042b30fcff998283cf1ffea0503d0ed40
This commit is contained in:
James Allen 2019-01-07 11:16:55 +00:00 committed by sharelatex
parent 47ab15c39f
commit 1bddd03335

View file

@ -203,6 +203,13 @@ block content
div.modal-body#delete-account-modal div.modal-body#delete-account-modal
p !{translate("delete_account_warning_message_3")} p !{translate("delete_account_warning_message_3")}
if settings.createV1AccountOnLogin && settings.overleaf if settings.createV1AccountOnLogin && settings.overleaf
if settings.forceImportToV2
p
strong
| Your Overleaf v2 projects will be deleted if you delete your account.
| If you want to remove any remaining Overleaf v1 projects in your account,
| please first make sure they are imported to Overleaf v2.
else
p p
strong strong
| This will also delete your user account on #[a(href='/sign_in_to_v1?return_to=/dash%3Fprefer-v1-dash%3D1' target="_blank") Overleaf v1]. | This will also delete your user account on #[a(href='/sign_in_to_v1?return_to=/dash%3Fprefer-v1-dash%3D1' target="_blank") Overleaf v1].
@ -235,7 +242,7 @@ block content
ng-model="state.confirmV1Purge" ng-model="state.confirmV1Purge"
ng-change="checkValidation()" ng-change="checkValidation()"
).pull-left ).pull-left
label(style="display: inline")  I have left or purged my projects on Overleaf v1 (if any)   label(style="display: inline")  I have left, purged or imported my projects on Overleaf v1 (if any)  
div.confirmation-checkbox-wrapper div.confirmation-checkbox-wrapper
input( input(