diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-01-05 20:35:34 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-05 20:35:34 +0300 |
commit | 91477f6dae624bcce85c0b734a73f2db07398f2a (patch) | |
tree | eca96daff53cef8fe9ca1f0292b535e7abf2d983 /app/views | |
parent | 3d162d192ba2a57776de62b553a2a0a9a9245f8a (diff) |
Resolve "Helpful and instructing Empty state for multi file editor"
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/ide/index.html.haml | 4 | ||||
-rw-r--r-- | app/views/layouts/nav/_dashboard.html.haml | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/app/views/ide/index.html.haml b/app/views/ide/index.html.haml index 8368e7a4563..cb413f197de 100644 --- a/app/views/ide/index.html.haml +++ b/app/views/ide/index.html.haml @@ -6,7 +6,7 @@ .ide-flash-container.flash-container -#ide.ide-loading +#ide.ide-loading{ data: {"empty-state-svg-path" => image_path('illustrations/multi_file_editor_empty.svg')} } .text-center = icon('spinner spin 2x') - %h2.clgray= _('IDE Loading ...') + %h2.clgray= _('Loading the GitLab IDE...') diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml index e0d8d9cb402..4013181da9c 100644 --- a/app/views/layouts/nav/_dashboard.html.haml +++ b/app/views/layouts/nav/_dashboard.html.haml @@ -49,6 +49,12 @@ = link_to dashboard_projects_path, title: 'Projects', class: 'dashboard-shortcuts-projects' do Projects + - if current_controller?('ide') + %li.line-separator.hidden-xs + = nav_link(controller: 'ide') do + = link_to '#', class: 'dashboard-shortcuts-web-ide', title: 'Web IDE' do + Web IDE + - if current_user.admin? || Gitlab::Sherlock.enabled? %li.line-separator.hidden-xs - if current_user.admin? |