Merge pull request #1377 from sharelatex/as-deemphasise-download-zip

De-emphasise download zip button if not the primary action

GitOrigin-RevId: 041c44109897c30ade9f5ed2ef47a416749a87a5
This commit is contained in:
James Allen 2019-01-09 16:49:09 +00:00 committed by sharelatex
parent b969526c19
commit 7ee0dcbd7c

View file

@ -42,6 +42,9 @@ block content
ng-value="v2ImportForm.inflight || v2ImportForm.response.success ? 'Moving to v2...' : '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" ng-disabled="v2ImportForm.inflight || v2ImportForm.response.success"
) )
.row-spaced-small.text-center
a(href="/overleaf/project/" + projectId + "/download/zip") Download project zip file
else else
p.text-center.row-spaced.small p.text-center.row-spaced.small
| #[strong #{name}] has not yet been moved into the new version of | #[strong #{name}] has not yet been moved into the new version of
@ -51,8 +54,8 @@ block content
| would like to delete this project after you have made a copy, | would like to delete this project after you have made a copy,
| please contact support. | please contact support.
.row-spaced.text-center .row-spaced.text-center
a.btn.btn-primary(href="/overleaf/project/" + projectId + "/download/zip") Download project zip file a.btn.btn-primary(href="/overleaf/project/" + projectId + "/download/zip") Download project zip file
.row-spaced.text-center .row-spaced.text-center
if hasAssignment if hasAssignment