diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-08-19 17:33:42 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-08-19 17:33:42 +0000 |
commit | 66eb01853a15cf517341e91fdd10f6384fec80de (patch) | |
tree | 2975de292cb6a3ea3f814b3fc1ad37c2dfde2d03 /app/views/projects | |
parent | 725036669cca45df17f1acbb1a45a031a1a84c85 (diff) | |
parent | abdd4ba8c55e34b6d970aea739142d757f7ab459 (diff) | |
download | gitlab-ce-66eb01853a15cf517341e91fdd10f6384fec80de.tar.gz |
Merge branch 'issue-boards-mobile-improvements' into 'master'
Improvements to issue boards on mobile
## What does this MR do?
- Removes the drag handles
- Adds a delay before dragging can start otherwise you can't scroll the page
See merge request !5897
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/boards/components/_board.html.haml | 1 | ||||
-rw-r--r-- | app/views/projects/boards/components/_card.html.haml | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/app/views/projects/boards/components/_board.html.haml b/app/views/projects/boards/components/_board.html.haml index f8ebf397ee2..de53a298f84 100644 --- a/app/views/projects/boards/components/_board.html.haml +++ b/app/views/projects/boards/components/_board.html.haml @@ -11,7 +11,6 @@ .board-inner %header.board-header{ ":class" => "{ 'has-border': list.label }", ":style" => "{ borderTopColor: (list.label ? list.label.color : null) }" } %h3.board-title.js-board-handle{ ":class" => "{ 'user-can-drag': (!disabled && !list.preset) }" } - = icon("align-justify", class: "board-mobile-handle js-board-drag-handle", "v-if" => "(!disabled && !list.preset)") {{ list.title }} %span.pull-right{ "v-if" => "list.type !== 'blank'" } {{ list.issues.length }} diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml index b20c23f6b8e..e8b60b54d80 100644 --- a/app/views/projects/boards/components/_card.html.haml +++ b/app/views/projects/boards/components/_card.html.haml @@ -9,7 +9,6 @@ "track-by" => "id" } %li.card{ ":class" => "{ 'user-can-drag': !disabled }", ":index" => "index" } - = icon("align-justify", class: "board-mobile-handle js-card-drag-handle", "v-if" => "!disabled") %h4.card-title = icon("eye-slash", class: "confidential-icon", "v-if" => "issue.confidential") %a{ ":href" => "issueLinkBase + '/' + issue.id", |