Registration fixes and improvements
This commit is contained in:
parent
eed9bd8b40
commit
fd729c4a49
67
Rakefile
67
Rakefile
@ -67,28 +67,83 @@ end
|
|||||||
|
|
||||||
task :i18n do
|
task :i18n do
|
||||||
LinguaFranca.test LinguaFranca::TestModes::RECORD do
|
LinguaFranca.test LinguaFranca::TestModes::RECORD do
|
||||||
Rake::Task[:cucumber].execute
|
Rake::Task['cucumber:run'].execute
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
task :css do
|
task :css do
|
||||||
ENV['CSS_TEST'] = '1'
|
ENV['CSS_TEST'] = '1'
|
||||||
Rake::Task[:cucumber].execute
|
Rake::Task['cucumber:run'].execute
|
||||||
ENV['CSS_TEST'] = nil
|
ENV['CSS_TEST'] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
task :a11y do
|
task :a11y do
|
||||||
ENV['TEST_A11Y'] = '1'
|
ENV['TEST_A11Y'] = '1'
|
||||||
Rake::Task[:cucumber].execute
|
Rake::Task['cucumber:run'].execute
|
||||||
ENV['TEST_A11Y'] = nil
|
ENV['TEST_A11Y'] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
task "cucumber:debug" do
|
task "cucumber:debug" do
|
||||||
ENV['TEST_DEBUG'] = '1'
|
ENV['TEST_DEBUG'] = '1'
|
||||||
Rake::Task[:cucumber].execute
|
Rake::Task['cucumber:run'].execute
|
||||||
ENV['TEST_DEBUG'] = nil
|
ENV['TEST_DEBUG'] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
Cucumber::Rake::Task.new(:cucumber) do |t|
|
# Cucumber::Rake::Task.new(:cucumber) do |t|
|
||||||
t.cucumber_opts = "features --format pretty"
|
# t.cucumber_opts = "features --format pretty"
|
||||||
|
# end
|
||||||
|
|
||||||
|
namespace :cucumber do
|
||||||
|
directory 'tmp'
|
||||||
|
@rerun_file = 'tmp/rerun.txt'
|
||||||
|
|
||||||
|
Cucumber::Rake::Task.new(:all) do |task|
|
||||||
|
task.cucumber_opts = "features --format pretty --format rerun --out tmp/rerun.txt"
|
||||||
|
end
|
||||||
|
|
||||||
|
desc 'Run cucumber features'
|
||||||
|
task run: :tmp do
|
||||||
|
retry_on_failure do
|
||||||
|
run_features
|
||||||
|
end
|
||||||
|
clean_up
|
||||||
|
exit @exit_status
|
||||||
|
end
|
||||||
|
|
||||||
|
def retry_on_failure
|
||||||
|
rm_rf @rerun_file
|
||||||
|
@retries = 0
|
||||||
|
begin
|
||||||
|
@exit_status = 0
|
||||||
|
yield
|
||||||
|
rescue SystemExit => e
|
||||||
|
@exit_status = e.status
|
||||||
|
if retry?(exception: e)
|
||||||
|
@retries += 1
|
||||||
|
retry
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def run_features
|
||||||
|
if File.exists? @rerun_file
|
||||||
|
Cucumber::Rake::Task::ForkedCucumberRunner.new(['lib'], Cucumber::BINARY, [
|
||||||
|
'features',
|
||||||
|
'--format', 'pretty',
|
||||||
|
'@tmp/rerun.txt',
|
||||||
|
'--format', 'rerun',
|
||||||
|
'--out', 'tmp/rerun.txt'
|
||||||
|
], true, []).run
|
||||||
|
else
|
||||||
|
Rake::Task['cucumber:all'].invoke
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def retry?(exception: nil)
|
||||||
|
@retries < 2 && !exception.success?
|
||||||
|
end
|
||||||
|
|
||||||
|
def clean_up
|
||||||
|
rm_rf @rerun_file.pathmap("%d")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
@ -228,6 +228,17 @@
|
|||||||
scrollTo.scrollIntoView();
|
scrollTo.scrollIntoView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (response[i].focus) {
|
||||||
|
var focusOn = document.querySelector(response[i].focus);
|
||||||
|
if (focusOn) {
|
||||||
|
if (typeof focusOn.select === "function" && focusOn.value.length) {
|
||||||
|
if (focusOn.type == "text" || focusOn.type == "email" || focusOn.type == "phone" || focusOn.tagName == "TEXTAREA") {
|
||||||
|
focusOn.select();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
focusOn.focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,7 @@ p {
|
|||||||
|
|
||||||
u {
|
u {
|
||||||
@include _(text-decoration-color, rgba($black, 0.5));
|
@include _(text-decoration-color, rgba($black, 0.5));
|
||||||
|
text-decoration-skip: ink;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@ -197,16 +198,20 @@ table, .table {
|
|||||||
width: 0.1rem;
|
width: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&#review tbody th {
|
&#review {
|
||||||
width: auto;
|
margin: 0 auto;
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
&#review .scroller {
|
.table-th {
|
||||||
font-size: 0.75em;
|
width: auto;
|
||||||
max-width: 50em;
|
vertical-align: top;
|
||||||
max-height: 25em;
|
}
|
||||||
overflow: auto;
|
|
||||||
|
.scroller {
|
||||||
|
font-size: 0.75em;
|
||||||
|
max-width: 50em;
|
||||||
|
max-height: 25em;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.admin-edit {
|
&.admin-edit {
|
||||||
@ -491,6 +496,23 @@ body.expanded-element {
|
|||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.responsive-table {
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
.table-td {
|
||||||
|
padding: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-tr, .table-th, .table-td {
|
||||||
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-tr {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
.button {
|
.button {
|
||||||
@include button;
|
@include button;
|
||||||
@ -572,6 +594,7 @@ button,
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 10vw;
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
|
|
||||||
&.during-conference {
|
&.during-conference {
|
||||||
@ -579,7 +602,7 @@ button,
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
border: 0.25em solid rgba($colour-2, 0.5);
|
border: 0.25em solid $selected-colour;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -596,21 +619,26 @@ button,
|
|||||||
|
|
||||||
#main .actions {
|
#main .actions {
|
||||||
margin-top: 4em;
|
margin-top: 4em;
|
||||||
|
|
||||||
&.center {
|
&.center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
display: flex;
|
||||||
|
text-align: right;
|
||||||
|
justify-content: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
button {
|
button, .button {
|
||||||
margin: 0 0.333em;
|
margin: 0.333em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button[value="back"] {
|
button[value="back"] {
|
||||||
float: left;
|
float: left;
|
||||||
|
order: -1;
|
||||||
background-color: $mid-gray;
|
background-color: $mid-gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -631,41 +659,29 @@ button,
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
display: block;
|
display: block;
|
||||||
|
width: 100%;
|
||||||
padding: 0 2em;
|
padding: 0 2em;
|
||||||
border: 0.05em solid $black;
|
border: 0.05em solid $black;
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
box-shadow: 0 0 0 0.25em rgba($colour-2, 0.5);
|
box-shadow: 0 0 0 0.25em $selected-colour;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.registration-step-options {
|
.registration-step-options {
|
||||||
display: table;
|
|
||||||
table-layout: fixed;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
.options {
|
.options {
|
||||||
display: table-row;
|
|
||||||
|
|
||||||
+ fieldset {
|
+ fieldset {
|
||||||
margin: 2em 0;
|
margin: 2em 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
display: table-cell;
|
margin: 0.5em auto;
|
||||||
margin: 0 0.5em;
|
|
||||||
height: 3em;
|
height: 3em;
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.check-box-field {
|
.check-box-field {
|
||||||
@ -680,8 +696,7 @@ button,
|
|||||||
background-color: $white;
|
background-color: $white;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
display: table-cell;
|
width: 100%;
|
||||||
width: 10em;
|
|
||||||
height: 3em;
|
height: 3em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
@ -692,10 +707,10 @@ button,
|
|||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
width: 50%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-left: inherit;
|
border-top: inherit;
|
||||||
background-color: lighten($colour-1, 25%);
|
background-color: lighten($colour-1, 25%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -744,6 +759,12 @@ ul.menu {
|
|||||||
@include font-family(secondary);
|
@include font-family(secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#step-content {
|
||||||
|
form {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#action-message {
|
#action-message {
|
||||||
display: none;
|
display: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -1268,8 +1289,8 @@ input {
|
|||||||
content: '+';
|
content: '+';
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
top: -0.025em;
|
top: -0.125em;
|
||||||
left: 0.175em;
|
left: 0.075em;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
@ -1645,7 +1666,7 @@ fieldset {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
+ button, + .button {
|
+ button, + .button {
|
||||||
margin-left: 0.75em;
|
margin-top: 0.75em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3408,6 +3429,11 @@ body.policy .policy-agreement ul {
|
|||||||
button, .button {
|
button, .button {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
height: 2.6em;
|
height: 2.6em;
|
||||||
|
|
||||||
|
+ button, + .button {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-left: 0.75em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3768,6 +3794,13 @@ body.policy .policy-agreement ul {
|
|||||||
border: 0.1em solid;
|
border: 0.1em solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="radio"] + label {
|
||||||
|
@include after {
|
||||||
|
top: -0.025em;
|
||||||
|
left: 0.175em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.inline {
|
&.inline {
|
||||||
label {
|
label {
|
||||||
float: left;
|
float: left;
|
||||||
@ -3812,7 +3845,71 @@ body.policy .policy-agreement ul {
|
|||||||
@include _(transform, none);
|
@include _(transform, none);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
#main table.calendar {
|
||||||
|
button {
|
||||||
|
height: 4em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#main .registration-step-options {
|
||||||
|
display: table;
|
||||||
|
table-layout: fixed;
|
||||||
|
|
||||||
|
.options {
|
||||||
|
display: table-row;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
display: table-cell;
|
||||||
|
margin: 0 0.5em;
|
||||||
|
width: auto;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
margin-bottom: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-option {
|
||||||
|
margin-top: 1em;
|
||||||
|
|
||||||
|
input {
|
||||||
|
display: table-cell;
|
||||||
|
width: 10em;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 50%;
|
||||||
|
border-top: 0;
|
||||||
|
border-left: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.responsive-table {
|
||||||
|
display: table;
|
||||||
|
|
||||||
|
.table-tr {
|
||||||
|
display: table-row;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-td {
|
||||||
|
padding: 0.25em 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-th, .table-td {
|
||||||
|
display: table-cell;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} // medium
|
||||||
|
|
||||||
@include breakpoint(large) {
|
@include breakpoint(large) {
|
||||||
#main {
|
#main {
|
||||||
@ -3866,6 +3963,12 @@ body.policy .policy-agreement ul {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#main table.calendar {
|
||||||
|
button {
|
||||||
|
height: 5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint(small, medium) {
|
@include breakpoint(small, medium) {
|
||||||
|
@ -24,6 +24,8 @@ $green: $colour-5;
|
|||||||
|
|
||||||
$link-colour: darken($colour-1, 13%);
|
$link-colour: darken($colour-1, 13%);
|
||||||
|
|
||||||
|
$selected-colour: rgba($blue, 0.5);
|
||||||
|
|
||||||
@mixin default-box-shadow($direction: top, $distance: 1, $inset: false, $additional-shadow: false) {
|
@mixin default-box-shadow($direction: top, $distance: 1, $inset: false, $additional-shadow: false) {
|
||||||
@if capable_of(box-shadow) {
|
@if capable_of(box-shadow) {
|
||||||
$offset: 0.2em;
|
$offset: 0.2em;
|
||||||
|
@ -99,6 +99,9 @@ class ConferenceAdministrationController < ApplicationController
|
|||||||
def administrate_description
|
def administrate_description
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def administrate_group_ride
|
||||||
|
end
|
||||||
|
|
||||||
def administrate_poster
|
def administrate_poster
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -798,6 +801,15 @@ class ConferenceAdministrationController < ApplicationController
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def admin_update_group_ride
|
||||||
|
params[:group_ride_info].each do |locale, value|
|
||||||
|
@this_conference.set_column_for_locale(:group_ride_info, locale, html_value(value))
|
||||||
|
end
|
||||||
|
@this_conference.save
|
||||||
|
set_success_message @admin_step
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
def admin_update_poster
|
def admin_update_poster
|
||||||
begin
|
begin
|
||||||
@this_conference.poster = params[:poster]
|
@this_conference.poster = params[:poster]
|
||||||
|
@ -98,7 +98,8 @@ class ConferencesController < ApplicationController
|
|||||||
render json: [{
|
render json: [{
|
||||||
globalSelector: '#step-content',
|
globalSelector: '#step-content',
|
||||||
html: view_context.step_message + render_to_string(partial: "registration_steps/#{@step}"),
|
html: view_context.step_message + render_to_string(partial: "registration_steps/#{@step}"),
|
||||||
scrollTo: '#action-message .message, #step-content'
|
scrollTo: '#action-message .message, #step-content',
|
||||||
|
focus: 'input:not([type="hidden"]), textarea, button.selected'
|
||||||
}]
|
}]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -2,7 +2,7 @@ module AdminHelper
|
|||||||
|
|
||||||
def administration_steps
|
def administration_steps
|
||||||
{
|
{
|
||||||
info: [:administrators, :dates, :description, :poster],
|
info: [:administrators, :dates, :description, :poster, :group_ride],
|
||||||
payment: [:payment_message, :suggested_amounts, :paypal],
|
payment: [:payment_message, :suggested_amounts, :paypal],
|
||||||
registration: [:registration_status, :stats, :registrations, :broadcast],
|
registration: [:registration_status, :stats, :registrations, :broadcast],
|
||||||
housing: [:providers, :housing],
|
housing: [:providers, :housing],
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
= columns(medium: 12) do
|
= columns(medium: 12) do
|
||||||
= registration_step_header_title
|
= registration_step_header_title
|
||||||
- if @info.present?
|
- if @info.present?
|
||||||
= @info
|
= @info.html_safe
|
||||||
- else
|
- else
|
||||||
= registration_step_header_description
|
= registration_step_header_description
|
||||||
= row do
|
= row do
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
= textfield :address, @address, required: true, big: true
|
= textfield :address, @address, required: true, big: true
|
||||||
.multi-field
|
.multi-field
|
||||||
= textfield :city, @city.city, readonly: true
|
= textfield :city, @city.city, readonly: true
|
||||||
= textfield :territory, @city.translate_territory, readonly: true
|
= textfield :territory, @city.translate_territory.html_safe, readonly: true
|
||||||
= textfield :country, @city.translate_country, readonly: true
|
= textfield :country, @city.translate_country.html_safe, readonly: true
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
%ul
|
%ul
|
||||||
- policies.each do |term|
|
- policies.each do |term|
|
||||||
%li
|
%li
|
||||||
- id = "policies[#{term}]"
|
- id = "policies_#{term}"
|
||||||
= check_box_tag(id, 1, (@accepted_policies || {}).include?(term))
|
= check_box_tag("policies[#{term}]", 1, (@accepted_policies || {}).include?(term), id: id)
|
||||||
%label.term{for: id}=_"articles.policy.term.#{term.to_s}", :s, 2
|
%label.term{for: id}=_"articles.policy.term.#{term.to_s}", :s, 2
|
||||||
= columns(medium: 12) do
|
= columns(medium: 12) do
|
||||||
%p=_'articles.conference_registration.paragraphs.Confirm_Agreement', :p
|
%p=_'articles.conference_registration.paragraphs.Confirm_Agreement', :p
|
||||||
|
@ -3,24 +3,24 @@
|
|||||||
= columns(medium: 12) do
|
= columns(medium: 12) do
|
||||||
= save_registration_step do
|
= save_registration_step do
|
||||||
- if @is_attending
|
- if @is_attending
|
||||||
%table#review
|
.table.responsive-table#review
|
||||||
- @step_data.each do |step, data|
|
- @step_data.each do |step, data|
|
||||||
- unless data[:type] == :none
|
- unless data[:type] == :none
|
||||||
%tr
|
.table-tr
|
||||||
%th
|
.table-th
|
||||||
=_"articles.conference_registration.step_names.#{step}"
|
=_"articles.conference_registration.step_names.#{step}"
|
||||||
= button :edit, name: :edit_step, value: step, class: [:unstyled, :edit]
|
= button :edit, name: :edit_step, value: step, class: [:unstyled, :edit]
|
||||||
%td
|
.table-td
|
||||||
- case data[:type]
|
- case data[:type]
|
||||||
- when :bool
|
- when :bool
|
||||||
=_"forms.actions.generic.#{data[:value] ? 'yes' : 'no'}"
|
=_"forms.actions.generic.#{data[:value] ? 'yes' : 'no'}"
|
||||||
- when :list
|
- when :list
|
||||||
= data[:value].map { |item| _"#{data[:key]}.#{item}" }.join(_!(", "))
|
= data[:value].map { |item| _"#{data[:key]}.#{item}" }.join(_!(", ")).html_safe
|
||||||
- when :currency
|
- when :currency
|
||||||
= (number_to_currency data[:value].to_f, unit: '$')
|
= (number_to_currency data[:value].to_f, unit: '$')
|
||||||
=_!(data[:currency].to_s).html_safe
|
=_!(data[:currency].to_s).html_safe
|
||||||
- when :date
|
- when :date
|
||||||
= date(data[:value].to_date, :long)
|
= date(data[:value].to_date, :long).html_safe
|
||||||
- when :enum
|
- when :enum
|
||||||
=_("#{data[:key] || ('forms.labels.generic.' + step.to_s + '.')}#{data[:value]}")
|
=_("#{data[:key] || ('forms.labels.generic.' + step.to_s + '.')}#{data[:value]}")
|
||||||
- when :html
|
- when :html
|
||||||
@ -29,7 +29,7 @@
|
|||||||
- if data[:key].present?
|
- if data[:key].present?
|
||||||
=_"#{data[:key]}.#{data[:value]}"
|
=_"#{data[:key]}.#{data[:value]}"
|
||||||
- else
|
- else
|
||||||
= data[:value]
|
= data[:value].to_s.html_safe
|
||||||
- else
|
- else
|
||||||
%p.centered=_'articles.conference_registration.paragraphs.registration_cancelled', :p
|
%p.centered=_'articles.conference_registration.paragraphs.registration_cancelled', :p
|
||||||
- if @allow_cancel_attendance
|
- if @allow_cancel_attendance
|
||||||
@ -43,5 +43,6 @@
|
|||||||
%h3=_'articles.workshops.headings.Workshops', :t
|
%h3=_'articles.workshops.headings.Workshops', :t
|
||||||
%p=_'articles.conference_registration.paragraphs.workshops', :p
|
%p=_'articles.conference_registration.paragraphs.workshops', :p
|
||||||
.actions.centered
|
.actions.centered
|
||||||
= link_to (_'articles.conference_registration.actions.View_Workshops'), workshops_path(@this_conference), class: :button
|
.buttons
|
||||||
= link_to (_'actions.workshops.create'), create_workshop_path(@this_conference), class: [:button, :modify]
|
= link_to (_'articles.conference_registration.actions.View_Workshops'), workshops_path(@this_conference), class: :button
|
||||||
|
= link_to (_'actions.workshops.create'), create_workshop_path(@this_conference), class: [:button, :modify]
|
@ -1234,6 +1234,7 @@ en:
|
|||||||
administrators: Error updating organizations
|
administrators: Error updating organizations
|
||||||
dates: Error updating dates
|
dates: Error updating dates
|
||||||
description: Error saving your conference description
|
description: Error saving your conference description
|
||||||
|
group_ride: Error saving your group ride info
|
||||||
poster: An error occurred uploading your conference poster
|
poster: An error occurred uploading your conference poster
|
||||||
payment_message: An error occurred saving your the payment message
|
payment_message: An error occurred saving your the payment message
|
||||||
suggested_amounts: An error occurred saving your payment amounts
|
suggested_amounts: An error occurred saving your payment amounts
|
||||||
@ -1278,6 +1279,7 @@ en:
|
|||||||
dates: Conference dates updated successfully
|
dates: Conference dates updated successfully
|
||||||
description: Conference description updated successfully
|
description: Conference description updated successfully
|
||||||
poster: Conference poster uploaded
|
poster: Conference poster uploaded
|
||||||
|
group_ride: Group ride info saved
|
||||||
payment_message: Your payment message has been updated
|
payment_message: Your payment message has been updated
|
||||||
suggested_amounts: Your suggested payment amounts have been updated
|
suggested_amounts: Your suggested payment amounts have been updated
|
||||||
paypal: Your paypal information has been updated
|
paypal: Your paypal information has been updated
|
||||||
@ -1467,6 +1469,7 @@ en:
|
|||||||
administrators: Administrators and Organizations
|
administrators: Administrators and Organizations
|
||||||
description: Description
|
description: Description
|
||||||
poster: Poster
|
poster: Poster
|
||||||
|
group_ride: Group Ride
|
||||||
Host_Organizations: Host Organizations
|
Host_Organizations: Host Organizations
|
||||||
External_Administrators: External Administrators
|
External_Administrators: External Administrators
|
||||||
description: These are the basic details about your conference that you will
|
description: These are the basic details about your conference that you will
|
||||||
@ -1476,6 +1479,7 @@ en:
|
|||||||
dates: Set your conference start and end dates
|
dates: Set your conference start and end dates
|
||||||
description: Modify the text that is displayed on the front page
|
description: Modify the text that is displayed on the front page
|
||||||
poster: Upload your conference poster
|
poster: Upload your conference poster
|
||||||
|
group_ride: Will you be having a group ride before or after the conference? Describe it here.
|
||||||
administrators: Set the conference host organizations and other members
|
administrators: Set the conference host organizations and other members
|
||||||
who have access to these administration tools
|
who have access to these administration tools
|
||||||
Host_Organizations: Select all organizations from known organizations in
|
Host_Organizations: Select all organizations from known organizations in
|
||||||
@ -1736,6 +1740,7 @@ en:
|
|||||||
admin:
|
admin:
|
||||||
edit:
|
edit:
|
||||||
info: Info
|
info: Info
|
||||||
|
group_ride: Group ride description
|
||||||
companion: Companion
|
companion: Companion
|
||||||
paragraphs:
|
paragraphs:
|
||||||
group_ride: There will be a group ride before the conference, do you plan to attend?
|
group_ride: There will be a group ride before the conference, do you plan to attend?
|
||||||
@ -1876,6 +1881,7 @@ en:
|
|||||||
admin:
|
admin:
|
||||||
edit:
|
edit:
|
||||||
info: This is the copy that is displayed on the front page of the site.
|
info: This is the copy that is displayed on the front page of the site.
|
||||||
|
group_ride: Describe your group ride. This info may be used on the conference description, emails, or on the registration form.
|
||||||
schedule:
|
schedule:
|
||||||
published: Your scheulde is currently published and viewable on the front-page.
|
published: Your scheulde is currently published and viewable on the front-page.
|
||||||
Un-publishing the schedule will remove it from the front-page and show
|
Un-publishing the schedule will remove it from the front-page and show
|
||||||
@ -2072,7 +2078,7 @@ en:
|
|||||||
one: You and one other are interested in this workshop
|
one: You and one other are interested in this workshop
|
||||||
other: You and %{count} others are interested in this workshop
|
other: You and %{count} others are interested in this workshop
|
||||||
zero: You are interested in this workshop
|
zero: You are interested in this workshop
|
||||||
read_more: More info
|
read_more: Details
|
||||||
user_settings:
|
user_settings:
|
||||||
headings:
|
headings:
|
||||||
Your_Account: Account Settings
|
Your_Account: Account Settings
|
||||||
@ -2182,7 +2188,7 @@ en:
|
|||||||
'yes': 'Yes'
|
'yes': 'Yes'
|
||||||
'no': 'No'
|
'no': 'No'
|
||||||
maybe: Maybe
|
maybe: Maybe
|
||||||
review: Complete
|
review: Review
|
||||||
back: Back
|
back: Back
|
||||||
upload: Upload
|
upload: Upload
|
||||||
select_file: Select a file
|
select_file: Select a file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user