mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
story#115762063 - render in domain history publickey's only meaning numbers
This commit is contained in:
parent
3052e3dc16
commit
d5da0f8881
1 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
- if @version
|
- if @version
|
||||||
- children = HashWithIndifferentAccess.new(@version.children)
|
- children = HashWithIndifferentAccess.new(@version.children)
|
||||||
- nameservers = Nameserver.all_versions_for(children[:nameservers], @version.created_at)
|
- nameservers = Nameserver.all_versions_for(children[:nameservers], @version.created_at)
|
||||||
|
- dnskeys = Dnskey.all_versions_for(children[:dnskeys], @version.created_at)
|
||||||
- tech_contacts = Contact.all_versions_for(children[:tech_contacts], @version.created_at)
|
- tech_contacts = Contact.all_versions_for(children[:tech_contacts], @version.created_at)
|
||||||
- admin_contacts = Contact.all_versions_for(children[:admin_contacts], @version.created_at)
|
- admin_contacts = Contact.all_versions_for(children[:admin_contacts], @version.created_at)
|
||||||
- registrant = Contact.all_versions_for(children[:registrant], @version.created_at)
|
- registrant = Contact.all_versions_for(children[:registrant], @version.created_at)
|
||||||
|
@ -72,6 +73,15 @@
|
||||||
= ns[:ipv6]
|
= ns[:ipv6]
|
||||||
%br
|
%br
|
||||||
|
|
||||||
|
%dt= t(:dnskeys)
|
||||||
|
%dd
|
||||||
|
- dnskeys.each do |ns|
|
||||||
|
= ns[:flags]
|
||||||
|
= ns[:protocol]
|
||||||
|
= ns[:alg]
|
||||||
|
= ns[:public_key].to_s[-20,20]
|
||||||
|
%br
|
||||||
|
|
||||||
%dt= t(:registrar)
|
%dt= t(:registrar)
|
||||||
%dd{class: changing_css_class(@version,"registrar_id")}
|
%dd{class: changing_css_class(@version,"registrar_id")}
|
||||||
= link_to admin_registrar_path(domain.registrar), target: "registrar_#{domain.registrar.id}" do
|
= link_to admin_registrar_path(domain.registrar), target: "registrar_#{domain.registrar.id}" do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue