summaryrefslogtreecommitdiff
path: root/app/views/projects/notes/_comment_button.html.haml
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-07 16:24:32 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-07 16:24:32 +0100
commit05339515631d93f0fb8d9526693017af91cbf5d5 (patch)
treeec9c598b235986ae42431d0430cc50e4179285c5 /app/views/projects/notes/_comment_button.html.haml
parentb70d828f836f58aa9bc1af34fb6019857524619f (diff)
downloadgitlab-ce-05339515631d93f0fb8d9526693017af91cbf5d5.tar.gz
Add link to list items
Diffstat (limited to 'app/views/projects/notes/_comment_button.html.haml')
-rw-r--r--app/views/projects/notes/_comment_button.html.haml28
1 files changed, 15 insertions, 13 deletions
diff --git a/app/views/projects/notes/_comment_button.html.haml b/app/views/projects/notes/_comment_button.html.haml
index 8627713fd68..db18322c8eb 100644
--- a/app/views/projects/notes/_comment_button.html.haml
+++ b/app/views/projects/notes/_comment_button.html.haml
@@ -9,20 +9,22 @@
%ul#resolvable-comment-menu.dropdown-menu{ data: { dropdown: true } }
%li#comment.droplab-item-selected{ data: { value: '', 'submit-text' => 'Comment', 'close-text' => "Comment & close #{noteable_name}", 'reopen-text' => "Comment & reopen #{noteable_name}" } }
- = icon('check')
- .description
- %strong Comment
- %p
- Add a general comment to this #{noteable_name}.
+ %a{ href: '#' }
+ = icon('check')
+ .description
+ %strong Comment
+ %p
+ Add a general comment to this #{noteable_name}.
%li.divider
%li#discussion{ data: { value: 'DiscussionNote', 'submit-text' => 'Start discussion', 'close-text' => "Start discussion & close #{noteable_name}", 'reopen-text' => "Start discussion & reopen #{noteable_name}" } }
- = icon('check')
- .description
- %strong Start discussion
- %p
- = succeed '.' do
- Discuss a specific suggestion or question
- - if @note.noteable.supports_resolvable_notes?
- that needs to be resolved
+ %a{ href: '#' }
+ = icon('check')
+ .description
+ %strong Start discussion
+ %p
+ = succeed '.' do
+ Discuss a specific suggestion or question
+ - if @note.noteable.supports_resolvable_notes?
+ that needs to be resolved