mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Client: Domain history in domains_list#show
This commit is contained in:
parent
d82479485c
commit
f77daf2c6d
2 changed files with 23 additions and 16 deletions
|
@ -21,3 +21,7 @@
|
||||||
.col-md-12= render 'admin/domains/partials/nameservers'
|
.col-md-12= render 'admin/domains/partials/nameservers'
|
||||||
.row
|
.row
|
||||||
.col-md-12= render 'admin/domains/partials/dnskeys'
|
.col-md-12= render 'admin/domains/partials/dnskeys'
|
||||||
|
|
||||||
|
- if @domain.versions.present?
|
||||||
|
= render 'client/shared/versions', versions: @domain.versions
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,24 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
.table-responsive
|
#nameservers.panel{ class: 'panel-default' }
|
||||||
%table.table.table-hover.table-bordered.table-condensed
|
.panel-heading.clearfix
|
||||||
%thead
|
= t('shared.history')
|
||||||
%tr
|
.table-responsive
|
||||||
%th
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
=t('shared.whodunnit')
|
%thead
|
||||||
%th
|
|
||||||
=t('shared.event')
|
|
||||||
%th
|
|
||||||
=t('shared.created_at')
|
|
||||||
|
|
||||||
%tbody
|
|
||||||
-versions.each do |version|
|
|
||||||
%tr
|
%tr
|
||||||
%td= whodunnit_with_protocol(version.whodunnit)
|
%th
|
||||||
%td= version.event
|
=t('shared.whodunnit')
|
||||||
%td= version.created_at
|
%th
|
||||||
|
=t('shared.event')
|
||||||
|
%th
|
||||||
|
=t('shared.created_at')
|
||||||
|
|
||||||
|
%tbody
|
||||||
|
-versions.each do |version|
|
||||||
|
%tr
|
||||||
|
%td= whodunnit_with_protocol(version.whodunnit)
|
||||||
|
%td= version.event
|
||||||
|
%td= version.created_at
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue