mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Renamed owner_contact to registrant
This commit is contained in:
parent
92f41ebe0b
commit
8cd3dcf551
21 changed files with 126 additions and 812 deletions
|
@ -1,6 +1,6 @@
|
|||
.row
|
||||
.col-sm-12
|
||||
%h2.text-center-xs= t('domains')
|
||||
%h2.text-center-xs= t(:domains)
|
||||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
|
@ -24,16 +24,16 @@
|
|||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'name')
|
||||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'owner_contact_name', t('owner'))
|
||||
= sort_link(@q, 'registrant_name', t(:registrant))
|
||||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'valid_to', t('valid_to'))
|
||||
= sort_link(@q, 'valid_to', t(:valid_to))
|
||||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'registrar_name', t('registrar'))
|
||||
= sort_link(@q, 'registrar_name', t(:registrar))
|
||||
%tbody
|
||||
- @domains.each do |x|
|
||||
%tr
|
||||
%td= link_to(x, admin_domain_path(x))
|
||||
%td= link_to(x.owner_contact, [:admin, x.owner_contact])
|
||||
%td= link_to(x.registrant, [:admin, x.registrant])
|
||||
%td= l(x.valid_to, format: :short)
|
||||
%td= link_to(x.registrar, admin_registrar_path(x.registrar)) if x.registrar
|
||||
.row
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h3.panel-title= t('owner')
|
||||
%h3.panel-title= t(:registrant)
|
||||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t('name')
|
||||
%dd= link_to(@domain.owner_contact, [:admin, @domain.owner_contact])
|
||||
%dt= t(:name)
|
||||
%dd= link_to(@domain.registrant, [:admin, @domain.registrant])
|
||||
|
||||
%dt= t('code')
|
||||
%dd= @domain.owner_contact_code
|
||||
%dt= t(:code)
|
||||
%dd= @domain.registrant_code
|
||||
|
||||
%dt= t('identity_code')
|
||||
%dd= @domain.owner_contact_ident
|
||||
%dt= t(:identity_code)
|
||||
%dd= @domain.registrant_ident
|
||||
|
||||
%dt= t('email')
|
||||
%dd= @domain.owner_contact_email
|
||||
%dt= t(:email)
|
||||
%dd= @domain.registrant_email
|
||||
|
||||
%dt= t('phone')
|
||||
%dd= @domain.owner_contact_phone
|
||||
%dt= t(:phone)
|
||||
%dd= @domain.registrant_phone
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue