Fixed ocale not found translations and copy on email confirmation page
This commit is contained in:
parent
b2cb7e8c1f
commit
79bb86e8c7
@ -1175,7 +1175,7 @@ ul.warnings li,
|
||||
ul {
|
||||
@include _-(display, flex);
|
||||
list-style: none;
|
||||
margin: 2em 0 5em;
|
||||
margin: 2em 2em 5em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@ -3630,7 +3630,7 @@ html[data-ontop] {
|
||||
|
||||
.flow-steps {
|
||||
ul {
|
||||
margin-bottom: 1em;
|
||||
margin: 2em 0 1em 0;
|
||||
}
|
||||
|
||||
.step {
|
||||
|
@ -194,7 +194,7 @@ class ApplicationController < LinguaFrancaApplicationController
|
||||
end
|
||||
|
||||
def locale_not_available!(locale = nil)
|
||||
# set_default_locale
|
||||
set_default_locale
|
||||
params[:_original_action] = params[:action]
|
||||
params[:action] = 'error-locale-not-available'
|
||||
@page_title = 'page_titles.404.Locale_Not_Available'
|
||||
|
@ -531,7 +531,6 @@ class ConferencesController < ApplicationController
|
||||
|
||||
@is_host = @this_conference.host? current_user
|
||||
else
|
||||
@page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
||||
@register_template = :confirm_email
|
||||
end
|
||||
|
||||
@ -880,8 +879,8 @@ class ConferencesController < ApplicationController
|
||||
@entire_page = true
|
||||
get_scheule_data
|
||||
end
|
||||
when :done
|
||||
@amount = ((@registration.registration_fees_paid || 0) * 100).to_i.to_s.gsub(/^(.*)(\d\d)$/, '\1.\2')
|
||||
when :confirm_email
|
||||
@page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user