debian-mirror-gitlab/app/views/shared/_web_ide_button.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
268 B
Text
Raw Normal View History

2021-01-03 14:25:43 +05:30
- type = blob ? 'blob' : 'tree'
2022-04-04 11:22:00 +05:30
- button_data = web_ide_button_data({ blob: blob })
- fork_options = fork_modal_options(@project, @ref, @path, blob)
2021-01-03 14:25:43 +05:30
2022-04-04 11:22:00 +05:30
.gl-display-inline-block{ data: { options: button_data.merge(fork_options).to_json }, id: "js-#{type}-web-ide-link" }