mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 04:58:29 +02:00
Merge pull request #95 from internetee/110412166-registrant_change
110412166 registrant change
This commit is contained in:
commit
028fff88cd
2 changed files with 12 additions and 2 deletions
|
@ -488,6 +488,15 @@ class Epp::Domain < Domain
|
||||||
|
|
||||||
# at[:statuses] += at_add[:domain_statuses_attributes]
|
# at[:statuses] += at_add[:domain_statuses_attributes]
|
||||||
|
|
||||||
|
if registrant_id && registrant.code == frame.css('registrant')
|
||||||
|
|
||||||
|
throw :epp_error, {
|
||||||
|
code: '2305',
|
||||||
|
msg: I18n.t(:contact_already_associated_with_the_domain)
|
||||||
|
}
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
if errors.empty? && verify &&
|
if errors.empty? && verify &&
|
||||||
Setting.request_confrimation_on_registrant_change_enabled &&
|
Setting.request_confrimation_on_registrant_change_enabled &&
|
||||||
frame.css('registrant').present? &&
|
frame.css('registrant').present? &&
|
||||||
|
|
|
@ -538,7 +538,7 @@ en:
|
||||||
admin_menu: Admin
|
admin_menu: Admin
|
||||||
domain_transfer_was_approved: 'Domain transfer was approved, associated contacts were: %{contacts} and registrant was %{registrant}'
|
domain_transfer_was_approved: 'Domain transfer was approved, associated contacts were: %{contacts} and registrant was %{registrant}'
|
||||||
business_registry_service_not_available: "Business Registry service Ärireg is not available"
|
business_registry_service_not_available: "Business Registry service Ärireg is not available"
|
||||||
|
|
||||||
# DEPP
|
# DEPP
|
||||||
activemodel:
|
activemodel:
|
||||||
errors:
|
errors:
|
||||||
|
@ -932,7 +932,8 @@ en:
|
||||||
if_auth_info_is_left_empty_it_will_be_auto_generated: 'If auth info is left empty, it will be auto generated.'
|
if_auth_info_is_left_empty_it_will_be_auto_generated: 'If auth info is left empty, it will be auto generated.'
|
||||||
each_domain_name_must_end_with_colon_sign: 'Each domain name must end with colon (:) sign.'
|
each_domain_name_must_end_with_colon_sign: 'Each domain name must end with colon (:) sign.'
|
||||||
expiration_remind_subject: 'The %{name} domain has expired'
|
expiration_remind_subject: 'The %{name} domain has expired'
|
||||||
|
contact_already_associated_with_the_domain: 'Object association prohibits operation, contact already associated with the domain'
|
||||||
add_reserved_domain: 'Add domain to reserved list'
|
add_reserved_domain: 'Add domain to reserved list'
|
||||||
add_blocked_domain: 'Add domain to blocked list'
|
add_blocked_domain: 'Add domain to blocked list'
|
||||||
edit_pw: 'Edit Pw'
|
edit_pw: 'Edit Pw'
|
||||||
optional: 'Optional'
|
optional: 'Optional'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue