Edit must be enabled if the document is unlockable
This commit is contained in:
parent
1fd00542f3
commit
e6413454e0
@ -22,7 +22,7 @@
|
||||
|
||||
<li>
|
||||
<%= context_menu_link l(:button_edit), dmsf_file_path(id: dmsf_file), class: 'icon icon-edit',
|
||||
disabled: !allowed || locked %>
|
||||
disabled: !allowed || (locked && !unlockable) %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to "#{l(:button_copy)}/#{l(:button_move)}", copy_file_path(id: dmsf_file),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user