Add link to list items

This commit is contained in:
Luke "Jared" Bennett 2017-04-07 16:24:32 +01:00
parent b70d828f83
commit 0533951563
No known key found for this signature in database
GPG key ID: 402ED51FB5D306C2
2 changed files with 28 additions and 15 deletions

View file

@ -333,10 +333,21 @@
}
li {
white-space: nowrap;
cursor: pointer;
padding-top: 6px;
& > a {
margin: 0;
padding: 0;
color: inherit;
border-radius: 0;
&:hover,
&:focus {
background-color: inherit;
color: inherit;
}
}
&:hover,
&:focus {
background-color: $dropdown-hover-color;

View file

@ -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