diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-05 16:17:03 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-07 09:15:26 +0100 |
commit | 05e8404b700decf7ebff2e5a4e3c9cec6cc609f4 (patch) | |
tree | e33745dc8217028b32acb24edf17007a0d6d6b59 /app/views | |
parent | 6b3e3aeb9e6b78ade960a4fad1da906fa023cd5e (diff) | |
download | gitlab-ce-05e8404b700decf7ebff2e5a4e3c9cec6cc609f4.tar.gz |
Fixed issue with dragging opening the issue sidebar
Added indicator when issue detail is visible
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/boards/components/_card.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml index 71f64d7827c..d466165816f 100644 --- a/app/views/projects/boards/components/_card.html.haml +++ b/app/views/projects/boards/components/_card.html.haml @@ -7,9 +7,11 @@ ":issue-link-base" => "issueLinkBase", ":disabled" => "disabled", "track-by" => "id" } - %li.card{ ":class" => "{ 'user-can-drag': !disabled && issue.id, 'is-disabled': disabled || !issue.id }", + %li.card{ ":class" => "{ 'user-can-drag': !disabled && issue.id, 'is-disabled': disabled || !issue.id, 'is-active': issueDetailVisible }", ":index" => "index", - "@click" => "showIssue" } + "@mousedown" => "mouseDown", + "@mouseMove" => "mouseMove", + "@mouseup" => "showIssue" } %h4.card-title = icon("eye-slash", class: "confidential-icon", "v-if" => "issue.confidential") %a{ ":href" => "issueLinkBase + '/' + issue.id", |