#48 project settings
This commit is contained in:
parent
5a1c0ec2d2
commit
c7201e34b1
@ -83,6 +83,15 @@ module RedmineDmsf
|
||||
end
|
||||
end
|
||||
|
||||
def view_issues_edit_notes_bottom_style(context={})
|
||||
if (User.current.pref[:dmsf_attachments_upload_choice] == 'Attachments') ||
|
||||
!allowed_to_attach_documents(context[:container])
|
||||
''
|
||||
else
|
||||
'display: none'
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def allowed_to_attach_documents(container)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user