mirror of
https://github.com/internetee/registry.git
synced 2025-07-04 10:13:34 +02:00
39 lines
1.3 KiB
Text
39 lines
1.3 KiB
Text
.row
|
|
.col-sm-6
|
|
%h2.text-center-xs= t('shared.domain_transfers')
|
|
.col-sm-6
|
|
%h2.text-right.text-center-xs
|
|
= link_to(t('shared.request_domain_transfer'), new_client_domain_transfer_path, class: 'btn btn-primary')
|
|
%hr
|
|
.row
|
|
.col-md-12
|
|
.table-responsive
|
|
%table.table.table-hover.table-bordered.table-condensed
|
|
%thead
|
|
%tr
|
|
%th{class: 'col-xs-2'}
|
|
= sort_link(@q, 'domain_name')
|
|
%th{class: 'col-xs-2'}
|
|
= sort_link(@q, 'status')
|
|
%th{class: 'col-xs-2'}
|
|
= sort_link(@q, 'transfer_from', t('shared.transfer_from'))
|
|
%th{class: 'col-xs-2'}
|
|
= sort_link(@q, 'transfer_to', t('shared.transfer_to'))
|
|
%th{class: 'col-xs-2'}=t('shared.actions')
|
|
%tbody
|
|
- @domain_transfers.each do |x|
|
|
%tr
|
|
- if current_registrar == x.domain.registrar
|
|
%td= link_to(x.domain, client_domain_path(x.domain))
|
|
- else
|
|
%td= x.domain
|
|
%td= x.status
|
|
%td= x.transfer_from
|
|
%td= x.transfer_to
|
|
%td
|
|
= link_to(t('shared.details'), [:client, x], class: 'btn btn-xs btn-primary')
|
|
|
|
.row
|
|
.col-md-12
|
|
= paginate @domain_transfers
|
|
|