Răsfoiți Sursa

Merge pull request #453 from sharelatex/ja-update-import-modal

Tone down and reword v1 import modal
Alasdair Smith 8 ani în urmă
părinte
comite
672305c9c2

+ 11 - 8
services/web/app/views/project/list/modals.pug

@@ -342,17 +342,20 @@ script(type="text/ng-template", id="v1ImportModalTemplate")
 		.v1-import-step-2(ng-show="step === 2")
 			.v1-import-row
 				.v1-import-warning.v1-import-col(aria-label="Warning symbol.")
-					i.fa.fa-exclamation-triangle
+					i.fa.fa-flask
 				.v1-import-col
 					h2.v1-import-title #[strong Warning:] Overleaf v2 is Experimental
-					p We are still working hard to bring some Overleaf v1 features to the v2 editor. If you move this project to v2 now, you will:
+					p We are still working hard to bring some Overleaf v1 features to the v2 editor. In v2 there is:
 					ul
-						li Lose access your project via git
-						li Not be able to use the Journals and Services menu to submit directly to our partners
-						li Not be able to use the Rich Text (WYSIWYG) mode
-						li Not be able to use linked files (to URLs or to files in other Overleaf projects)
-						li Not be able to use some bibliography integrations (Zotero, CiteULike)
-						li Lose access to your labelled versions and not be able to create new labelled versions
+						li <strong>No Journals and Services</strong> menu to submit directly to our partners yet
+						li <strong>No Rich Text (WYSIWYG)</strong> mode yet
+						li <strong>No linked files</strong> (to URLs or to files in other Overleaf projects) yet
+						li <strong>No Zotero and CiteULike</strong> integrations yet
+						li <strong>No labelled versions</strong> yet
+					p.row-spaced-small
+						| If you currently use the <strong>Overleaf Git bridge</strong> with your v1 project, you can migrate your project to the Overleaf v2 GitHub integration.
+						|
+						a(href='', target='_blank') Read More.
 			.v1-import-cta
 				p
 					strong Please note: you cannot move this project back to v1 once you have moved it to v2. If this is an important project, please consider making a clone in v1 before you move the project to v2.

+ 3 - 6
services/web/public/stylesheets/app/list/v1-import-modal.less

@@ -1,5 +1,6 @@
 .v1-import-title {
 	text-align: center;
+	margin-top: @line-height-computed / 2;
 }
 
 .v1-import-row {
@@ -8,9 +9,6 @@
 }
 
 .v1-import-col {
-	flex-basis: 50%;
-	flex-grow: 0;
-	flex-shrink: 0;
 	padding-left: 15px;
 	padding-right: 15px;
 }
@@ -33,9 +31,8 @@
 }
 
 .v1-import-warning {
-	text-align: center;
-	color: #fdce02;
-	font-size: 14em;
+	color: #4B7FD1;
+	font-size: 10em;
 	line-height: 1em;
 }