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

_confirm_fork_modal.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 265396d3d8be9dd0599174c380d761df931f02ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.modal{ data: { qa_selector: 'confirm_fork_modal'}, id: "modal-confirm-fork-#{type}" }
  .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
        %p= _("You're not allowed to %{tag_start}edit%{tag_end} files in this project directly. Please fork this project, make your changes there, and submit a merge request.") % { tag_start: '', tag_end: ''}
      .modal-footer
        = 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