mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Fix REPP log locale issue
This commit is contained in:
parent
f26dd52fb0
commit
1d9850fb98
4 changed files with 6 additions and 1 deletions
|
@ -77,6 +77,7 @@ module Epp
|
||||||
|
|
||||||
def renew
|
def renew
|
||||||
authorize! :renew, @domain
|
authorize! :renew, @domain
|
||||||
|
@domain.validate_exp_dates(params[:parsed_frame].css('curExpDate').text)
|
||||||
|
|
||||||
registrar_id = current_user.registrar.id
|
registrar_id = current_user.registrar.id
|
||||||
renew_params = ::Deserializers::Xml::Domain.new(params[:parsed_frame],
|
renew_params = ::Deserializers::Xml::Domain.new(params[:parsed_frame],
|
||||||
|
|
|
@ -13,6 +13,8 @@ module Domains
|
||||||
|
|
||||||
errors.add(:domain, I18n.t(:active_price_missing_for_operation_with_domain,
|
errors.add(:domain, I18n.t(:active_price_missing_for_operation_with_domain,
|
||||||
domain: domain.name))
|
domain: domain.name))
|
||||||
|
|
||||||
|
domain.add_epp_error(2104, nil, nil, I18n.t(:active_price_missing_for_this_operation))
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- content_for :actions do
|
- content_for :actions do
|
||||||
= link_to(t(:back), :back, class: 'btn btn-primary')
|
= link_to(t(:back), :back, class: 'btn btn-primary')
|
||||||
= render 'shared/title', name: t(:repp_log)
|
= render 'shared/title', name: t('.title')
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
|
|
@ -4,3 +4,5 @@ en:
|
||||||
index:
|
index:
|
||||||
title: REPP log
|
title: REPP log
|
||||||
reset_btn: Reset
|
reset_btn: Reset
|
||||||
|
show:
|
||||||
|
title: REPP log
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue