Merge branch '105361584-contact_view' into staging

This commit is contained in:
Stas 2015-11-13 16:21:09 +02:00
commit 3ab0a49ec5

View file

@ -62,6 +62,10 @@ xml.epp_head do
xml.tag!('contact:authInfo') do xml.tag!('contact:authInfo') do
xml.tag!('contact:pw', @contact.auth_info) xml.tag!('contact:pw', @contact.auth_info)
end end
else
xml.tag!('contact:authInfo') do
xml.tag!('contact:pw', 'No access')
end
end end
# xml << render('/epp/contacts/disclosure_policy') # xml << render('/epp/contacts/disclosure_policy')
end end
@ -73,6 +77,12 @@ xml.epp_head do
type: @contact.ident_type, cc: @contact.ident_country_code) type: @contact.ident_type, cc: @contact.ident_country_code)
end end
end end
else
xml.tag!('extension') do
xml.tag!('eis:extdata', 'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
xml.tag!('eis:ident', 'No access')
end
end
end end
render('epp/shared/trID', builder: xml) render('epp/shared/trID', builder: xml)