Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ide/_show.html.haml')
-rw-r--r--app/views/ide/_show.html.haml15
1 files changed, 6 insertions, 9 deletions
diff --git a/app/views/ide/_show.html.haml b/app/views/ide/_show.html.haml
index 95c15612adf..b18b5f1574b 100644
--- a/app/views/ide/_show.html.haml
+++ b/app/views/ide/_show.html.haml
@@ -1,13 +1,10 @@
-- @body_class = 'ide-layout'
- page_title _('IDE')
-- add_page_specific_style 'page_bundles/build'
-- add_page_specific_style 'page_bundles/ide'
+- unless use_new_web_ide?
+ - add_page_specific_style 'page_bundles/build'
+ - add_page_specific_style 'page_bundles/ide'
-- content_for :prefetch_asset_tags do
- - webpack_preload_asset_tag('monaco')
+ - content_for :prefetch_asset_tags do
+ - webpack_preload_asset_tag('monaco')
-#ide.ide-loading{ data: ide_data }
- .text-center
- = gl_loading_icon(size: 'md')
- %h2.clgray= _('Loading the GitLab IDE...')
+= render partial: 'shared/ide_root', locals: { data: ide_data, loading_text: _('Loading the GitLab IDE...') }