summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorConstance Okoghenun <constanceokoghenun@gmail.com>2019-01-07 14:41:51 +0100
committerConstance Okoghenun <constanceokoghenun@gmail.com>2019-01-07 14:41:51 +0100
commit172ef22b6e748b3c2638317de0a0b7d974ae6c2f (patch)
treebd0aaccb9cffd0ed11d4f1f9223299b2a9a8c62a /app/views
parent64fcda29f6ed95aa2664f4478b4dc487c3c63459 (diff)
downloadgitlab-ce-172ef22b6e748b3c2638317de0a0b7d974ae6c2f.tar.gz
Cancel button for diff notes
Added "cancel" comment button for inline diff notes for commits
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/notes/_form.html.haml3
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