Remove issuable drag-n-drop and sorting from milestone view completely (!11950)
This commit is contained in:
parent
f5d960097f
commit
5155dbd949
1 changed files with 1 additions and 2 deletions
|
@ -6,9 +6,8 @@
|
|||
- base_url_args = [namespace, project]
|
||||
- issuable_type_args = base_url_args + [issuable_type]
|
||||
- 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
|
||||
- if show_project_name
|
||||
%strong #{project.name} ·
|
||||
|
|
Loading…
Reference in a new issue