mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
108869472-modification_for_archive
This commit is contained in:
parent
55c6bac1d8
commit
014c466c47
5 changed files with 24 additions and 17 deletions
|
@ -19,7 +19,7 @@
|
|||
.col-md-3
|
||||
.form-group
|
||||
= label_tag :action
|
||||
= select_tag '[q][event]', options_for_select([['Update', 'update'], ['Destroy', 'destroy']], params[:q][:event]), { include_blank:true, multiple: false, placeholder: t(:choose), class: 'form-control js-combobox' }
|
||||
= select_tag '[q][event]', options_for_select([['Update', 'update'], ['Destroy', 'destroy'], ['Create', 'create']], params[:q][:event]), { include_blank:true, multiple: false, placeholder: t(:choose), class: 'form-control js-combobox' }
|
||||
.row
|
||||
.col-md-3
|
||||
.col-md-3
|
||||
|
@ -55,7 +55,10 @@
|
|||
= t(:action)
|
||||
%tbody
|
||||
- @versions.each do |version|
|
||||
- if domain = version.reify
|
||||
- if version
|
||||
- domain = Domain.new(version.object.to_h)
|
||||
- version.object_changes.to_h.each{|k,v| domain[k]=v.last}
|
||||
|
||||
%tr
|
||||
%td= link_to(domain.name, admin_domain_version_path(version.id))
|
||||
%td
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue