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

13 lines
793 B
Text
Raw Normal View History

2021-01-03 14:25:43 +05:30
.modal{ data: { qa_selector: 'confirm_fork_modal'}, id: "modal-confirm-fork-#{type}" }
2019-12-21 20:55:43 +05:30
.modal-dialog
.modal-content
.modal-header
%h3.page-title= _('Fork project?')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } ×
.modal-body.p-3
2021-06-08 01:23:25 +05:30
%p= _("You cant %{tag_start}edit%{tag_end} files directly in this project. Fork this project and submit a merge request with your changes.") % { tag_start: '', tag_end: ''}
2019-12-21 20:55:43 +05:30
.modal-footer
2021-04-29 21:17:54 +05:30
= link_to _('Cancel'), '#', class: "btn gl-button btn-default", "data-dismiss" => "modal"
= link_to _('Fork project'), fork_path, class: 'btn gl-button btn-confirm', data: { qa_selector: 'fork_project_button' }, method: :post