Explorar o código

Prompt the user to open a file on the left if no doc is open

James Allen %!s(int64=10) %!d(string=hai) anos
pai
achega
35442f7ce9
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      services/web/app/views/project/editor/editor.jade

+ 6 - 2
services/web/app/views/project/editor/editor.jade

@@ -10,8 +10,12 @@ div.full-size(
 )
 )
 	.ui-layout-center
 	.ui-layout-center
 		.loading-panel(ng-show="!editor.sharejs_doc || editor.opening")
 		.loading-panel(ng-show="!editor.sharejs_doc || editor.opening")
-			i.fa.fa-spin.fa-refresh
-			|   #{translate("loading")}...
+			span(ng-show="editor.open_doc_id")
+				i.fa.fa-spin.fa-refresh
+				|   #{translate("loading")}...
+			span(ng-show="!editor.open_doc_id")
+				i.fa.fa-arrow-left
+				|   #{translate("open_a_file_on_the_left")}
 
 
 		#editor(
 		#editor(
 			ace-editor="editor",
 			ace-editor="editor",