Browse Source

Registration thank you email and proposed workshops on front page

development
Godwin 9 years ago
parent
commit
a0e8563d9d
  1. 16
      app/assets/stylesheets/_application.scss
  2. 8
      app/controllers/conferences_controller.rb
  3. 12
      app/mailers/user_mailer.rb
  4. 3
      app/models/conference.rb
  5. 11
      app/views/application/home.html.haml
  6. 4
      app/views/user_mailer/registration_confirmation.html.haml
  7. 5
      app/views/user_mailer/registration_confirmation.text.haml
  8. 6
      config/locales/data/html_records/Broadcast-message---1.html
  9. 6
      config/locales/data/html_records/Broadcast-message--.html
  10. 20
      config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html
  11. 6
      config/locales/data/html_records/Create-workshop---1.html
  12. 64
      config/locales/data/html_records/Create-workshop--.html
  13. 2
      config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.register.html
  14. 6
      config/locales/data/html_records/See-a-more-info-link---1.html
  15. 6
      config/locales/data/html_records/See-a-register-link---1.html
  16. 6
      config/locales/data/html_records/See-a-register-link--.html
  17. 6
      config/locales/data/html_records/Start-registration-from-landing-page---1.html
  18. 6
      config/locales/data/html_records/Start-registration-from-landing-page--.html
  19. 24
      config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html
  20. 4
      config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
  21. 2
      config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-4.html
  22. 2
      config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-5.html
  23. 24
      config/locales/data/html_records/Start-registration-from-landing-page--email_confirmation.html
  24. 6
      config/locales/data/html_records/View-stats---1.html
  25. 74
      config/locales/data/translation-info.yml

16
app/assets/stylesheets/_application.scss

@ -1841,3 +1841,19 @@ html[data-lingua-franca-example="html"] {
@include translation-pointer;
}
.workshop-list {
list-style: none;
.workshop-description {
font-size: 0.75em;
}
li {
border-bottom: 1px dashed #CCC;
&:last-child {
border-bottom: 0;
}
}
}

8
app/controllers/conferences_controller.rb

@ -487,7 +487,9 @@ class ConferencesController < ApplicationController
@register_template = :questions if is_post
when :save
if is_post
@registration ||= ConferenceRegistration.new
if (new_registration = (!@registration))
@registration = ConferenceRegistration.new
end
@registration.conference_id = @this_conference.id
@registration.user_id = current_user.id
@ -508,6 +510,10 @@ class ConferencesController < ApplicationController
current_user.lastname = nil
current_user.save
if new_registration
UserMailer.registration_confirmation(@registration).deliver_now
end
@register_template = @registration.registration_fees_paid ? :done : :payment
end
when :payment

12
app/mailers/user_mailer.rb

@ -64,13 +64,23 @@ class UserMailer < ActionMailer::Base
end
def email_confirmation(confirmation)
#puts " == #{instance_methods.to_json.to_s} == "
@confirmation = confirmation
@host = UserMailer.default_url_options[:host]
mail to: confirmation.user.email,
subject: (_'email.subject.confirm_email','Please confirm your email address')
end
def registration_confirmation(registration)
@host = UserMailer.default_url_options[:host]
@registration = registration
@conference = Conference.find(@registration.conference_id)
@user = User.find(@registration.user_id)
mail to: @user.email,
subject: _('email.subject.registration_confirmed',
"Thank you for registering for #{@conference.title}",
:vars => {:conference_title => @conference.title})
end
def broadcast(host, subject, content, user, conference)
#puts " == #{instance_methods.to_json.to_s} == "
@host = host

3
app/models/conference.rb

@ -35,5 +35,8 @@ class Conference < ActiveRecord::Base
action = action.to_sym
'/conferences/' + conference_type.slug + '/' + slug + (action == :show ? '' : '/' + action.to_s)
end
def location
organizations.first.location
end
end

11
app/views/application/home.html.haml

@ -4,7 +4,10 @@
%article
%h2=_!@conference.title
=@conference.info.html_safe
- # %article.supplementary
- # %h2=_'section_titles.bikebike.About_BikeBike'
- # %p=_'section_content.bikebike.about_bikebike', :p
%h3=_'acticles.conferences.headings.Proposed_Workshops'
%p=_'acticles.conferences.paragraphs.Proposed_Workshops', "Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process."
%ul.workshop-list
- @conference.workshops.each do |w|
%li
%h4=w.title
.workshop-description=markdown w.info

4
app/views/user_mailer/registration_confirmation.html.haml

@ -0,0 +1,4 @@
%p=_'email.general.paragraph.thank_you', "Thank you #{@user.firstname},", :vars => {:name => @user.firstname}
%p=_'email.registration.paragraph.confirmed', "You have successfully registered for #{@conference.title}. You can modify your registration details, pay, or add workshops at any time by restarting the registration process. If you have yet to pay or add your workshops and plan to do so, we ask that you take care of it as soon as possible to help us prepare in advance of your arrival.", :vars => {:conference_title => @conference.title}
%p=_'email.general.paragraph.see_you', "See you in #{@conference.location.city}!", :vars => {:conference_location => @conference.location.city}

5
app/views/user_mailer/registration_confirmation.text.haml

@ -0,0 +1,5 @@
=_'email.general.paragraph.thank_you', "Thank you #{@user.firstname},", :vars => {:name => @user.firstname}
=_'email.registration.paragraph.confirmed', "You have successfully registered for #{@conference.title}. You can modify your registration details, pay, or add workshops at any time by restarting the registration process. If you have yet to pay or add your workshops and plan to do so, we ask that you take care of it as soon as possible to help us prepare in advance of your arrival.", :vars => {:conference_title => @conference.title}
=_'email.general.paragraph.see_you', "See you in #{@conference.location.city}!", :vars => {:conference_location => @conference.location.city}

6
config/locales/data/html_records/Broadcast-message---1.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">San Marcos, Texas</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -60,6 +60,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

6
config/locales/data/html_records/Broadcast-message--.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">San Marcos, Texas</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -60,6 +60,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

20
config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html

@ -38,6 +38,22 @@
cursor: default;
}
}
h3 b {
padding: 10px 20px;
line-height: 50px;
}
h3 b a {
color: #FFF !important;
background-color: #02CA9E;
text-decoration: none !important;
border-radius: 4px;
padding: 10px 15px;
margin-left: 20px;
border-bottom: 3px solid #00AF88;
}
h3 b a:hover {
background-color: #00AF88;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
@ -61,7 +77,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' style='text-align: center' valign='top'>
<img class='image_fix' src='http://127.0.0.1:51118'>
<img class='image_fix' src='http://127.0.0.1:51317'>
</td>
</tr>
<tr>
@ -77,7 +93,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51118'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:51317'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

6
config/locales/data/html_records/Create-workshop---1.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">San Marcos, Texas</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -60,6 +60,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

64
config/locales/data/html_records/Create-workshop--.html

@ -13,59 +13,57 @@
<link href="/apple-touch-icon-144x144.png" rel="apple-touch-icon" sizes="144x144">
</head>
<body class="confirm">
<body class="home">
<nav>
<div id="main-nav">
<div class="inner-nav">
<a class="logo" href="/"><img src="/assets/bb-icon-logo.png" class="sprite icons bb-icon-logo">
<img src="/assets/bb-icon-logo-text.png" class="sprite icons bb-icon-logo-text">
</a><div class="nav">
<a href="/"><span>My Bike!Bike!</span></a>
<a class="current" href="/"><span>My Bike!Bike!</span></a>
<a href="/about/"><span><span class="translated-content" data-i18n-key="page_titles.About_BikeBike" data-i18n-needs-translation="0">About Bike!Bike!</span></span></a>
<a href="/policy/"><span><span class="translated-content" data-i18n-key="page_titles.Safe_Space_Policy" data-i18n-needs-translation="0">Safer Space Agreement</span></span></a>
</div>
<div class="actions">
<a class="button register" href="/conferences/MyBikeBike/register/"><span class="translated-content" data-i18n-key="conference.actions.Register" data-i18n-needs-translation="0">Register</span>
</a></div>
</a><form class="logout" action="/logout/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<input type="hidden" name="url" id="url" value="/">
<span class="translated-content" data-i18n-key="forms.actions.generic.Log_out" data-i18n-needs-translation="0"><button name="button" type="submit">Sign out</button></span>
</form>
</div>
</div>
</div>
</nav>
<main id="main">
<header id="banner">
<div class="short" id="header-title">
<svg>
<defs>
<filter id="saturate">
<feColorMatrix in="SourceGraphic" type="saturate" values=".25" result="A"></feColorMatrix>
</filter>
<image x="0" y="0" width="100%" height="100%" xlink:href="/assets/grafitti.jpg" id="banner-image" preserveAspectRatio="xMidYMid slice" filter="url(#saturate)"></image>
<filter id="banner-img" x="0" y="0" width="1" height="1">
<feImage xlink:href="#banner-image" result="banner-image"></feImage>
<feBlend mode="multiply" in="banner-image" in2="SourceGraphic"></feBlend>
</filter>
</defs>
<rect x="0" y="0" width="100%" height="100%" filter="url(#banner-img)"></rect>
</svg>
<div id="header-title">
<h1><span class="translated-content" data-i18n-key="page_titles.403.Please_Confirm_Email" data-i18n-needs-translation="0">Please confirm your email</span></h1>
<div class="cover" style="background-image: url()"></div>
<div class="title">
<h2 class="background">2015!</h2>
<div class="details">
<h3 class="primary">San Marcos, Texas</h3>
<div class="secondary">
August 12 – 16, 2015
</div>
</header>
<div id="content"><article>
<div class="row"><div class="columns medium-12"><h2><span class="translated-content" data-i18n-key="articles.permission_denied.headings.confirm_email" data-i18n-needs-translation="0">Please confirm your email address</span></h2>
</div><div class="columns medium-6 large-5"><form action="/doconfirm/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<div class="email-field input-field">
<input type="email" name="email" id="email" required="required">
<label for="email"><span class="translated-content" data-i18n-key="forms.labels.generic.email" data-i18n-needs-translation="0">Email address</span></label>
</div>
<input type="hidden" name="token" id="token" value="test">
<span class="translated-content" data-i18n-key="forms.actions.generic.login" data-i18n-needs-translation="0"><button name="button" type="submit">Sign In</button></span>
</form>
</div>
</div>
<figure>
<img>
</figure>
</div></div>
</header>
<div id="content">
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>
@ -94,7 +92,7 @@ EN
<div class="selector">
<ul>
<li>
<a href="/confirm/test">
<a href="/">
EN
</a>
<span>English</span>

2
config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.register.html

@ -72,7 +72,7 @@
<form class="payment" action="/conferences/MyBikeBike/register/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<input type="hidden" name="button" id="button" value="payment">
<div class="actions skip">
<span class="translated-content" data-i18n-key="forms.actions.generic.skip" data-i18n-needs-translation="1"><button name="amount" type="submit" value="0.0">skip</button></span>
<span class="translated-content" data-i18n-key="forms.actions.generic.skip" data-i18n-needs-translation="0"><button name="amount" type="submit" value="0.0">Skip</button></span>
</div>
</form>

6
config/locales/data/html_records/See-a-more-info-link---1.html

@ -50,7 +50,7 @@
<div class="details">
<h3 class="primary">Halifax, Nova Scotia</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -64,6 +64,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

6
config/locales/data/html_records/See-a-register-link---1.html

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Sackville, New Brunswick</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -55,6 +55,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

6
config/locales/data/html_records/See-a-register-link--.html

@ -50,7 +50,7 @@
<div class="details">
<h3 class="primary">Halifax, Nova Scotia</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -64,6 +64,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

6
config/locales/data/html_records/Start-registration-from-landing-page---1.html

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Halifax, Nova Scotia</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -55,6 +55,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

6
config/locales/data/html_records/Start-registration-from-landing-page--.html

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Sackville, New Brunswick</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -55,6 +55,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

24
config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html

@ -38,6 +38,22 @@
cursor: default;
}
}
h3 b {
padding: 10px 20px;
line-height: 50px;
}
h3 b a {
color: #FFF !important;
background-color: #02CA9E;
text-decoration: none !important;
border-radius: 4px;
padding: 10px 15px;
margin-left: 20px;
border-bottom: 3px solid #00AF88;
}
h3 b a:hover {
background-color: #00AF88;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
@ -62,7 +78,11 @@
<tr>
<td colspan='2' valign='top'><p><span class="translated-content" data-i18n-key="email.confirmation.paragraph.please_confirm" data-i18n-needs-translation="0">Hello! To gain access to registration and other features of Bike!Bike!, please confirm your email address.</span></p>
<p>
<a href='/confirm/29befc0171b5ffb3dd484a65105197ce4e962b680f334dbc045b3ce899cda762'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<h3>
<b>
<a href='/confirm/155ce6aa9736c06b09eaf5c6fc979f797fb97f71a889f116fb36231eed4d13c3'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
</b>
</h3>
</p>
</td>
</tr>
@ -74,7 +94,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51118'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:51317'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html

@ -67,8 +67,8 @@
<label for="departure"><span class="translated-content" data-i18n-key="forms.labels.generic.departure" data-i18n-needs-translation="0">Departure date</span></label>
</div>
<div class="date-field input-field">
<input type="datetime-local" name="arrival" id="arrival" value="2015-08-10T00:00:00">
<input type="datetime-local" name="departure" id="departure" value="2015-08-14T00:00:00">
<input type="datetime-local" name="arrival" id="arrival" value="2015-08-12T00:00:00">
<input type="datetime-local" name="departure" id="departure" value="2015-08-16T00:00:00">
</div>
</div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.languages" data-i18n-needs-translation="0">Which languages do you speak?</span></h3>

2
config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-4.html

@ -68,7 +68,7 @@
<form class="payment" action="/conferences/MyBikeBike/register/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<input type="hidden" name="button" id="button" value="payment">
<div class="actions skip">
<span class="translated-content" data-i18n-key="forms.actions.generic.skip" data-i18n-needs-translation="1"><button name="amount" type="submit" value="0.0">skip</button></span>
<span class="translated-content" data-i18n-key="forms.actions.generic.skip" data-i18n-needs-translation="0"><button name="amount" type="submit" value="0.0">Skip</button></span>
</div>
</form>

2
config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-5.html

@ -68,7 +68,7 @@
<form class="payment" action="/conferences/MyBikeBike/register/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<input type="hidden" name="button" id="button" value="payment">
<div class="actions skip">
<span class="translated-content" data-i18n-key="forms.actions.generic.skip" data-i18n-needs-translation="1"><button name="amount" type="submit" value="0.0">skip</button></span>
<span class="translated-content" data-i18n-key="forms.actions.generic.skip" data-i18n-needs-translation="0"><button name="amount" type="submit" value="0.0">Skip</button></span>
</div>
</form>

24
config/locales/data/html_records/Start-registration-from-landing-page--email_confirmation.html

@ -38,6 +38,22 @@
cursor: default;
}
}
h3 b {
padding: 10px 20px;
line-height: 50px;
}
h3 b a {
color: #FFF !important;
background-color: #02CA9E;
text-decoration: none !important;
border-radius: 4px;
padding: 10px 15px;
margin-left: 20px;
border-bottom: 3px solid #00AF88;
}
h3 b a:hover {
background-color: #00AF88;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
@ -62,7 +78,11 @@
<tr>
<td colspan='2' valign='top'><p><span class="translated-content" data-i18n-key="email.confirmation.paragraph.please_confirm" data-i18n-needs-translation="0">Hello! To gain access to registration and other features of Bike!Bike!, please confirm your email address.</span></p>
<p>
<a href='/confirm/29befc0171b5ffb3dd484a65105197ce4e962b680f334dbc045b3ce899cda762'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<h3>
<b>
<a href='/confirm/155ce6aa9736c06b09eaf5c6fc979f797fb97f71a889f116fb36231eed4d13c3'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
</b>
</h3>
</p>
</td>
</tr>
@ -74,7 +94,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51118'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:51317'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

6
config/locales/data/html_records/View-stats---1.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Anchorage, Alaska</h3>
<div class="secondary">
August 10 – 14, 2015
August 12 – 16, 2015
</div>
</div>
</div>
@ -60,6 +60,10 @@ August 10 – 14, 2015
<article>
<h2>My Bike!Bike!</h2>
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="acticles.conferences.headings.Proposed_Workshops" data-i18n-needs-translation="1">Proposed Workshops</span></h3>
<p><span class="translated-content" data-i18n-key="acticles.conferences.paragraphs.Proposed_Workshops" data-i18n-needs-translation="1">Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.</span></p>
<ul class="workshop-list">
</ul>
</article>
</div>
</main>

74
config/locales/data/translation-info.yml

@ -77,6 +77,41 @@ date.date_span:
- Create-workshop---1
- Broadcast-message--
- Broadcast-message---1
acticles.conferences.headings.Proposed_Workshops:
pages:
- "/"
examples:
- See-a-more-info-link--
- See-a-more-info-link---1
- See-a-register-link--
- See-a-register-link---1
- Start-registration-from-landing-page--
- Start-registration-from-landing-page---1
- View-stats--
- View-stats---1
- Create-workshop--
- Create-workshop---1
- Broadcast-message--
- Broadcast-message---1
acticles.conferences.paragraphs.Proposed_Workshops:
pages:
- "/"
context: Would you like to facilitate your own workshop? Simply register and visit
the workshops page. If you have already registered you can access the page by
restarting the registration process.
examples:
- See-a-more-info-link--
- See-a-more-info-link---1
- See-a-register-link--
- See-a-register-link---1
- Start-registration-from-landing-page--
- Start-registration-from-landing-page---1
- View-stats--
- View-stats---1
- Create-workshop--
- Create-workshop---1
- Broadcast-message--
- Broadcast-message---1
page_descriptions.home:
pages:
- "/"
@ -1152,6 +1187,45 @@ forms.labels.generic.other:
- "/conferences/:slug/register"
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-3
email.subject.registration_confirmed:
pages:
- "/conferences/:slug/register"
context: Thank you for registering for My Bike!Bike!
vars:
- :conference_title
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
email.general.paragraph.thank_you:
pages:
- "/conferences/:slug/register"
context: Thank you John Doe,
vars:
- :name
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
email.registration.paragraph.confirmed:
pages:
- "/conferences/:slug/register"
context: You have successfully registered for My Bike!Bike!. You can modify your
registration details, pay, or add workshops at any time by restarting the registration
process. If you have yet to pay or add your workshops and plan to do so, we ask
that you take care of it as soon as possible to help us prepare in advance of
your arrival.
vars:
- :conference_title
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
email.general.paragraph.see_you:
pages:
- "/conferences/:slug/register"
context: See you in Halifax!
vars:
- :conference_location
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
articles.conference_registration.headings.Payment:
pages:
- "/conferences/:slug/register"

Loading…
Cancel
Save