no solution for support to different checksums with deface for multiple contacts version: we use contact_pro for checksum
This commit is contained in:
parent
8b74373e6a
commit
cbf929021b
@ -2,18 +2,10 @@
|
||||
|
||||
module ContactsForm
|
||||
if defined?(RedmineContacts) && !defined?(RedmineServicedesk)
|
||||
if CONTACTS_VERSION_TYPE.include? 'PRO'
|
||||
Deface::Override.new virtual_path: 'contacts/_form',
|
||||
name: 'contacts-pro-form-hook',
|
||||
insert_bottom: 'div#contact_data',
|
||||
original: 'df6cae24cfd26e5299c45c427fbbd4e5f23c313e',
|
||||
partial: 'hooks/view_contacts_form'
|
||||
else
|
||||
Deface::Override.new virtual_path: 'contacts/_form',
|
||||
name: 'contacts-form-hook',
|
||||
insert_bottom: 'div#contact_data',
|
||||
original: '217049684a0bcd7e404dc6b5b2348aae47ac8a72',
|
||||
partial: 'hooks/view_contacts_form'
|
||||
end
|
||||
Deface::Override.new virtual_path: 'contacts/_form',
|
||||
name: 'contacts-pro-form-hook',
|
||||
insert_bottom: 'div#contact_data',
|
||||
original: 'df6cae24cfd26e5299c45c427fbbd4e5f23c313e',
|
||||
partial: 'hooks/view_contacts_form'
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user