Merge pull request #1348 from sharelatex/as-tweak-import-status-page

Tweak import status page

GitOrigin-RevId: df30c354dfeb27828225f535e3bfab782212ee60
This commit is contained in:
James Allen 2019-01-07 11:16:00 +00:00 committed by sharelatex
parent 12a2d71ac9
commit 87b983ec6b

View file

@ -21,7 +21,8 @@ block content
a.btn.btn-primary(
href="/login?redir=" + loginRedirect
) Log In To Move Project
else if hasOwner
else
if hasOwner
p.text-center.row-spaced-small
| #[strong #{name}] has not yet been moved into the new version of
| Overleaf. You will need to move it in order to continue working
@ -38,7 +39,7 @@ block content
form-messages(for="v2ImportForm")
input.row-spaced.btn.btn-primary.text-center.center-block(
type="submit"
value="Move Project and Continue"
ng-value="v2ImportForm.inflight || v2ImportForm.response.success ? 'Moving to v2...' : 'Move Project and Continue'"
ng-disabled="v2ImportForm.inflight || v2ImportForm.response.success"
)
else
@ -58,7 +59,7 @@ block content
form-messages(form="v2ZipDownloadForm")
input.row-spaced.btn.btn-primary.text-center.center-block(
type="submit"
value="Download project zip file"
ng-value="v2ZipDownloadForm.inflight || v2ZipDownloadForm.success ? 'Downloading zip file...' : 'Download project zip file'"
ng-disabled="v2ZipDownloadForm.inflight || v2ZipDownloadForm.success"
)