File: index.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (22 lines) | stat: -rw-r--r-- 881 bytes parent folder | download
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') }