Browse Source

Fixed preview for thank you email

development
Godwin 9 years ago
parent
commit
e46bdfe82a
  1. 6
      app/controllers/conferences_controller.rb
  2. 4
      config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html
  3. 4
      config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html
  4. 103
      config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
  5. 216
      config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
  6. 4
      config/locales/data/html_records/Start-registration-from-landing-page--email_confirmation.html
  7. 103
      config/locales/data/html_records/Start-registration-from-landing-page--registration_confirmation.html
  8. 14
      config/locales/data/translation-info.yml

6
app/controllers/conferences_controller.rb

@ -511,7 +511,11 @@ class ConferencesController < ApplicationController
current_user.save
if new_registration
UserMailer.registration_confirmation(@registration).deliver_now
UserMailer.send_mail :registration_confirmation do
{
:args => @registration
}
end
end
@register_template = @registration.registration_fees_paid ? :done : :payment

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

@ -77,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:56924'>
<img class='image_fix' src='http://127.0.0.1:57090'>
</td>
</tr>
<tr>
@ -93,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:56924'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:57090'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

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

@ -80,7 +80,7 @@
<p>
<h3>
<b>
<a href='/confirm/e344bf91238c89e6e914e9e87747f08539110ca68ac2d5fd026410b4e6718ece'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<a href='/confirm/5e80456aba0f6a3cd658fb31618af6737a1a2c878ccfa4e69ebb8b17e133e85c'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
</b>
</h3>
</p>
@ -94,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:56924'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:57090'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

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

@ -0,0 +1,103 @@
<!DOCTYPE email>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title>&lt;span class=&quot;translated-content&quot; data-i18n-key=&quot;email.subject.registration_confirmed&quot; data-i18n-needs-translation=&quot;1&quot;&gt;Thank you for registering for My Bike!Bike!&lt;/span&gt;</title>
<style>
#outlook a {padding:0;}
body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}
.ExternalClass {width:100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
#backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
img {outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;}
a img {border:none;}
.image_fix {display:block;max-width:100%}
p {margin: 1em;color:#333 !important;}
h1, h2, h3, h4, h5, h6 {color:#333 !important;}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {color: #00ADEF !important;}
h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active { color: #D89E59 !important; }
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: #DD57EF !important; }
table td {border-collapse: collapse;}
table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; max-width:512px;min-width:280px;}
a {color: #00ADEF;}
a:link { color: #00ADEF; }
a:visited { color: #00ADEF; }
a:hover { color: #02CA9E; }
@media only screen and (max-device-width: 480px) {
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
color: #333;
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: #00ADEF !important;
pointer-events: auto;
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;
color: #00ADEF;
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: #00ADEF !important;
pointer-events: auto;
cursor: default;
}
}
</style>
<meta name="email-from" content='noreply@bikebike.org'/><meta name="email-to" content='myemail@bikebike.org'/></head>
<body>
<table border='0' cellpadding='0' cellspacing='0' id='backgroundTable'>
<tr>
<td>
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p><span class="translated-content" data-i18n-key="email.general.paragraph.thank_you" data-i18n-needs-translation="1">Thank you John Doe,</span></p>
<p><span class="translated-content" data-i18n-key="email.registration.paragraph.confirmed" data-i18n-needs-translation="1">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.</span></p>
<p><span class="translated-content" data-i18n-key="email.general.paragraph.see_you" data-i18n-needs-translation="1">See you in Halifax!</span></p>
</td>
</tr>
<tr>
<td colspan='2' style='height: 16px'>&nbsp;</td>
</tr>
<tr>
<td style='width: 50%; text-align: left'>
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:57090'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>
<td colspan='2' style='height: 16px'>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

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

@ -1,216 +0,0 @@
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" name="viewport">
<title>Bike!Bike!</title>
<meta content="Bike!Bike! A conference for bike collectives, co-ops, non-profit DIY bike shops" name="description">
<link href="/assets/application/safari-7.css" rel="stylesheet" media="all" type="text/css"><link href="/assets/web-fonts/safari-7.css" rel="stylesheet" media="all" type="text/css">
<link href="/assets/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="/assets/favicon.ico" rel="icon" type="image/x-icon">
<link href="/apple-touch-icon.png" rel="apple-touch-icon">
<link href="/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
<link href="/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
<link href="/apple-touch-icon-144x144.png" rel="apple-touch-icon" sizes="144x144">
</head>
<body class="conferences conferences-register">
<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 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">
<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="/conferences/MyBikeBike/register">
<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" style="background-image: url(/assets/empty-racks.jpg)">
<h1><span class="translated-content" data-i18n-key="page_titles.conferences.Conference_Registration" data-i18n-needs-translation="0">Conference Registration</span></h1>
</div>
</header>
<div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2><span class="translated-content" data-i18n-key="articles.conference_registration.headings.Registration_Info" data-i18n-needs-translation="0">Registration Info</span></h2>
</div><div class="columns medium-5 large-4"><p><span class="translated-content" data-i18n-key="articles.conference_registration.paragraphs.Registration_Info" data-i18n-needs-translation="0">Please fill in this registration form to help us prepare for your arrival to Guadalajara. If you wish to ask questions or tell us information we did not ask, please fill in the "More Info" field at the bottom of the page.</span></p>
</div><div class="columns medium-7 large-8"><form action="/conferences/MyBikeBike/register/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.name" data-i18n-needs-translation="0">What is your name?</span></h3>
<div class="text-field input-field">
<label for="name"><span class="translated-content" data-i18n-key="forms.labels.generic.name" data-i18n-needs-translation="0">Name</span></label>
<input type="text" name="name" id="name" required="required">
</div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.location" data-i18n-needs-translation="0">Where are you coming from?</span></h3>
<div class="text-field input-field">
<label for="location"><span class="translated-content" data-i18n-key="forms.labels.generic.location" data-i18n-needs-translation="0">City, State/Province, Country</span></label>
<input type="text" name="location" id="location" required="required">
</div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.arrival_and_departure" data-i18n-needs-translation="0">For what days will you need housing? (If you don't need housing, just tell us how long you plan to hang out with Bike!Bike!)</span></h3>
<div class="date-span input-field">
<div class="date-labels">
<label for="arrival"><span class="translated-content" data-i18n-key="forms.labels.generic.arrival" data-i18n-needs-translation="0">Arrival date</span></label>
<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-13T00:00:00">
<input type="datetime-local" name="departure" id="departure" value="2015-08-17T00: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>
<div class="check-box-field input-field">
<input type="checkbox" name="languages[en]" id="languages_en" value="1" checked="checked">
<label for="languages_en"><span class="translated-content" data-i18n-key="languages.en" data-i18n-needs-translation="0">English</span>
</label><input type="checkbox" name="languages[es]" id="languages_es" value="1">
<label for="languages_es"><span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span>
</label><input type="checkbox" name="languages[fr]" id="languages_fr" value="1">
<label for="languages_fr"><span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span>
</label></div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.housing" data-i18n-needs-translation="0">Do you need a place to stay?</span></h3>
<div class="radio-button-field input-field">
<input type="radio" name="housing" id="housing_none" value="none" required="required">
<label for="housing_none"><div class="sprite icons bb-none"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.housing.none" data-i18n-needs-translation="0">I'll take care of it</span>
</label><input type="radio" name="housing" id="housing_tent" value="tent" required="required">
<label for="housing_tent"><div class="sprite icons bb-tent"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.housing.tent" data-i18n-needs-translation="0">Tent Space</span>
</label><input type="radio" name="housing" id="housing_house" value="house" required="required">
<label for="housing_house"><div class="sprite icons bb-house"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.housing.house" data-i18n-needs-translation="0">Indoor Location</span>
</label></div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.bike" data-i18n-needs-translation="0">Do you need a bike?</span></h3>
<div class="radio-button-field input-field">
<input type="radio" name="bike" id="bike_none" value="none" required="required">
<label for="bike_none"><div class="sprite icons bb-none"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.bike.none" data-i18n-needs-translation="0">None</span>
</label><input type="radio" name="bike" id="bike_small" value="small" required="required">
<label for="bike_small"><div class="sprite icons bb-bike"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.bike.small" data-i18n-needs-translation="0">Small</span>
</label><input type="radio" name="bike" id="bike_medium" value="medium" required="required">
<label for="bike_medium"><div class="sprite icons bb-bike"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.bike.medium" data-i18n-needs-translation="0">Medium</span>
</label><input type="radio" name="bike" id="bike_large" value="large" required="required">
<label for="bike_large"><div class="sprite icons bb-bike"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.bike.large" data-i18n-needs-translation="0">Large</span>
</label></div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.food" data-i18n-needs-translation="0">What are your eating habits?</span></h3>
<div class="radio-button-field input-field">
<input type="radio" name="food" id="food_meat" value="meat" required="required">
<label for="food_meat"><div class="sprite icons bb-meat"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.food.meat" data-i18n-needs-translation="0">Omnivore</span>
</label><input type="radio" name="food" id="food_vegetarian" value="vegetarian" required="required">
<label for="food_vegetarian"><div class="sprite icons bb-meat"></div>
<div class="sprite icons bb-none"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.food.vegetarian" data-i18n-needs-translation="0">Vegetarian</span>
</label><input type="radio" name="food" id="food_vegan" value="vegan" required="required">
<label for="food_vegan"><div class="sprite icons bb-milk"></div>
<div class="sprite icons bb-none"></div>
<span class="translated-content" data-i18n-key="articles.conference_registration.questions.food.vegan" data-i18n-needs-translation="0">Vegan</span>
</label></div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.allergies" data-i18n-needs-translation="0">Do you have any allergies?</span></h3>
<div class="text-field input-field empty">
<label for="allergies"><span class="translated-content" data-i18n-key="forms.labels.generic.allergies" data-i18n-needs-translation="0">Allergies</span></label>
<input type="text" name="allergies" id="allergies">
</div>
<h3><span class="translated-content" data-i18n-key="articles.conference_registration.headings.other" data-i18n-needs-translation="0">Is there anything else you'd like to tell us?</span></h3>
<div class="select-field input-field">
<label for="other"><span class="translated-content" data-i18n-key="forms.labels.generic.other" data-i18n-needs-translation="0">Disabilities, housing preferences, etc.</span></label>
<textarea name="other" id="other"></textarea>
</div>
<span class="translated-content" data-i18n-key="forms.actions.generic.register" data-i18n-needs-translation="0"><button name="button" type="submit" value="save">Register</button></span>
</form>
</div>
</div></article>
</div>
</main>
<div id="footer">
<footer><div class="github">
<img src="/assets/bb-icon-github.png" class="sprite icons bb-icon-github">
<a href="https://github.com/bikebike/BikeBike/issues" target="_blank">
<span class="translated-content" data-i18n-key="links.footer.text.File_an_Issue" data-i18n-needs-translation="0">File an issue</span>
</a>
|
<a href="https://github.com/bikebike/BikeBike/contributing.md" target="_blank">
<span class="translated-content" data-i18n-key="links.footer.text.Help_contribute" data-i18n-needs-translation="0">Help contribute</span>
</a>
</div>
<div class="facebook">
<span class="translated-contentblock" data-i18n-key="links.footer.help_text.facebook" data-i18n-needs-translation="0"><a href="https://www.facebook.com/groups/648758205249998/" target="_blank" title="Join our Facebook group">
<img src="/assets/bb-icon-fb.png" class="sprite icons bb-icon-fb">
</a>
</span></div>
<div class="locale">
<span class="translated-contentblock" data-i18n-key="links.footer.help_text.select_language" data-i18n-needs-translation="0"><input id="select-language" type="checkbox">
<label class="launch" for="select-language" title="Change your language">
EN
</label>
<div class="selector">
<ul>
<li>
<a href="/conferences/MyBikeBike/register/">
EN
</a>
<span>English</span>
</li>
</ul>
</div>
</span></div>
<div class="copy">
<span class="translated-contentblock" data-i18n-key="links.footer.help_text.contributors" data-i18n-needs-translation="0"><a title="Contributors" href="/humans.txt">©2015 Bike!Bike!
</a></span></div>
</footer>
</div>
<script>
(function() {
if (!String.prototype.trim) {
(function() {
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
String.prototype.trim = function() {
return this.replace(rtrim, '');
};
})();
}
function classExists(elem,className){var p = new RegExp('(^| )'+className+'( |$)');return (elem.className && elem.className.match(p));}
function addClass(elem,className){if(classExists(elem,className)){return true;}elem.className += ' '+className;}
function removeClass(elem,className){var c = elem.className;var p = new RegExp('(^| )'+className+'( |$)');c = c.replace(p,' ').replace(/ /g,' ');elem.className = c.trim();}
[].slice.call(document.querySelectorAll('.input-field input')).forEach(function(inputEl) {
if (inputEl.value.trim() === '') {
inputEl.parentNode.className = inputEl.parentNode.className + ' empty';
}
inputEl.addEventListener('focus', onInputFocus);
inputEl.addEventListener('blur', onInputBlur);
});
function onInputFocus(ev) {
removeClass(ev.target.parentNode, 'empty')
}
function onInputBlur(ev) {
if (ev.target.value.trim() === '') {
addClass(ev.target.parentNode, 'empty');
}
}
})();
</script>
</body></html>

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

@ -80,7 +80,7 @@
<p>
<h3>
<b>
<a href='/confirm/e344bf91238c89e6e914e9e87747f08539110ca68ac2d5fd026410b4e6718ece'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<a href='/confirm/5e80456aba0f6a3cd658fb31618af6737a1a2c878ccfa4e69ebb8b17e133e85c'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
</b>
</h3>
</p>
@ -94,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:56924'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:57090'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

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

@ -0,0 +1,103 @@
<!DOCTYPE email>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title>&lt;span class=&quot;translated-content&quot; data-i18n-key=&quot;email.subject.registration_confirmed&quot; data-i18n-needs-translation=&quot;1&quot;&gt;Thank you for registering for My Bike!Bike!&lt;/span&gt;</title>
<style>
#outlook a {padding:0;}
body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}
.ExternalClass {width:100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
#backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
img {outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;}
a img {border:none;}
.image_fix {display:block;max-width:100%}
p {margin: 1em;color:#333 !important;}
h1, h2, h3, h4, h5, h6 {color:#333 !important;}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {color: #00ADEF !important;}
h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active { color: #D89E59 !important; }
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: #DD57EF !important; }
table td {border-collapse: collapse;}
table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; max-width:512px;min-width:280px;}
a {color: #00ADEF;}
a:link { color: #00ADEF; }
a:visited { color: #00ADEF; }
a:hover { color: #02CA9E; }
@media only screen and (max-device-width: 480px) {
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
color: #333;
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: #00ADEF !important;
pointer-events: auto;
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;
color: #00ADEF;
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: #00ADEF !important;
pointer-events: auto;
cursor: default;
}
}
</style>
<meta name="email-from" content='noreply@bikebike.org'/><meta name="email-to" content='myemail@bikebike.org'/></head>
<body>
<table border='0' cellpadding='0' cellspacing='0' id='backgroundTable'>
<tr>
<td>
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p><span class="translated-content" data-i18n-key="email.general.paragraph.thank_you" data-i18n-needs-translation="1">Thank you John Doe,</span></p>
<p><span class="translated-content" data-i18n-key="email.registration.paragraph.confirmed" data-i18n-needs-translation="1">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.</span></p>
<p><span class="translated-content" data-i18n-key="email.general.paragraph.see_you" data-i18n-needs-translation="1">See you in Halifax!</span></p>
</td>
</tr>
<tr>
<td colspan='2' style='height: 16px'>&nbsp;</td>
</tr>
<tr>
<td style='width: 50%; text-align: left'>
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:57090'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>
<td colspan='2' style='height: 16px'>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

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

@ -1194,7 +1194,7 @@ email.subject.registration_confirmed:
vars:
- :conference_title
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--registration_confirmation
email.general.paragraph.thank_you:
pages:
- "/conferences/:slug/register"
@ -1202,8 +1202,8 @@ email.general.paragraph.thank_you:
vars:
- :name
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--registration_confirmation
- Start-registration-from-landing-page--registration_confirmation
email.registration.paragraph.confirmed:
pages:
- "/conferences/:slug/register"
@ -1215,8 +1215,8 @@ email.registration.paragraph.confirmed:
vars:
- :conference_title
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--registration_confirmation
- Start-registration-from-landing-page--registration_confirmation
email.general.paragraph.see_you:
pages:
- "/conferences/:slug/register"
@ -1224,8 +1224,8 @@ email.general.paragraph.see_you:
vars:
- :conference_location
examples:
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--conferences.MyBikeBike.register-4
- Start-registration-from-landing-page--registration_confirmation
- Start-registration-from-landing-page--registration_confirmation
articles.conference_registration.headings.Payment:
pages:
- "/conferences/:slug/register"

Loading…
Cancel
Save