mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Admin pendings refactored, added delete pending managament #2785
This commit is contained in:
parent
07e4c0cd96
commit
714a36f34c
11 changed files with 62 additions and 46 deletions
|
@ -31,14 +31,6 @@
|
|||
%br
|
||||
= creator
|
||||
|
||||
%td
|
||||
%p
|
||||
= "#{domain.period}#{domain.period_unit}"
|
||||
%br
|
||||
= "#{l(domain.valid_from, format: :date)}"
|
||||
%br
|
||||
= "#{l(domain.valid_to, format: :date)}"
|
||||
|
||||
%td
|
||||
%p
|
||||
- domain.statuses.each do |s|
|
||||
|
@ -52,6 +44,14 @@
|
|||
%p
|
||||
= link_to t(:pending_epp), '#', class: 'js-pending-toggle'
|
||||
|
||||
%td
|
||||
%p
|
||||
= "#{domain.period}#{domain.period_unit}"
|
||||
%br
|
||||
= "#{l(domain.valid_from, format: :date)}"
|
||||
%br
|
||||
= "#{l(domain.valid_to, format: :date)}"
|
||||
|
||||
%td
|
||||
- registrant.each do |r|
|
||||
%p
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
%thead
|
||||
%tr
|
||||
%th{class: 'col-xs-1'}= t(:timestap)
|
||||
%th{class: 'col-xs-1'}= t(:period)
|
||||
%th{class: 'col-xs-2'}= t(:statuses)
|
||||
%th{class: 'col-xs-1'}= t(:period)
|
||||
%th{class: 'col-xs-2'}= t(:registrant)
|
||||
%th{class: 'col-xs-2'}= t(:admin)
|
||||
%th{class: 'col-xs-2'}= t(:tech)
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
-# .row
|
||||
-# .col-sm-12
|
||||
-# %h2.text-center-xs= t(:domains)
|
||||
-# %hr
|
||||
-# .row
|
||||
-# .col-md-12
|
||||
-# .table-responsive
|
||||
-# %table.table.table-hover.table-bordered.table-condensed
|
||||
-# %thead
|
||||
-# %tr
|
||||
-# %th{class: 'col-xs-1'}
|
||||
-# = t(:name)
|
||||
-# %th{class: 'col-xs-1'}
|
||||
-# = sort_link(@q, 'whodunnit')
|
||||
-# %th{class: 'col-xs-1'}
|
||||
-# = sort_link(@q, 'created_at')
|
||||
|
||||
-# %tbody
|
||||
-# - @domains.each do |domain|
|
||||
-# - obj = domain.reify
|
||||
-# %tr
|
||||
-# %td= link_to(obj.name, admin_domain_version_path(obj))
|
||||
-# %td= whodunnit_with_protocol(domain.whodunnit) unless domain.whodunnit.nil?
|
||||
-# %td= l(obj.created_at, format: :short)
|
||||
|
||||
-# .row
|
||||
-# .col-md-12
|
||||
-# = paginate @domains
|
Loading…
Add table
Add a link
Reference in a new issue