mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Story #109367018 - minor bug fixes, missing punctuation, wrong symbol
This commit is contained in:
parent
51a5798914
commit
504c4454c5
2 changed files with 4 additions and 5 deletions
|
@ -47,6 +47,7 @@ class DomainMailModel
|
||||||
def pending_update_expired_notification_for_new_registrant
|
def pending_update_expired_notification_for_new_registrant
|
||||||
registrant_pending
|
registrant_pending
|
||||||
subject(:pending_update_expired_notification_for_new_registrant_subject)
|
subject(:pending_update_expired_notification_for_new_registrant_subject)
|
||||||
|
domain_info
|
||||||
compose
|
compose
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -96,7 +97,7 @@ class DomainMailModel
|
||||||
end
|
end
|
||||||
|
|
||||||
def registrant_pending
|
def registrant_pending
|
||||||
@params[:new_registrant_emai] = @domain.pending_json['new_registrant_email']
|
@params[:recipient] = @domain.pending_json['new_registrant_email']
|
||||||
@params[:new_registrant_name] = @domain.pending_json['new_registrant_name']
|
@params[:new_registrant_name] = @domain.pending_json['new_registrant_name']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -130,8 +131,6 @@ class DomainMailModel
|
||||||
@params
|
@params
|
||||||
end
|
end
|
||||||
|
|
||||||
#private
|
|
||||||
|
|
||||||
def verification_url(path)
|
def verification_url(path)
|
||||||
token = verification_token or return
|
token = verification_token or return
|
||||||
@params[:verification_url] = "#{ENV['registrant_url']}/registrant/#{path}/#{@domain.id}?token=#{token}"
|
@params[:verification_url] = "#{ENV['registrant_url']}/registrant/#{path}/#{@domain.id}?token=#{token}"
|
||||||
|
@ -151,7 +150,7 @@ class DomainMailModel
|
||||||
@params.store attr, @domain.send(attr)
|
@params.store attr, @domain.send(attr)
|
||||||
end
|
end
|
||||||
@params.store :registrant_priv, @domain.registrant.priv?
|
@params.store :registrant_priv, @domain.registrant.priv?
|
||||||
@params.store old_registrant_name, Registrant.find(@domain.registrant_id_was).name
|
@params.store :old_registrant_name, Registrant.find(@domain.registrant_id_was).name
|
||||||
@params
|
@params
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ Registrant change process for the domain <%= @params[:name] %> has been started.
|
||||||
|
|
||||||
New registrant:
|
New registrant:
|
||||||
Name: <%= @params[:registrant_name] %>
|
Name: <%= @params[:registrant_name] %>
|
||||||
<% if @params[:registrant.priv?] %>
|
<% if @params[:registrant_priv] %>
|
||||||
Personal code: <%= @params[:registrant_ident] %>
|
Personal code: <%= @params[:registrant_ident] %>
|
||||||
<% else %>
|
<% else %>
|
||||||
Business Registry code: <%= @params[:registrant_ident] %>
|
Business Registry code: <%= @params[:registrant_ident] %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue