mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Merge branch 'master' of github.com:internetee/registry
This commit is contained in:
commit
9519538744
7 changed files with 60 additions and 8 deletions
|
@ -13,3 +13,7 @@
|
|||
.col-md-6= render 'admin/contacts/partials/address'
|
||||
.row
|
||||
.col-md-12= render 'client/contacts/partials/domains'
|
||||
|
||||
- if @contact.versions.present?
|
||||
= render 'client/shared/versions', versions: @contact.versions
|
||||
|
||||
|
|
|
@ -21,3 +21,7 @@
|
|||
.col-md-12= render 'admin/domains/partials/nameservers'
|
||||
.row
|
||||
.col-md-12= render 'admin/domains/partials/dnskeys'
|
||||
|
||||
- if @domain.versions.present?
|
||||
= render 'client/shared/versions', versions: @domain.versions
|
||||
|
||||
|
|
24
app/views/client/shared/_versions.haml
Normal file
24
app/views/client/shared/_versions.haml
Normal file
|
@ -0,0 +1,24 @@
|
|||
.row
|
||||
.col-md-12
|
||||
#nameservers.panel{ class: 'panel-default' }
|
||||
.panel-heading.clearfix
|
||||
= t('shared.history')
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
%tr
|
||||
%th
|
||||
=t('shared.whodunnit')
|
||||
%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