mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Moved force delete button under statuses #2785
This commit is contained in:
parent
d524642742
commit
05bcce0669
5 changed files with 18 additions and 12 deletions
|
@ -122,21 +122,23 @@ class DomainStatus < ActiveRecord::Base
|
|||
class << self
|
||||
def admin_statuses
|
||||
[
|
||||
SERVER_DELETE_PROHIBITED,
|
||||
SERVER_HOLD,
|
||||
SERVER_RENEW_PROHIBITED,
|
||||
SERVER_TRANSFER_PROHIBITED,
|
||||
# sync with admin_statuses_map
|
||||
# SERVER_MANUAL_INZONE,
|
||||
# SERVER_RENEW_PROHIBITED,
|
||||
# SERVER_TRANSFER_PROHIBITED,
|
||||
# SERVER_REGISTRANT_CHANGE_PROHIBITED,
|
||||
# SERVER_ADMIN_CHANGE_PROHIBITED,
|
||||
# SERVER_TECH_CHANGE_PROHIBITED
|
||||
SERVER_DELETE_PROHIBITED,
|
||||
SERVER_UPDATE_PROHIBITED,
|
||||
SERVER_MANUAL_INZONE,
|
||||
SERVER_REGISTRANT_CHANGE_PROHIBITED,
|
||||
SERVER_ADMIN_CHANGE_PROHIBITED,
|
||||
SERVER_TECH_CHANGE_PROHIBITED
|
||||
]
|
||||
end
|
||||
|
||||
def admin_statuses_map
|
||||
[
|
||||
['Hold', SERVER_HOLD],
|
||||
# sync with admin_statuses
|
||||
# ['ManualInzone', SERVER_MANUAL_INZONE],
|
||||
# [''],
|
||||
# ['RenewProhibited', SERVER_RENEW_PROHIBITED],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue