diff options
author | Rajat Jain <rjain@gitlab.com> | 2019-06-26 11:29:23 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-06-26 11:29:23 +0300 |
commit | 6f448bd17d2e0a0329146d0f36c3d2b79c48bdc2 (patch) | |
tree | feaefb123c083c0b27e76d557edf9160a3b45d2a /app/helpers | |
parent | 58eae2d39275fa1b4cca5f39ebac922d62047c17 (diff) |
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/helpers')
-rw-r--r-- | app/helpers/issues_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 59332c0b100..dfadcfc33b2 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -5,6 +5,7 @@ module IssuesHelper classes = ["issue"] classes << "closed" if issue.closed? classes << "today" if issue.today? + classes << "user-can-drag" if @sort == 'relative_position' classes.join(' ') end |