Commit 05339515 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Add link to list items

parent b70d828f
...@@ -333,10 +333,21 @@ ...@@ -333,10 +333,21 @@
} }
li { li {
white-space: nowrap;
cursor: pointer;
padding-top: 6px; padding-top: 6px;
& > a {
margin: 0;
padding: 0;
color: inherit;
border-radius: 0;
&:hover,
&:focus {
background-color: inherit;
color: inherit;
}
}
&:hover, &:hover,
&:focus { &:focus {
background-color: $dropdown-hover-color; background-color: $dropdown-hover-color;
......
...@@ -9,20 +9,22 @@ ...@@ -9,20 +9,22 @@
%ul#resolvable-comment-menu.dropdown-menu{ data: { dropdown: true } } %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}" } } %li#comment.droplab-item-selected{ data: { value: '', 'submit-text' => 'Comment', 'close-text' => "Comment & close #{noteable_name}", 'reopen-text' => "Comment & reopen #{noteable_name}" } }
= icon('check') %a{ href: '#' }
.description = icon('check')
%strong Comment .description
%p %strong Comment
Add a general comment to this #{noteable_name}. %p
Add a general comment to this #{noteable_name}.
%li.divider %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}" } } %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') %a{ href: '#' }
.description = icon('check')
%strong Start discussion .description
%p %strong Start discussion
= succeed '.' do %p
Discuss a specific suggestion or question = succeed '.' do
- if @note.noteable.supports_resolvable_notes? Discuss a specific suggestion or question
that needs to be resolved - if @note.noteable.supports_resolvable_notes?
that needs to be resolved
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment