Domain history to admin, added deleted domains info

This commit is contained in:
Andres Keskküla 2014-11-12 16:05:05 +02:00
parent c64fa8c132
commit c49ec2b1c6
13 changed files with 80 additions and 245 deletions

View file

@ -29,6 +29,7 @@
= sort_link(@q, 'owner_contact_name', t('shared.owner'))
%th{class: 'col-xs-2'}
= sort_link(@q, 'valid_to', t('shared.valid_to'))
%th{class: 'col-xs-1'}= t('shared.history')
%tbody
- @domains.each do |x|
%tr
@ -36,6 +37,7 @@
%td= link_to(x.registrar, root_path) if x.registrar
%td= link_to(x.owner_contact, [:admin, x.owner_contact])
%td= l(x.valid_to, format: :short)
%td= button_to(t(:'shared.history'), admin_domain_version_path(x.id), method: :get)
.row
.col-md-12
= paginate @domains