diff options
author | Constance Okoghenun <constanceokoghenun@gmail.com> | 2019-01-07 14:41:51 +0100 |
---|---|---|
committer | Constance Okoghenun <constanceokoghenun@gmail.com> | 2019-01-07 14:41:51 +0100 |
commit | 172ef22b6e748b3c2638317de0a0b7d974ae6c2f (patch) | |
tree | bd0aaccb9cffd0ed11d4f1f9223299b2a9a8c62a /app/views/shared/notes | |
parent | 64fcda29f6ed95aa2664f4478b4dc487c3c63459 (diff) | |
download | gitlab-ce-172ef22b6e748b3c2638317de0a0b7d974ae6c2f.tar.gz |
Cancel button for diff notes
Added "cancel" comment button for inline diff notes for commits
Diffstat (limited to 'app/views/shared/notes')
-rw-r--r-- | app/views/shared/notes/_form.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/notes/_form.html.haml b/app/views/shared/notes/_form.html.haml index d3f1a9c9704..493c6241257 100644 --- a/app/views/shared/notes/_form.html.haml +++ b/app/views/shared/notes/_form.html.haml @@ -39,3 +39,6 @@ = render partial: 'shared/notes/comment_button' = yield(:note_actions) + + %a.btn.btn-cancel.js-close-discussion-note-form.hide{ role: "button", data: {cancel_text: "Cancel" } } + Cancel |