Exclude reg no. and ident country code from WHOIS output for private entity contacts

#266
This commit is contained in:
Artur Beljajev 2016-12-30 12:38:00 +02:00
parent 58fb42d74d
commit 7836e9e244

View file

@ -13,8 +13,10 @@ delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %>
Registrant:
name: <%= json['registrant'] %>
<% if json['registrant_kind'] != 'priv' -%>
org id: <%= json['registrant_reg_no'] %>
country: <%= json['registrant_ident_country_code'] %>
<% end -%>
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
changed: <%= json['registrant_changed'].to_s.tr('T',' ').sub('+', ' +') %>