mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
added flash notification
This commit is contained in:
parent
89c2ef1cf1
commit
962c343ab7
2 changed files with 4 additions and 0 deletions
|
@ -132,6 +132,7 @@ class Registrar
|
|||
@data = @domain.delete(params[:domain])
|
||||
@results = @data.css('result')
|
||||
if response_ok?
|
||||
flash[:notice] = t('.deleting_request')
|
||||
redirect_to info_registrar_domains_url(domain_name: params[:domain][:name])
|
||||
else
|
||||
params[:domain_name] = params[:domain][:name]
|
||||
|
|
|
@ -16,6 +16,9 @@ en:
|
|||
info:
|
||||
transfer_btn: Transfer
|
||||
|
||||
destroy:
|
||||
deleting_request: Domain deletion request was sent
|
||||
|
||||
search_form:
|
||||
download_btn: Download CSV
|
||||
reset_btn: Reset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue