6f448bd17d
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.
9 lines
401 B
Text
9 lines
401 B
Text
- empty_state_path = local_assigns.fetch(:empty_state_path, 'shared/empty_states/issues')
|
|
|
|
%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
|
|
|
|
- if @issues.present?
|
|
= paginate @issues, theme: "gitlab", total_pages: @total_pages
|