internetee-registry/app/views/admin/domain_versions/index.haml
2015-01-30 23:28:42 +02:00

31 lines
965 B
Text

.row
.col-sm-6
%h2.text-center-xs
= "#{t(:domain_history)}: #{@domain.name}"
.col-sm-6
%h2.text-right.text-center-xs
%hr
.row
.col-md-12
.table-responsive
%table.table-hover.table-bordered.table-condensed
%thead
%tr
%th{class: 'col-xs-1'}= t(:timestap)
%th{class: 'col-xs-2'}= t(:period)
%th{class: 'col-xs-2'}= t(:owner)
%th{class: 'col-xs-2'}= t(:admin)
%th{class: 'col-xs-2'}= t(:tech)
%th{class: 'col-xs-2'}= t(:nameservers)
%th{class: 'col-xs-2'}= t(:registrar)
%tbody
%tr.small
= render 'admin/domain_versions/version',
domain: @domain, version: @domain.versions.last
- @domain.versions.not_creates.reverse.each do |version|
%tr.small
= render 'admin/domain_versions/version',
domain: version.reify, version: version.previous