Fixed tests failing in preview

This commit is contained in:
Godwin 2015-10-11 08:56:02 -07:00
parent 010d005631
commit 03bd996be0
46 changed files with 690 additions and 683 deletions

View File

@ -16,7 +16,7 @@
- day_schedule[:locations].each do |location, location_schedule|
%tr
%th
%a{href: "https://maps.google.com/maps?q=#{URI.escape(locations[location.to_s].address.gsub(/\s+/, '+'))}", target: :_blank}
%a{href: "https://maps.google.com/maps?q=#{URI.escape((locations[location.to_s].address || '').gsub(/\s+/, '+'))}", target: :_blank}
=locations[location.to_s].title
- skip = 0
- (times.first...times.last).step(0.5).each do |t|

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Cras Mi Pede, Malesuada In, Imperdiet Et, Commodo Vulputate, Justo</h2>
<div class="row"><div class="columns medium-12"><h2>Maecenas Rhoncus Aliquam Lacus</h2>
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.you_are_interested_count" data-i18n-needs-translation="0">You are interested in this workshop</span>
<form action="/conferences/MyBikeBike/workshops/1/toggle-interest/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
@ -59,7 +59,7 @@
</form>
</div>
<p>Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.</p>
<p>Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Cras Mi Pede, Malesuada In, Imperdiet Et, Commodo Vulputate, Justo</h2>
<div class="row"><div class="columns medium-12"><h2>Maecenas Rhoncus Aliquam Lacus</h2>
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
<form action="/conferences/MyBikeBike/workshops/1/toggle-interest/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
@ -59,7 +59,7 @@
</form>
</div>
<p>Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.</p>
<p>Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Cras Mi Pede, Malesuada In, Imperdiet Et, Commodo Vulputate, Justo</h2>
<div class="row"><div class="columns medium-12"><h2>Maecenas Rhoncus Aliquam Lacus</h2>
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
<form action="/conferences/MyBikeBike/workshops/1/toggle-interest/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
@ -59,7 +59,7 @@
</form>
</div>
<p>Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.</p>
<p>Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">San Marcos, Texas</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -89,7 +89,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">San Marcos, Texas</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Portland, Oregon</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Lorem Ipsum Dolor Sit Amet, Consectetuer Adipiscing Elit</h2>
<div class="row"><div class="columns medium-12"><h2>Suspendisse Ornare Consequat Lectus</h2>
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.you_are_interested_count" data-i18n-needs-translation="0">You and&nbsp;4&nbsp;others are interested in this workshop</span>
<form action="/conferences/MyBikeBike/workshops/1/toggle-interest/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
@ -59,7 +59,7 @@
</form>
</div>
<p>Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.</p>
<p>In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Lorem Ipsum Dolor Sit Amet, Consectetuer Adipiscing Elit</h2>
<div class="row"><div class="columns medium-12"><h2>Suspendisse Ornare Consequat Lectus</h2>
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">4&nbsp;people are interested in this workshop</span>
<form action="/conferences/MyBikeBike/workshops/1/toggle-interest/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
@ -59,7 +59,7 @@
</form>
</div>
<p>Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.</p>
<p>In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Lorem Ipsum Dolor Sit Amet, Consectetuer Adipiscing Elit</h2>
<div class="row"><div class="columns medium-12"><h2>Suspendisse Ornare Consequat Lectus</h2>
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">4&nbsp;people are interested in this workshop</span>
<form action="/conferences/MyBikeBike/workshops/1/toggle-interest/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
@ -59,7 +59,7 @@
</form>
</div>
<p>Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.</p>
<p>In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_denied" data-i18n-needs-translation="0">Your request to become a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a> has been denied. If you think this was in error, you may contact the current facilitators by making another request to facilitate.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_denied" data-i18n-needs-translation="0">Your request to become a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a> has been denied. If you think this was in error, you may contact the current facilitators by making another request to facilitate.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -3,7 +3,7 @@
<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.workshop_facilitator_request&quot; data-i18n-needs-translation=&quot;0&quot;&gt;Request to facilitate Vestibulum Sed Magna At Nunc Commodo Placerat from John Doe&lt;/span&gt;</title>
<title>&lt;span class=&quot;translated-content&quot; data-i18n-key=&quot;email.subject.workshop_facilitator_request&quot; data-i18n-needs-translation=&quot;0&quot;&gt;Request to facilitate Integer Pede Justo, Lacinia Eget, Tincidunt Eget, Tempus Vel, Pede from John Doe&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;}
@ -70,19 +70,19 @@
}
}
</style>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='aliquet@bikebike.org'/></head>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='vel@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.workshop.paragraph.request_message" data-i18n-needs-translation="0">John Doe has requested to help facilitate Vestibulum Sed Magna At Nunc Commodo Placerat:</span></p>
<td colspan='2' valign='top'><p><span class="translated-content" data-i18n-key="email.workshop.paragraph.request_message" data-i18n-needs-translation="0">John Doe has requested to help facilitate Integer Pede Justo, Lacinia Eget, Tincidunt Eget, Tempus Vel, Pede:</span></p>
<blockquote><p>Please let me join</p>
</blockquote>
<p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_instructions" data-i18n-needs-translation="0">You can approve or deny this request on your workshop page:</span>
<a href='http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1</a>
<a href='http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1</a>
</p>
<p><span class="translated-content" data-i18n-key="email.workshop.paragraph.request_reply_instructions" data-i18n-needs-translation="0">You can also reply directly to this email to ask follow-up questions.</span></p>
</td>
@ -95,7 +95,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -55,7 +55,7 @@
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.</p>
<p>Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -55,7 +55,7 @@
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.</p>
<p>Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -55,7 +55,7 @@
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.</p>
<p>Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -55,7 +55,7 @@
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.</p>
<p>Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -55,7 +55,7 @@
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.</p>
<p>Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -53,7 +53,7 @@
<article>
<div class="row"><form class="composition" action="/conferences/MyBikeBike/workshops/1/facilitate_request/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<input type="hidden" name="workshop_id" id="workshop_id" value="1">
<div class="columns medium-12"><h2><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitate" data-i18n-needs-translation="0">Request to Facilitate Vestibulum Sed Magna At Nunc Commodo Placerat</span></h2>
<div class="columns medium-12"><h2><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitate" data-i18n-needs-translation="0">Request to Facilitate Integer Pede Justo, Lacinia Eget, Tincidunt Eget, Tempus Vel, Pede</span></h2>
<span class="translated-contentblock" data-i18n-key="articles.workshops.paragraphs.facilitate_request" data-i18n-needs-translation="0"><p>Please tell the current workshop facilitators who you are, why you want to help facilitate the workshop, and how you think you will help make the workshop better. All of the current facilitators will be emailed and they may ask more questions before approving or denying your request. Please note that this will reveal your email address to the facilitators.</p>
</span>
<div class="text-area-field input-field">

View File

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Vestibulum Sed Magna At Nunc Commodo Placerat</h2>
<div class="row"><div class="columns medium-12"><h2>Integer Pede Justo, Lacinia Eget, Tincidunt Eget, Tempus Vel, Pede</h2>
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
<form action="/conferences/MyBikeBike/workshops/1/toggle-interest/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
@ -59,7 +59,7 @@
</form>
</div>
<p>Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus.</p>
<p>Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -3,7 +3,7 @@
<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.workshop_facilitator_request&quot; data-i18n-needs-translation=&quot;0&quot;&gt;Request to facilitate Vestibulum Sed Magna At Nunc Commodo Placerat from John Doe&lt;/span&gt;</title>
<title>&lt;span class=&quot;translated-content&quot; data-i18n-key=&quot;email.subject.workshop_facilitator_request&quot; data-i18n-needs-translation=&quot;0&quot;&gt;Request to facilitate Integer Pede Justo, Lacinia Eget, Tincidunt Eget, Tempus Vel, Pede from John Doe&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;}
@ -70,19 +70,19 @@
}
}
</style>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='aliquet@bikebike.org'/></head>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='vel@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.workshop.paragraph.request_message" data-i18n-needs-translation="0">John Doe has requested to help facilitate Vestibulum Sed Magna At Nunc Commodo Placerat:</span></p>
<td colspan='2' valign='top'><p><span class="translated-content" data-i18n-key="email.workshop.paragraph.request_message" data-i18n-needs-translation="0">John Doe has requested to help facilitate Integer Pede Justo, Lacinia Eget, Tincidunt Eget, Tempus Vel, Pede:</span></p>
<blockquote><p>Please let me join</p>
</blockquote>
<p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_instructions" data-i18n-needs-translation="0">You can approve or deny this request on your workshop page:</span>
<a href='http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1</a>
<a href='http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1</a>
</p>
<p><span class="translated-content" data-i18n-key="email.workshop.paragraph.request_reply_instructions" data-i18n-needs-translation="0">You can also reply directly to this email to ask follow-up questions.</span></p>
</td>
@ -95,7 +95,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_approved" data-i18n-needs-translation="0">You have been added as a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a>.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -78,7 +78,7 @@
<table align='center' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' valign='top'><p>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_denied" data-i18n-needs-translation="0">Your request to become a facilitator of <a href="http://127.0.0.1:51906/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a> has been denied. If you think this was in error, you may contact the current facilitators by making another request to facilitate.</span>
<span class="translated-content" data-i18n-key="email.workshop.paragraph.request_denied" data-i18n-needs-translation="0">Your request to become a facilitator of <a href="http://127.0.0.1:59347/conferences/MyBikeBike/workshops/1">My Awesome Workshop</a> has been denied. If you think this was in error, you may contact the current facilitators by making another request to facilitate.</span>
</p>
</td>
</tr>
@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -50,7 +50,7 @@
<div class="details">
<h3 class="primary">Halifax, Nova Scotia</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Sackville, New Brunswick</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Halifax, Nova Scotia</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>
@ -62,7 +62,7 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h4>My Awesome Workshop</h4>
<div class="workshop-interest">
</div>
<div class="workshop-description"><p>Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque.</p>
<div class="workshop-description"><p>Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.</p>
</div>
</li>
</ul>

View File

@ -81,7 +81,7 @@
<p>
<h3>
<b>
<a href='/confirm/ce631b1db3fbea4405380c70d8013d8a1cf086fee762016a4761a15110643945'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<a href='/confirm/ec74e6c4fd19d67e0bfddee6565790e8dc45b5ea5a50083cd8326faa7a529a08'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
</b>
</h3>
</p>
@ -95,7 +95,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -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-30T00:00:00">
<input type="datetime-local" name="departure" id="departure" value="2015-09-03T00:00:00">
<input type="datetime-local" name="arrival" id="arrival" value="2015-09-11T00:00:00">
<input type="datetime-local" name="departure" id="departure" value="2015-09-15T00: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>

View File

@ -81,7 +81,7 @@
<p>
<h3>
<b>
<a href='/confirm/ce631b1db3fbea4405380c70d8013d8a1cf086fee762016a4761a15110643945'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<a href='/confirm/ec74e6c4fd19d67e0bfddee6565790e8dc45b5ea5a50083cd8326faa7a529a08'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
</b>
</h3>
</p>
@ -95,7 +95,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -90,7 +90,7 @@
<img class='image_fix' src='/assets/bblogo-paypal'>
</td>
<td style='width: 50%; text-align: left'>
<a href='http://127.0.0.1:51906'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:59347'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

View File

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Boise, Idaho</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>
@ -58,7 +58,7 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<h3><span class="translated-content" data-i18n-key="articles.workshops.headings.Schedule" data-i18n-needs-translation="1">Schedule</span></h3>
<div class="programme">
<div class="programme-day">
<h2>Monday</h2>
<h2>Saturday</h2>
<div class="programme-day-part">
<h3><span class="translated-content" data-i18n-key="articles.headings.schedule.day_parts.morning" data-i18n-needs-translation="1">morning</span></h3>
<table class="schedule">
@ -69,7 +69,11 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<th>10:00am</th>
</tr>
<tr>
<th>The Shop</th>
<th>
<a href="https://maps.google.com/maps?q=" target="_blank">
The Shop
</a>
</th>
<td class="workshop previewable" colspan="3.0" id="workshop-1">
<div class="title">Bikes and Beers</div>
<div class="info">
@ -78,7 +82,7 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh.</p>
<p>Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">
@ -100,7 +104,11 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<th> 3:00pm</th>
</tr>
<tr>
<th>The Shop</th>
<th>
<a href="https://maps.google.com/maps?q=" target="_blank">
The Shop
</a>
</th>
<td class="workshop previewable" colspan="3.0" id="workshop-3">
<div class="title">Advocacy Now!</div>
<div class="info">
@ -109,7 +117,7 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.</p>
<p>Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">
@ -131,7 +139,11 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<th>10:00pm</th>
</tr>
<tr>
<th>The Shop</th>
<th>
<a href="https://maps.google.com/maps?q=" target="_blank">
The Shop
</a>
</th>
<td class="workshop previewable" colspan="3.0" id="workshop-4">
<div class="title">Public Outreach</div>
<div class="info">
@ -140,7 +152,7 @@ Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
<div class="workshop-interest">
<span class="translated-content" data-i18n-key="articles.workshops.info.interested_count" data-i18n-needs-translation="0">No one is interested in this workshop yet</span>
</div>
<p>Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.</p>
<p>Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
</div><div class="columns medium-6"><h3><span class="translated-content" data-i18n-key="articles.workshops.headings.facilitators" data-i18n-needs-translation="0">Facilitators</span></h3>
<div class="facilitators">

