summaryrefslogtreecommitdiff
path: root/app/views/shared/_issues.html.haml
diff options
context:
space:
mode:
authorRajat Jain <rjain@gitlab.com>2019-06-26 08:29:23 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-06-26 08:29:23 +0000
commit6f448bd17d2e0a0329146d0f36c3d2b79c48bdc2 (patch)
treefeaefb123c083c0b27e76d557edf9160a3b45d2a /app/views/shared/_issues.html.haml
parent58eae2d39275fa1b4cca5f39ebac922d62047c17 (diff)
downloadgitlab-ce-6f448bd17d2e0a0329146d0f36c3d2b79c48bdc2.tar.gz
Bring Manual Ordering on Issue List
On all the issue lists -- Group, Project and Dashboard -- this change adds a new option for managing the lists. "Manual Ordering" option is added which when flipped on will allow an user to drag and drop issues around to create a relative ordering among them.
Diffstat (limited to 'app/views/shared/_issues.html.haml')
-rw-r--r--app/views/shared/_issues.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_issues.html.haml b/app/views/shared/_issues.html.haml
index 987a5d4f13f..a21dcabb485 100644
--- a/app/views/shared/_issues.html.haml
+++ b/app/views/shared/_issues.html.haml
@@ -1,6 +1,6 @@
- if @issues.to_a.any?
.card.card-small.card-without-border
- %ul.content-list.issues-list.issuable-list
+ %ul.content-list.issues-list.issuable-list{ class: ("manual-ordering" if @sort == 'relative_position'), data: { group_full_path: @group&.full_path } }
= render partial: 'projects/issues/issue', collection: @issues
= paginate @issues, theme: "gitlab"
- else