1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
- page_title _("IDE"), @project.full_name
- add_page_specific_style 'page_bundles/web_ide_loader'
// The block below is for the Web IDE
// See: https://gitlab.com/groups/gitlab-org/-/epics/7683
- unless use_new_web_ide?
- @breadcrumb_title = _("IDE")
- @breadcrumb_link = '#'
- @no_container = true
- @content_wrapper_class = 'pb-0'
- add_to_breadcrumbs(s_('Navigation|Your work'), root_path)
- nav 'your_work' # Couldn't get the `project` nav to work easily
- add_page_specific_style 'page_bundles/build'
- add_page_specific_style 'page_bundles/ide'
- add_page_specific_style 'page_bundles/terminal'
- content_for :prefetch_asset_tags do
- webpack_preload_asset_tag('monaco')
- data = ide_data(project: @project, fork_info: @fork_info, params: params)
= render partial: 'shared/ide_root', locals: { data: data, loading_text: _('Loading the Web IDE') }
|