mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
Story#115762063 - add links to versions list
This commit is contained in:
parent
028aa31232
commit
92b64d6268
2 changed files with 29 additions and 24 deletions
|
@ -31,7 +31,7 @@
|
||||||
%br
|
%br
|
||||||
= creator
|
= creator
|
||||||
|
|
||||||
%td
|
%td{class: version && version.object_changes.to_h["statuses"] && "warning"}
|
||||||
%p
|
%p
|
||||||
- if domain.statuses.present?
|
- if domain.statuses.present?
|
||||||
- domain.statuses.each do |s|
|
- domain.statuses.each do |s|
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
%p
|
%p
|
||||||
= link_to t(:pending_epp), '#', class: 'js-pending-toggle'
|
= link_to t(:pending_epp), '#', class: 'js-pending-toggle'
|
||||||
|
|
||||||
%td
|
%td{class: version && version.object_changes.to_h.slice("period", "period_unit", "valid_from", "valid_to").any? && "warning"}
|
||||||
%p
|
%p
|
||||||
= "#{domain.period}#{domain.period_unit}"
|
= "#{domain.period}#{domain.period_unit}"
|
||||||
%br
|
%br
|
||||||
|
@ -56,6 +56,7 @@
|
||||||
|
|
||||||
%td
|
%td
|
||||||
- Array(registrant).each do |r|
|
- Array(registrant).each do |r|
|
||||||
|
= link_to admin_contact_path(r.id), target: "contact_#{r.id}" do
|
||||||
%p
|
%p
|
||||||
= r[:name]
|
= r[:name]
|
||||||
= r[:phone]
|
= r[:phone]
|
||||||
|
@ -65,6 +66,7 @@
|
||||||
|
|
||||||
%td
|
%td
|
||||||
- Array(admin_contacts).each do |ac|
|
- Array(admin_contacts).each do |ac|
|
||||||
|
= link_to admin_contact_path(ac.id), target: "contact_#{ac.id}" do
|
||||||
%p
|
%p
|
||||||
= ac[:name]
|
= ac[:name]
|
||||||
= ac[:phone]
|
= ac[:phone]
|
||||||
|
@ -74,6 +76,7 @@
|
||||||
|
|
||||||
%td
|
%td
|
||||||
- Array(tech_contacts).each do |tc|
|
- Array(tech_contacts).each do |tc|
|
||||||
|
= link_to admin_contact_path(tc.id), target: "contact_#{tc.id}" do
|
||||||
%p
|
%p
|
||||||
= tc[:name]
|
= tc[:name]
|
||||||
= tc[:phone]
|
= tc[:phone]
|
||||||
|
@ -91,8 +94,10 @@
|
||||||
%br
|
%br
|
||||||
|
|
||||||
%td
|
%td
|
||||||
|
- if domain.registrar
|
||||||
%p
|
%p
|
||||||
= domain.registrar.name if domain.registrar
|
= link_to admin_registrar_path(domain.registrar), target: "registrar_#{domain.registrar.id}" do
|
||||||
|
= domain.registrar.name
|
||||||
|
|
||||||
- if domain.pending_json.present?
|
- if domain.pending_json.present?
|
||||||
%tr.js-pending{ style: 'display: none;' }
|
%tr.js-pending{ style: 'display: none;' }
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
.table-responsive
|
.table-responsive
|
||||||
%table.table-hover.table-bordered.table-condensed
|
%table.table.table-bordered.table-condensed
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
%th{class: 'col-xs-1'}= t(:timestap)
|
%th{class: 'col-xs-1'}= t(:timestap)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue