mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
117226457-name_for_contacts
This commit is contained in:
parent
0cd0a2ebae
commit
a82f096fef
2 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,8 @@
|
|||
%th{class: 'col-xs-8'}= t(:id)
|
||||
%tbody
|
||||
- @data.css('contact').each do |x|
|
||||
- registrant = Contact.find_by_code(x.text)
|
||||
%tr
|
||||
%td= x['type']
|
||||
%td= x.text
|
||||
|
||||
%td= registrant.name
|
|
@ -10,8 +10,9 @@
|
|||
%dt= t(:registrar)
|
||||
%dd= @data.css('clID').text
|
||||
|
||||
- registrant = Contact.find_by_code(@data.css('registrant').text)
|
||||
%dt= t(:registrant)
|
||||
%dd= @data.css('registrant').text
|
||||
%dd= "#{registrant.name} (#{@data.css('registrant').text})"
|
||||
|
||||
%dt= t(:registered)
|
||||
%dd= @data.css('crDate').text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue