mirror of
https://github.com/internetee/registry.git
synced 2025-07-05 18:53:26 +02:00
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
.row
|
|
.col-sm-6
|
|
%h2.text-center-xs= t('shared.domains')
|
|
.col-sm-6
|
|
%h2.text-right.text-center-xs
|
|
= link_to(t('shared.create_new_contact'), new_client_domain_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'}
|
|
= t('shared.event')
|
|
%th{class: 'col-xs-2'}
|
|
= t('shared.whodunnit')
|
|
%th{class: 'col-xs-2'}
|
|
= t('shared.created_at')
|
|
-#%th{class: 'col-xs-1'}
|
|
= t('shared.item_id')
|
|
=# sort_link(@q, 'email', t('shared.email'))
|
|
%th{class: 'col-xs-1'}
|
|
= t('shared.details')
|
|
|
|
%tbody
|
|
- @versions.each do |x|
|
|
%tr
|
|
%td= x.event
|
|
%td= whodunnit_with_protocol(x.whodunnit)
|
|
%td= l(x.created_at, format: :short)
|
|
-#%td= link_to(t('shared.domain'), client_domain_path(x.item_id))
|
|
%td= link_to(t('shared.details'), client_domain_version_path(x, event: x.event))
|
|
.row
|
|
.col-md-12
|
|
=# paginate @contacts
|