Skip to content

Commit

Permalink
Fix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Beljajev committed May 24, 2018
1 parent 01766d4 commit 554894c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/whois_records/_private_person.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %>
Registrant:
name: <%= ip_in_whitelist ? json['registrant'] : 'Private Person' %>
email: <%= ip_in_whitelist ? json['email'] : 'Not Disclosed' %>
changed: <%= ip_in_whitelist ? json['changed'].to_s.tr('T',' ').sub('+', ' +') : 'Not Disclosed' %>
changed: <%= ip_in_whitelist ? json['registrant_changed'].to_s.tr('T',' ').sub('+', ' +') : 'Not Disclosed' %>

<%- if json['admin_contacts'].present? -%>
Administrative contact:
Expand Down
2 changes: 1 addition & 1 deletion test/integration/whois_records/html_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_show_sensitive_data_of_private_entity_when_ip_is_in_whitelist
Registrant:
name: test
email: owner@privatedomain.test
changed: 2018-04-25 14:10:41 +03:00
changed: 2018-04-25 14:10:39 +03:00
Administrative contact:
name: Admin Contact
Expand Down

0 comments on commit 554894c

Please sign in to comment.