View File

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Anchorage, Alaska</h3>
<div class="secondary">
August 30 September 3, 2015
September 11 15, 2015
</div>
</div>
</div>

View File

@ -1,46 +0,0 @@
<html><head>
<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">
<title>
Excel Spreadsheet
</title>
</head>
<body>
<table>
<thead>
<tr>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.name" data-i18n-needs-translation="0">What is your name?</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.email" data-i18n-needs-translation="0">Email</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.city" data-i18n-needs-translation="0">City</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.date" data-i18n-needs-translation="0">Date</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.languages" data-i18n-needs-translation="0">Which languages do you speak?</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.arrival" data-i18n-needs-translation="0">Arrival</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.departure" data-i18n-needs-translation="0">Departure</span></th>
<th><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></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.bike" data-i18n-needs-translation="0">Do you need a bike?</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.food" data-i18n-needs-translation="0">What are your eating habits?</span></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.allergies" data-i18n-needs-translation="0">Do you have any allergies?</span></th>
<th><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></th>
<th><span class="translated-content" data-i18n-key="articles.conference_registration.headings.fees_paid" data-i18n-needs-translation="0">Fees Paid</span></th>
</tr>
</thead>
<tbody>
<tr>
<td>Jeff</td>
<td>someguy@bikebike.org</td>
<td>Somewhere</td>
<td>2015-09-30 05:24:11</td>
<td>English</td>
<td>2015-09-28 00:00:00</td>
<td>2015-09-28 00:00:00</td>
<td>Indoor Location</td>
<td>Medium</td>
<td>Omnivore</td>
<td></td>
<td></td>
<td>0.0</td>
</tr>
</tbody>
</table>
</body></html>

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,26 @@ Feature: Registration Page
In order to register for Bike!Bike!
As a visitor
Scenario: View stats
Given There is an upcoming conference in Anchorage AK
And Registration is open
And I am logged in as someguy@bikebike.org
And My name is Jeff
And I am a conference host
And I am registered for the conference
And I am on the stats page
Then I should see Total Registrations
Scenario: View stats.xls
Given There is an upcoming conference in Anchorage AK
And Registration is open
And I am logged in as someguy@bikebike.org
And My name is Jeff
And I am a conference host
And I am registered for the conference
And I am on the stats.xls page
Scenario: Start registration from landing page
Given There is an upcoming conference in Halifax NS
And Registration is open
@ -55,18 +75,6 @@ Feature: Registration Page
And I should see Vegan
And I should see 50.00
Scenario: View stats
Given There is an upcoming conference in Anchorage AK
And Registration is open
And I am logged in as someguy@bikebike.org
And My name is Jeff
And I am a conference host
And I am registered for the conference
And I am on the stats page
Then I should see Total Registrations
And I click the Excel link
Scenario: Broadcast message
Given There is an upcoming conference in San Marcos TX
And Registration is open

View File

@ -11,6 +11,8 @@ module NavigationHelpers
path = "/conferences/#{@last_conference.slug}/edit/"
when /^(workshops|stats|broadcast)$/i
path = "/conferences/#{@last_conference.slug}/#{path}/"
when /^(stats.xls)$/i
path = "/conferences/#{@last_conference.slug}/stats.xls"
end
if path.is_a?(Symbol)