mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Pending history and admin controls #2557
This commit is contained in:
parent
6986b7b738
commit
07e4c0cd96
10 changed files with 95 additions and 84 deletions
|
@ -1 +1,8 @@
|
|||
yeah
|
||||
- if (status == DomainStatus::PENDING_UPDATE && f.object.pending_json.present?)
|
||||
= link_to(t(:apply_pending), admin_domain_pending_path(f.object.id, f.object.id),
|
||||
method: :patch, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
||||
= link_to(t(:delete_pending), admin_domain_pending_path(f.object.id, f.object.id),
|
||||
method: :delete, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue