mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
parent
01edbc5710
commit
c14d15d7b7
15 changed files with 26 additions and 19 deletions
|
@ -85,7 +85,7 @@ class WhoisRecord < ActiveRecord::Base
|
|||
|
||||
# update registar triggers when adding new attributes
|
||||
h[:registrar] = domain.registrar.name
|
||||
h[:registrar_url] = domain.registrar.url
|
||||
h[:registrar_website] = domain.registrar.website
|
||||
h[:registrar_phone] = domain.registrar.phone
|
||||
h[:registrar_address] = domain.registrar.address
|
||||
h[:registrar_changed] = domain.registrar.updated_at.try(:to_s, :iso8601)
|
||||
|
|
|
@ -16,8 +16,8 @@ class RegistrarPresenter
|
|||
registrar.phone
|
||||
end
|
||||
|
||||
def url
|
||||
registrar.url
|
||||
def website
|
||||
registrar.website
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -40,7 +40,7 @@ changed: <%= contact['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
|||
<%- end -%>
|
||||
Registrar:
|
||||
name: <%= json['registrar'] %>
|
||||
url: <%= json['registrar_url'] %>
|
||||
url: <%= json['registrar_website'] %>
|
||||
phone: <%= json['registrar_phone'] %>
|
||||
changed: <%= json['registrar_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
<%= registrar.name %><br>
|
||||
Email: <%= registrar.email %><br>
|
||||
Phone: <%= registrar.phone %><br>
|
||||
Website: <%= registrar.url %>
|
||||
Website: <%= registrar.website %>
|
||||
</p>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%= registrar.name %>
|
||||
Email: <%= registrar.email %>
|
||||
Phone: <%= registrar.phone %>
|
||||
Website: <%= registrar.url %>
|
||||
Website: <%= registrar.website %>
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
<%= registrar.name %><br>
|
||||
Email: <%= registrar.email %><br>
|
||||
Telefon: <%= registrar.phone %><br>
|
||||
Veebileht: <%= registrar.url %>
|
||||
Veebileht: <%= registrar.website %>
|
||||
</p>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%= registrar.name %>
|
||||
Email: <%= registrar.email %>
|
||||
Telefon: <%= registrar.phone %>
|
||||
Veebileht: <%= registrar.url %>
|
||||
Veebileht: <%= registrar.website %>
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
<%= registrar.name %><br>
|
||||
Электронная почта: <%= registrar.email %><br>
|
||||
Телефон: <%= registrar.phone %><br>
|
||||
Веб-сайт: <%= registrar.url %>
|
||||
Веб-сайт: <%= registrar.website %>
|
||||
</p>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%= registrar.name %>
|
||||
Электронная почта: <%= registrar.email %>
|
||||
Телефон: <%= registrar.phone %>
|
||||
Веб-сайт: <%= registrar.url %>
|
||||
Веб-сайт: <%= registrar.website %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue