mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
105361584-ident changes
This commit is contained in:
parent
be64143db6
commit
71ea9dd961
2 changed files with 7 additions and 8 deletions
|
@ -23,8 +23,13 @@ module ApplicationHelper
|
|||
case ident_type
|
||||
when 'birthday'
|
||||
"#{ident} [#{ident_type}]"
|
||||
else
|
||||
"#{ident} [#{ident_country_code} #{ident_type}]"
|
||||
else
|
||||
if ident
|
||||
"#{ident} [#{ident_country_code} #{ident_type}]"
|
||||
else
|
||||
"[No access]"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -77,12 +77,6 @@ xml.epp_head do
|
|||
type: @contact.ident_type, cc: @contact.ident_country_code)
|
||||
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
|
||||
|
||||
render('epp/shared/trID', builder: xml)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue