Add badges to locked domains

This commit is contained in:
Maciej Szlosarczyk 2018-08-09 13:57:31 +03:00
parent 7ce092dff2
commit faeeb55bc7
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
8 changed files with 80 additions and 7 deletions

View file

@ -25,7 +25,8 @@ en:
registry_lock_delete:
btn: Remove registry lock
confirm: Are you sure you want to remove registry lock that was set by registrant?
banner: Domain has a registry lock set by registrant.
confirm: Are you sure you want to remove the registry lock?
success: Registry lock removed
error: Registry lock could not be removed

View file

@ -23,7 +23,9 @@ Rails.application.routes.draw do
namespace :registrant do
post 'auth/eid', to: 'auth#eid'
resources :domains, only: [:index]
resources :domains, only: [:index], param: :uuid do
resource :registry_lock, only: [:create, :destroy]
end
end
end
end