mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
116209751-option_added
This commit is contained in:
parent
6ee076c9a4
commit
a75d8c8407
4 changed files with 23 additions and 0 deletions
|
@ -187,6 +187,12 @@ module Depp
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if domain_params[:verified].present?
|
||||||
|
custom_params[:_anonymus] << {
|
||||||
|
chg: { registrant_verified: 'yes' }
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
if domain_params[:reserved_pw].present?
|
if domain_params[:reserved_pw].present?
|
||||||
custom_params[:_anonymus] << { reserved: { pw: { value: domain_params[:reserved_pw] } } }
|
custom_params[:_anonymus] << { reserved: { pw: { value: domain_params[:reserved_pw] } } }
|
||||||
end
|
end
|
||||||
|
@ -217,6 +223,11 @@ module Depp
|
||||||
chg = [{ registrant: { value: domain_params[:registrant] } }]
|
chg = [{ registrant: { value: domain_params[:registrant] } }]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if domain_params[:verified].present?
|
||||||
|
chg.push({ registrant_verified: 'yes'}) if chg.present?
|
||||||
|
chg = [{ registrant_verified: 'yes'}] if chg.nil?
|
||||||
|
end
|
||||||
|
|
||||||
add_arr = nil if add_arr.none?
|
add_arr = nil if add_arr.none?
|
||||||
rem_arr = nil if rem_arr.none?
|
rem_arr = nil if rem_arr.none?
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,11 @@
|
||||||
= t(:legal_document)
|
= t(:legal_document)
|
||||||
.panel-body
|
.panel-body
|
||||||
.form-group
|
.form-group
|
||||||
|
.col-md-3.control-label
|
||||||
|
= label_tag :verified, t(:verified)
|
||||||
|
.col-md-7
|
||||||
|
= check_box_tag :verified, '1', params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);"
|
||||||
|
|
||||||
.col-md-4.control-label
|
.col-md-4.control-label
|
||||||
= label_tag 'domain[legal_document]', t(:legal_document), class: 'required'
|
= label_tag 'domain[legal_document]', t(:legal_document), class: 'required'
|
||||||
%p.help-block= t(:legal_document_max_size)
|
%p.help-block= t(:legal_document_max_size)
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
= text_field_tag 'domain[registrant]', @domain_params[:registrant], class: "hidden"
|
= text_field_tag 'domain[registrant]', @domain_params[:registrant], class: "hidden"
|
||||||
= text_field_tag 'domain[registrant_helper]', contacts.find_by(code: @domain_params[:registrant]).try(:search_name),
|
= text_field_tag 'domain[registrant_helper]', contacts.find_by(code: @domain_params[:registrant]).try(:search_name),
|
||||||
class: 'form-control', data: {autocomplete: search_contacts_registrar_domains_path}, required: true
|
class: 'form-control', data: {autocomplete: search_contacts_registrar_domains_path}, required: true
|
||||||
|
.form-group
|
||||||
|
.col-md-3.control-label
|
||||||
|
= label_tag :verified, t(:verified)
|
||||||
|
.col-md-7
|
||||||
|
= check_box_tag :verified, '1', params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);"
|
||||||
|
|
||||||
- unless params[:domain_name]
|
- unless params[:domain_name]
|
||||||
.form-group
|
.form-group
|
||||||
|
|
|
@ -941,3 +941,5 @@ en:
|
||||||
edit_pw: 'Edit Pw'
|
edit_pw: 'Edit Pw'
|
||||||
optional: 'Optional'
|
optional: 'Optional'
|
||||||
test_registrar: "Test registrar"
|
test_registrar: "Test registrar"
|
||||||
|
verified_confirm: 'Verified status is for cases when current registrant is the one applying for the update. Legal document signed by the registrant is required. Are you sure this update is properly verified with the registrant?'
|
||||||
|
verified: 'Verified'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue