mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Client: Show contact history in contact_list#show
This commit is contained in:
parent
bb6afc7e87
commit
6419aef849
2 changed files with 25 additions and 0 deletions
21
app/views/client/shared/_versions.haml
Normal file
21
app/views/client/shared/_versions.haml
Normal file
|
@ -0,0 +1,21 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.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