Merge branch '105361584-contact_view' into staging

This commit is contained in:
Stas 2015-11-13 16:41:42 +02:00
commit 27955690d6
2 changed files with 7 additions and 8 deletions

View file

@ -24,7 +24,12 @@ module ApplicationHelper
when 'birthday'
"#{ident} [#{ident_type}]"
else
if ident
"#{ident} [#{ident_country_code} #{ident_type}]"
else
"[No access]"
end
end
end

View file

@ -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)