diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-13 17:54:02 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-13 17:54:02 +0200 |
commit | 0de6e2da38058e4628d20cfb06433e873609a70f (patch) | |
tree | a157cc0ec5e48b66690829c8ef30eb8cb371f3ef /app | |
parent | 8781459124b87912b105bab3c2b67c46f5457db9 (diff) | |
download | gitlab-ce-0de6e2da38058e4628d20cfb06433e873609a70f.tar.gz |
Add UI for custom Merge request commit message
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/merge_requests/show/_mr_accept.html.haml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/show/_mr_accept.html.haml b/app/views/projects/merge_requests/show/_mr_accept.html.haml index d210d4667fd..342f2707369 100644 --- a/app/views/projects/merge_requests/show/_mr_accept.html.haml +++ b/app/views/projects/merge_requests/show/_mr_accept.html.haml @@ -13,7 +13,21 @@ If you still want to do it manually - %strong = link_to "click here", "#modal_merge_info", class: "how_to_merge_link vlink", title: "How To Merge", "data-toggle" => "modal" - for instructions + for instructions. + + %br + If you want to modify merge commit message - + %strong + = link_to "click here", "#", class: "js-toggle-visibility-link", title: "Modify merge commit message" + + .js-toggle-visibility-container.hide + .form-group + = label_tag :merge_commit_message, "Commit message", class: 'control-label' + .col-sm-10 + = text_area_tag :merge_commit_message, @merge_request.merge_commit_message, class: "form-control js-gfm-input", rows: 14, required: true + %p.hint + The recommended maximum line length is 52 characters for the first line and 72 characters for all following lines. + .accept-group .pull-left = f.submit "Accept Merge Request", class: "btn btn-create accept_merge_request" |