mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Story#108869472 - contact history uses same pagination what domain history does
This commit is contained in:
parent
97c4bf0097
commit
4b9ba0fe13
3 changed files with 22 additions and 25 deletions
|
@ -96,15 +96,9 @@
|
|||
.panel.panel-default{:style => "min-height:450px;"}
|
||||
%ul.nav.nav-pills.nav-stacked
|
||||
- @versions.each do |vs|
|
||||
- if vs.id == @version.id
|
||||
%li.active
|
||||
= link_to admin_domain_version_path(vs) do
|
||||
= l(vs.created_at, format: :short)
|
||||
= vs.event
|
||||
- else
|
||||
%li
|
||||
= link_to admin_domain_version_path(vs) do
|
||||
= l(vs.created_at, format: :short)
|
||||
= vs.event
|
||||
%li{class: (vs.id == @version.id) && :active}
|
||||
= link_to admin_domain_version_path(vs) do
|
||||
= l(vs.created_at, format: :short)
|
||||
= vs.event
|
||||
%span{:style => "padding-left:10px; position: absolute; bottom: 10px;"}
|
||||
= paginate @versions, theme: :admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue