mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
108869472-template_view_modified
This commit is contained in:
parent
76d5c96612
commit
95dce72bd6
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
- domain = Domain.new(@version.object.to_h)
|
||||
- @version.object_changes.to_h.each{|k,v| domain[k]=v.last}
|
||||
|
||||
- if @version
|
||||
- children = HashWithIndifferentAccess.new(@version.children)
|
||||
- nameservers = Nameserver.where(id: children[:nameservers])
|
||||
|
@ -6,8 +9,6 @@
|
|||
- registrant = Contact.where(id: children[:registrant])
|
||||
- event = @version.event
|
||||
- creator = plain_username(@version.terminator)
|
||||
- domain = Domain.new(@version.object.to_h)
|
||||
- @version.object_changes.to_h.each{|k,v| domain[k]=v.last}
|
||||
|
||||
= render 'shared/title', name: domain.name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue