Commit 5155dbd9 authored by Takuya Noguchi's avatar Takuya Noguchi

Remove issuable drag-n-drop and sorting from milestone view completely (!11950)

parent f5d96009
...@@ -6,9 +6,8 @@ ...@@ -6,9 +6,8 @@
- base_url_args = [namespace, project] - base_url_args = [namespace, project]
- issuable_type_args = base_url_args + [issuable_type] - issuable_type_args = base_url_args + [issuable_type]
- issuable_url_args = base_url_args + [issuable] - issuable_url_args = base_url_args + [issuable]
- can_update = can?(current_user, :"update_#{issuable.to_ability_name}", issuable)
%li{ id: dom_id(issuable, 'sortable'), class: "issuable-row #{'is-disabled' unless can_update}", 'data-iid' => issuable.iid, 'data-id' => issuable.id, 'data-url' => polymorphic_path(issuable_url_args) } %li.issuable-row
%span %span
- if show_project_name - if show_project_name
%strong #{project.name} · %strong #{project.name} ·
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment