From 35442f7ce93e9a18ee3339e228cfb3e7e974a4d7 Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 23 May 2016 15:03:26 +0100 Subject: [PATCH] Prompt the user to open a file on the left if no doc is open --- services/web/app/views/project/editor/editor.jade | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/editor/editor.jade b/services/web/app/views/project/editor/editor.jade index f79f6e3c19..d6c0876f96 100644 --- a/services/web/app/views/project/editor/editor.jade +++ b/services/web/app/views/project/editor/editor.jade @@ -10,8 +10,12 @@ div.full-size( ) .ui-layout-center .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( ace-editor="editor",