diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-22 17:20:57 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-22 17:20:57 -0500 |
commit | 6dd13180ccbfecb0038510fa55808dda5952342f (patch) | |
tree | c22ef069b82d2b1879b2151291017c13175649ae /app/views/projects/merge_requests | |
parent | 601c485cbc7d3d5bd37028d93a42e1e662d3709f (diff) | |
parent | 76e276cb433a7023cf8154f9d9555725b3b11e67 (diff) | |
download | gitlab-ce-6dd13180ccbfecb0038510fa55808dda5952342f.tar.gz |
Merge branch 'master' into bootstrap4
Diffstat (limited to 'app/views/projects/merge_requests')
-rw-r--r-- | app/views/projects/merge_requests/conflicts/_commit_stats.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/merge_requests/conflicts/_submit_form.html.haml | 16 |
2 files changed, 14 insertions, 6 deletions
diff --git a/app/views/projects/merge_requests/conflicts/_commit_stats.html.haml b/app/views/projects/merge_requests/conflicts/_commit_stats.html.haml index 964dc40a213..e6205f24ae6 100644 --- a/app/views/projects/merge_requests/conflicts/_commit_stats.html.haml +++ b/app/views/projects/merge_requests/conflicts/_commit_stats.html.haml @@ -11,6 +11,6 @@ Showing %strong.cred {{conflictsCountText}} between - %strong {{conflictsData.sourceBranch}} + %strong.ref-name {{conflictsData.sourceBranch}} and - %strong {{conflictsData.targetBranch}} + %strong.ref-name {{conflictsData.targetBranch}} diff --git a/app/views/projects/merge_requests/conflicts/_submit_form.html.haml b/app/views/projects/merge_requests/conflicts/_submit_form.html.haml index f8109fb52a6..88db69edb9b 100644 --- a/app/views/projects/merge_requests/conflicts/_submit_form.html.haml +++ b/app/views/projects/merge_requests/conflicts/_submit_form.html.haml @@ -1,13 +1,21 @@ +- branch_name = link_to @merge_request.source_branch, project_tree_path(@merge_request.project, @merge_request.source_branch), class: "ref-name" +- translation =_('You can resolve the merge conflict using either the Interactive mode, by choosing %{use_ours} or %{use_theirs} buttons, or by editing the files directly. Commit these changes into %{branch_name}') % { use_ours: '<code>Use Ours</code>', use_theirs: '<code>Use Theirs</code>', branch_name: branch_name } + +%hr .resolve-conflicts-form .form-group.row - %label.col-sm-2.col-form-label{ "for" => "commit-message" } - #{ _('Commit message') } - .col-sm-10 + .col-md-4 + %h4= _('Resolve conflicts on source branch') + .resolve-info + = translation.html_safe + .col-md-8 + %label.label-light{ "for" => "commit-message" } + #{ _('Commit message') } .commit-message-container .max-width-marker %textarea.form-control.js-commit-message#commit-message{ "v-model" => "conflictsData.commitMessage", "rows" => "5" } .form-group.row - .offset-sm-2.col-sm-10 + .col-md-offset-4.col-md-8 .row .col-6 %button.btn.btn-success.js-submit-button{ type: "button", "@click" => "commit()", ":disabled" => "!readyToCommit" } |