summaryrefslogtreecommitdiff
path: root/app/views/projects/issues
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/projects/issues
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/projects/issues')
-rw-r--r--app/views/projects/issues/_issues.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_issues.html.haml b/app/views/projects/issues/_issues.html.haml
index 6f7713124ac..7d539c9d749 100644
--- a/app/views/projects/issues/_issues.html.haml
+++ b/app/views/projects/issues/_issues.html.haml
@@ -1,6 +1,6 @@
- empty_state_path = local_assigns.fetch(:empty_state_path, 'shared/empty_states/issues')
-%ul.content-list.issues-list.issuable-list
+%ul.content-list.issues-list.issuable-list{ class: ("manual-ordering" if @sort == 'relative_position') }
= render partial: "projects/issues/issue", collection: @issues
- if @issues.blank?
= render empty_state_path