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

_web_ide_button.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 75f5b8647f22ef95b70d4755c7e9a356578a17f6 (plain)
1
2
3
4
5
6
7
8
9
10
- type = blob ? 'blob' : 'tree'

.d-inline-block{ data: { options: web_ide_button_data(blob: blob).to_json }, id: "js-#{type}-web-ide-link" }

- if show_edit_button?
  = render 'shared/confirm_fork_modal', fork_path: fork_and_edit_path(@project, @ref, @path), type: 'edit'
- if show_web_ide_button?
  = render 'shared/confirm_fork_modal', fork_path: ide_fork_and_edit_path(@project, @ref, @path), type: 'webide'
- if show_gitpod_button?
  = render 'shared/gitpod/enable_gitpod_modal'