Browse Source

Fix for workshop translation permissions

development
Godwin 9 years ago
parent
commit
2fdfc57c49
  1. 4
      app/controllers/conferences_controller.rb
  2. 4
      app/models/workshop.rb
  3. 4
      app/views/workshops/show.html.haml
  4. 2
      config/locales/data/html_records/Be-the-first-to-like-a-workshop--.html
  5. 4
      config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-1.html
  6. 4
      config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-2.html
  7. 4
      config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1.html
  8. 2
      config/locales/data/html_records/Broadcast-message--.html
  9. 4
      config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html
  10. 2
      config/locales/data/html_records/Create-workshop--.html
  11. 5
      config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-1.html
  12. 5
      config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-2.html
  13. 5
      config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-3.html
  14. 5
      config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1.html
  15. 2
      config/locales/data/html_records/Edit-a-conference--.html
  16. 94
      config/locales/data/html_records/Edit-a-conference--conferences.MyBikeBike.edit.html
  17. 2
      config/locales/data/html_records/Like-a-workshop--.html
  18. 4
      config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-1.html
  19. 4
      config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-2.html
  20. 4
      config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1.html
  21. 2
      config/locales/data/html_records/Request-to-facilitate-a-workshop---1.html
  22. 2
      config/locales/data/html_records/Request-to-facilitate-a-workshop--.html
  23. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1.html
  24. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2.html
  25. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3.html
  26. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4.html
  27. 14
      config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.facilitate.html
  28. 13
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1.html
  29. 13
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2.html
  30. 11
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3.html
  31. 13
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4.html
  32. 15
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5.html
  33. 6
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.facilitate.html
  34. 2
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.facilitate.sent.html
  35. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.html
  36. 14
      config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request.html
  37. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_approved-1.html
  38. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_approved-2.html
  39. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_approved.html
  40. 4
      config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_denied.html
  41. 2
      config/locales/data/html_records/See-a-more-info-link--.html
  42. 2
      config/locales/data/html_records/See-a-register-link--.html
  43. 4
      config/locales/data/html_records/Start-registration-from-landing-page--.html
  44. 4
      config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html
  45. 2
      config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
  46. 4
      config/locales/data/html_records/Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
  47. 4
      config/locales/data/html_records/Start-registration-from-landing-page--email_confirmation.html
  48. 2
      config/locales/data/html_records/Start-registration-from-landing-page--registration_confirmation.html
  49. 2
      config/locales/data/html_records/View-stats--.html
  50. 2
      config/locales/data/html_records/View-stats--conferences.MyBikeBike.stats.xls.html
  51. 70
      config/locales/data/translation-info.yml
  52. 15
      db/schema.rb
  53. 16
      features/workshops.feature

4
app/controllers/conferences_controller.rb

@ -832,7 +832,7 @@ class ConferencesController < ApplicationController
@workshop = Workshop.find_by_id_and_conference_id(params[:workshop_id], @this_conference.id)
do_404 unless @workshop
@can_edit = @workshop.can_edit?(current_user)
do_403 unless @can_edit || @workshop.can_translate?(current_user)
do_403 unless @can_edit || @workshop.can_translate?(current_user, I18n.locale)
@title = @workshop.title
@info = @workshop.info
@needs = JSON.parse(@workshop.needs || '[]').map &:to_sym
@ -888,7 +888,7 @@ class ConferencesController < ApplicationController
end
can_edit = workshop.can_edit?(current_user)
do_403 unless can_edit || workshop.can_translate?(current_user)
do_403 unless can_edit || workshop.can_translate?(current_user, I18n.locale)
workshop.title = params[:title]
workshop.info = params[:info]

4
app/models/workshop.rb

@ -83,8 +83,8 @@ class Workshop < ActiveRecord::Base
interested ? interested.size : 0
end
def can_translate?(user)
user.can_translate? || can_edit?(user)
def can_translate?(user, lang)
(user.can_translate? && lang.to_sym != locale.to_sym) || can_edit?(user)
end
private

4
app/views/workshops/show.html.haml

@ -12,10 +12,10 @@
= form_tag toggle_workshop_interest_path(@this_conference.slug, @workshop.id) do
= button_tag (@workshop.interested?(current_user) ? :remove_interest : :show_interest), :value => :toggle_interest, :class => (@workshop.interested?(current_user) ? 'delete' : 'add')
=markdown _!(@workshop.info) || ''
- if @workshop.can_translate?(current_user)
- if current_user.can_translate?
.actions
- I18n.backend.enabled_locales.each do |locale|
= (link_to (_'actions.workshops.Translate', "Translate into #{language_name(locale)}", :vars => {:language => language_name(locale)}), edit_workshop_url(@this_conference.slug, @workshop.id, url_params(locale)), :class => 'button translate') if locale.to_sym != I18n.locale.to_sym
= (link_to (_'actions.workshops.Translate', "Translate into #{language_name(locale)}", :vars => {:language => language_name(locale)}), edit_workshop_url(@this_conference.slug, @workshop.id, url_params(locale)), :class => 'button translate') if @workshop.can_translate?(current_user, locale)
= columns(medium: 6) do
%h3=_'articles.workshops.headings.facilitators'
.facilitators

2
config/locales/data/html_records/Be-the-first-to-like-a-workshop--.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

4
config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-1.html

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Morbi Odio Odio, Elementum Eu, Interdum Eu, Tincidunt In, Leo</h2>
<div class="row"><div class="columns medium-12"><h2>Mauris Enim Leo, Rhoncus Sed, Vestibulum Sit Amet, Cursus Id, Turpis</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>Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.</p>
<p>Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.</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">

4
config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-2.html

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Morbi Odio Odio, Elementum Eu, Interdum Eu, Tincidunt In, Leo</h2>
<div class="row"><div class="columns medium-12"><h2>Mauris Enim Leo, Rhoncus Sed, Vestibulum Sit Amet, Cursus Id, Turpis</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>Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.</p>
<p>Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.</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">

4
config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1.html

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Morbi Odio Odio, Elementum Eu, Interdum Eu, Tincidunt In, Leo</h2>
<div class="row"><div class="columns medium-12"><h2>Mauris Enim Leo, Rhoncus Sed, Vestibulum Sit Amet, Cursus Id, Turpis</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>Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.</p>
<p>Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.</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">

2
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 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

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

@ -78,7 +78,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:51164'>
<img class='image_fix' src='http://127.0.0.1:55795'>
</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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

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

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">San Marcos, Texas</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

5
config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-1.html

@ -57,11 +57,6 @@
</div>
<p>Lorem Ipsum</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">

5
config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-2.html

@ -57,11 +57,6 @@
</div>
<p>Lorem Ipsum</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">

5
config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-3.html

@ -57,11 +57,6 @@
</div>
<p>Lorem Ipsum</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">

5
config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1.html

@ -57,11 +57,6 @@
</div>
<p>Lorem Ipsum</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">

2
config/locales/data/html_records/Edit-a-conference--.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Portland, Oregon</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

94
config/locales/data/html_records/Edit-a-conference--conferences.MyBikeBike.edit.html

@ -57,7 +57,7 @@
<div class="row"><div class="columns medium-12"><form class="composition" action="/conferences/MyBikeBike/save/" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓">
<div class="text-editor input-field">
<label for="info"><span class="translated-content" data-i18n-key="forms.labels.generic.info" data-i18n-needs-translation="0">Info</span></label>
<textarea name="info" id="info" required="required">Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.</textarea>
<div class="froala-box"><div class="froala-editor f-basic" style="z-index: 2000;"><div class="bttn-wrapper" id="bttn-wrapper-1"><div class="fr-bttn fr-dropdown "><button tabindex="-1" type="button" data-name="formatBlock" class="fr-trigger" title="Format Block"><i class="fa fa-paragraph"></i></button><ul class="fr-dropdown-menu"><li data-cmd="formatBlock" data-val="0"><a href="#" data-text="true" class="format-0" title="n">n</a></li><li data-cmd="formatBlock" data-val="1"><a href="#" data-text="true" class="format-1" title="p">p</a></li><li data-cmd="formatBlock" data-val="2"><a href="#" data-text="true" class="format-2" title="h2">h2</a></li><li data-cmd="formatBlock" data-val="3"><a href="#" data-text="true" class="format-3" title="blockquote">blockquote</a></li><li data-cmd="formatBlock" data-val="4"><a href="#" data-text="true" class="format-4" title="pre">pre</a></li></ul></div><button tabindex="-1" type="button" class="fr-bttn" title="Bold" data-cmd="bold"><i class="fa fa-bold"></i></button><button tabindex="-1" type="button" class="fr-bttn" title="Italic" data-cmd="italic"><i class="fa fa-italic"></i></button><button tabindex="-1" type="button" class="fr-bttn" title="Underline" data-cmd="underline"><i class="fa fa-underline"></i></button><span class="f-sep"></span><button tabindex="-1" type="button" class="fr-bttn" title="Insert Link" data-cmd="createLink"><i class="fa fa-link"></i></button><button tabindex="-1" type="button" class="fr-bttn" title="Show HTML" data-cmd="html"><i class="fa fa-code"></i></button><button tabindex="-1" type="button" class="fr-bttn" title="Undo" data-cmd="undo" disabled="disabled"><i class="fa fa-undo"></i></button><button tabindex="-1" type="button" class="fr-bttn" title="Redo" data-cmd="redo" disabled=""><i class="fa fa-repeat"></i></button></div></div><div class="froala-wrapper f-basic"><div contenteditable="true" class="froala-view froala-element not-msie f-basic" style="outline: 0px;" spellcheck="false" dir="auto"><p>Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.</p></div><span class="fr-placeholder" unselectable="on">Type something</span></div></div><textarea name="info" id="info" required="required" style="display: none;" placeholder="Type something">Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.</textarea>
</div>
<div class="actions right">
<div class="left">
@ -86,4 +86,94 @@
colors: ['#00ADEF', '#DD57EF', '#E6C74B', 'REMOVE']
});
});
</script></div></main></body></html>
</script>
</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="/?lang=en">
EN
</a>
<span>English</span>
</li>
<li>
<a href="/?lang=es">
ES
</a>
<span>español</span>
</li>
<li>
<a href="/?lang=fr">
FR
</a>
<span>français</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>
<div class="froala-editor f-inline" style="display: none; z-index: 2001;"><div class="froala-popup froala-image-popup" style="display: none;"><h4><span data-text="true">Insert Image</span><span data-text="true">Uploading image</span><i title="Cancel" class="fa fa-times" id="f-image-close-1"></i></h4><div id="f-image-list-1"><div class="f-popup-line drop-upload"><div class="f-upload" id="f-upload-div-1"><strong data-text="true">Drop Image</strong><br>(<span data-text="true">or click</span>)<form target="frame-1" enctype="multipart/form-data" encoding="multipart/form-data" action="http://i.froala.com/upload" method="post" id="f-upload-form-1"><input id="f-file-upload-1" type="file" name="file" accept="image/*"></form></div></div><div class="f-popup-line"><label><span data-text="true">Enter URL</span>: </label><input id="f-image-url-1" type="text" placeholder="http://example.com"><button class="f-browse fr-p-bttn" id="f-browser-1"><i class="fa fa-search"></i></button><button data-text="true" class="f-ok fr-p-bttn f-submit" id="f-image-ok-1">OK</button></div></div><p class="f-progress" id="f-progress-1"><span></span></p></div><div class="froala-popup froala-image-editor-popup" style="display: none"><div class="f-popup-line f-popup-toolbar"><div class="fr-bttn fr-dropdown "><button tabindex="-1" type="button" data-name="display" class="fr-trigger" title="Text Wrap"><i class="fa fa-star"></i></button><ul class="fr-dropdown-menu"><li data-namespace="Image" data-cmd="display" data-val="fr-dii" data-param="undefined"><a href="#" data-text="true" class="fr-dii" title="Inline">Inline</a></li><li data-namespace="Image" data-cmd="display" data-val="fr-dib" data-param="undefined"><a href="#" data-text="true" class="fr-dib" title="Break Text">Break Text</a></li></ul></div><div class="fr-bttn fr-dropdown "><button tabindex="-1" type="button" data-name="align" class="fr-trigger" title="Alignment"><i class="fa fa-align-center"></i></button><ul class="fr-dropdown-menu f-align"><li data-cmd="align" data-namespace="Image" data-val="floatImageLeft" title="Align Left"><a href="#"><i class="fa fa-align-left"></i></a></li><li data-cmd="align" data-namespace="Image" data-val="floatImageNone" title="Align Center"><a href="#"><i class="fa fa-align-center"></i></a></li><li data-cmd="align" data-namespace="Image" data-val="floatImageRight" title="Align Right"><a href="#"><i class="fa fa-align-right"></i></a></li></ul></div><button class="fr-bttn" data-namespace="Image" data-cmd="linkImage" title="Insert Link"><i class="fa fa-link"></i></button><button class="fr-bttn" data-namespace="Image" data-cmd="replaceImage" title="Replace Image"><i class="fa fa-exchange"></i></button><button class="fr-bttn" data-namespace="Image" data-cmd="removeImage" title="Remove Image"><i class="fa fa-trash-o"></i></button></div><div class="f-popup-line f-image-alt"><label><span data-text="true">Title</span>: </label><input type="text"><button class="fr-p-bttn f-ok" data-text="true" data-callback="setImageAlt" data-cmd="setImageAlt" title="OK">OK</button></div></div><div class="froala-popup froala-link-popup" style="display: none;"><h4><span data-text="true">Insert Link</span><a target="_blank" title="Open Link" class="f-external-link" href="#"><i class="fa fa-external-link"></i></a><i title="Cancel" class="fa fa-times" id="f-link-close-1"></i></h4><div class="f-popup-line fr-hidden"><input type="text" placeholder="Text" class="f-lt" id="f-lt-1"></div><div class="f-popup-line"><input type="text" placeholder="http://www.example.com" class="f-lu " id="f-lu-1"></div><div class="f-popup-line"><input type="checkbox" class="f-target" id="f-target-1"> <label data-text="true" for="f-target-1">Open in new tab</label><button data-text="true" type="button" class="fr-p-bttn f-ok f-submit" id="f-ok-1">OK</button><button type="button" data-text="true" class="fr-p-bttn f-ok f-unlink" id="f-unlink-1">UNLINK</button></div></div></div></body></html>

2
config/locales/data/html_records/Like-a-workshop--.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

4
config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-1.html

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Cum Sociis Natoque Penatibus Et Magnis Dis Parturient Montes, Nascetur Ridiculus Mus</h2>
<div class="row"><div class="columns medium-12"><h2>Duis At Velit Eu Est Congue Elementum</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>Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</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">

4
config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-2.html

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Cum Sociis Natoque Penatibus Et Magnis Dis Parturient Montes, Nascetur Ridiculus Mus</h2>
<div class="row"><div class="columns medium-12"><h2>Duis At Velit Eu Est Congue Elementum</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>Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</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">

4
config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1.html

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Cum Sociis Natoque Penatibus Et Magnis Dis Parturient Montes, Nascetur Ridiculus Mus</h2>
<div class="row"><div class="columns medium-12"><h2>Duis At Velit Eu Est Congue Elementum</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>Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</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">

2
config/locales/data/html_records/Request-to-facilitate-a-workshop---1.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

2
config/locales/data/html_records/Request-to-facilitate-a-workshop--.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Guadalajara, Jalisco, Mexico</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

14
config/locales/data/html_records/Request-to-facilitate-a-workshop--Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.facilitate.html

@ -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 Mauris Sit Amet Eros 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 Suspendisse Potenti 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,21 +70,21 @@
}
}
</style>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='justo@bikebike.org'/></head>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='et@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="1">Below is a message from John Doe:</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 Suspendisse Potenti:</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="1">You can approve or deny this request on your workshop page: </span>
<a href='http://127.0.0.1:51164/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:51164/conferences/MyBikeBike/workshops/1</a>
<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:55795/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:55795/conferences/MyBikeBike/workshops/1</a>
</p>
<p><span class="translated-content" data-i18n-key="email.workshop.paragraph.request_reply_instructions" data-i18n-needs-translation="1">You can also reply directly to this email to ask follow-up questions.</span></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>
</tr>
<tr>
@ -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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

13
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1.html

@ -55,13 +55,8 @@
<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>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">
@ -73,13 +68,13 @@
<div class="facilitator">
<div class="name">Joey</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">Katie</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.requested" data-i18n-needs-translation="1">requested</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.requested" data-i18n-needs-translation="0">Requested</span>
<a class="button modify" href="/conferences/MyBikeBike/workshops/1/facilitate_request/3/approve/"><span class="translated-content" data-i18n-key="actions.workshops.Approve" data-i18n-needs-translation="0">Approve</span></a>
<a class="button delete" href="/conferences/MyBikeBike/workshops/1/facilitate_request/3/deny/"><span class="translated-content" data-i18n-key="actions.workshops.Deny" data-i18n-needs-translation="0">Deny</span></a>
</div>
@ -87,7 +82,7 @@
<div class="facilitator">
<div class="name">Jim</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.requested" data-i18n-needs-translation="1">requested</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.requested" data-i18n-needs-translation="0">Requested</span>
<a class="button modify" href="/conferences/MyBikeBike/workshops/1/facilitate_request/4/approve/"><span class="translated-content" data-i18n-key="actions.workshops.Approve" data-i18n-needs-translation="0">Approve</span></a>
<a class="button delete" href="/conferences/MyBikeBike/workshops/1/facilitate_request/4/deny/"><span class="translated-content" data-i18n-key="actions.workshops.Deny" data-i18n-needs-translation="0">Deny</span></a>
</div>

13
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2.html

@ -55,13 +55,8 @@
<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>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">
@ -73,13 +68,13 @@
<div class="facilitator">
<div class="name">Joey</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">Katie</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.requested" data-i18n-needs-translation="1">requested</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.requested" data-i18n-needs-translation="0">Requested</span>
<a class="button modify" href="/conferences/MyBikeBike/workshops/1/facilitate_request/3/approve/"><span class="translated-content" data-i18n-key="actions.workshops.Approve" data-i18n-needs-translation="0">Approve</span></a>
<a class="button delete" href="/conferences/MyBikeBike/workshops/1/facilitate_request/3/deny/"><span class="translated-content" data-i18n-key="actions.workshops.Deny" data-i18n-needs-translation="0">Deny</span></a>
</div>
@ -87,7 +82,7 @@
<div class="facilitator">
<div class="name">Jim</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="actions">

11
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3.html

@ -55,13 +55,8 @@
<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>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">
@ -73,13 +68,13 @@
<div class="facilitator">
<div class="name">Joey</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">Jim</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="actions">

13
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4.html

@ -55,13 +55,8 @@
<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>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">
@ -73,19 +68,19 @@
<div class="facilitator">
<div class="name">Joey</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">Jim</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">Ricardo</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="actions">

15
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5.html

@ -55,13 +55,8 @@
<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>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.</p>
<div class="actions">
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=es"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.es" data-i18n-needs-translation="0">Spanish</span></span></a>
<a class="button translate" href="/conferences/MyBikeBike/workshops/1/edit/?lang=fr"><span class="translated-content" data-i18n-key="actions.workshops.Translate" data-i18n-needs-translation="0">Translate into&nbsp;<span class="translated-content" data-i18n-key="languages.fr" data-i18n-needs-translation="0">French</span></span></a>
</div>
</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">
<div class="facilitator">
@ -73,25 +68,25 @@
<div class="facilitator">
<div class="name">Joey</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">Jim</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">Ricardo</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="1">collaborator</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.collaborator" data-i18n-needs-translation="0">Collaborator</span>
</div>
</div>
<div class="facilitator">
<div class="name">nicky@bikebike.org</div>
<div class="role">
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.unregistered" data-i18n-needs-translation="1">unregistered</span>
<span class="translated-content" data-i18n-key="roles.workshops.facilitator.unregistered" data-i18n-needs-translation="0">Unregistered</span>
<a class="button delete" href="/conferences/MyBikeBike/workshops/1/facilitate_request/6/remove/"><span class="translated-content" data-i18n-key="actions.workshops.Remove" data-i18n-needs-translation="0">Remove</span></a>
</div>
</div>

6
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.facilitate.html

@ -40,7 +40,7 @@
<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.Facilitate_Workshop" data-i18n-needs-translation="1">Facilitate Workshop</span></h1>
<h1><span class="translated-content" data-i18n-key="page_titles.conferences.Facilitate_Workshop" data-i18n-needs-translation="0">Workshop Facilitation Request</span></h1>
</div>
</header>
@ -53,11 +53,11 @@
<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 ‘Mauris Sit Amet Eros</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 ‘Suspendisse Potenti</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">
<label for="message"><span class="translated-content" data-i18n-key="forms.labels.generic.message" data-i18n-needs-translation="1">message</span></label>
<label for="message"><span class="translated-content" data-i18n-key="forms.labels.generic.message" data-i18n-needs-translation="0">Your Message:</span></label>
<textarea name="message" id="message" required="required"></textarea>
</div>
</div><div class="columns medium-12"><div class="actions right">

2
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.facilitate.sent.html

@ -40,7 +40,7 @@
<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.Facilitate_Workshop" data-i18n-needs-translation="1">Facilitate Workshop</span></h1>
<h1><span class="translated-content" data-i18n-key="page_titles.conferences.Facilitate_Workshop" data-i18n-needs-translation="0">Workshop Facilitation Request</span></h1>
</div>
</header>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1.html

@ -51,7 +51,7 @@
</div></div><div id="content">
<article>
<div class="row"><div class="columns medium-12"><h2>Mauris Sit Amet Eros</h2>
<div class="row"><div class="columns medium-12"><h2>Suspendisse Potenti</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>In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.</p>
<p>Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.</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">

14
config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request.html

@ -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 Mauris Sit Amet Eros 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 Suspendisse Potenti 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,21 +70,21 @@
}
}
</style>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='justo@bikebike.org'/></head>
<meta name="email-from" content='somebody@bikebike.org'/><meta name="email-to" content='et@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="1">Below is a message from John Doe:</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 Suspendisse Potenti:</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="1">You can approve or deny this request on your workshop page: </span>
<a href='http://127.0.0.1:51164/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:51164/conferences/MyBikeBike/workshops/1</a>
<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:55795/conferences/MyBikeBike/workshops/1'>http://127.0.0.1:55795/conferences/MyBikeBike/workshops/1</a>
</p>
<p><span class="translated-content" data-i18n-key="email.workshop.paragraph.request_reply_instructions" data-i18n-needs-translation="1">You can also reply directly to this email to ask follow-up questions.</span></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>
</tr>
<tr>
@ -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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_approved-1.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_approved-2.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_approved.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

4
config/locales/data/html_records/Request-to-facilitate-a-workshop--workshop_facilitator_request_denied.html

@ -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:51164/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:55795/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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

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

@ -50,7 +50,7 @@
<div class="details">
<h3 class="primary">Halifax, Nova Scotia</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

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

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Sackville, New Brunswick</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

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

@ -41,7 +41,7 @@
<div class="details">
<h3 class="primary">Halifax, Nova Scotia</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 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>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>
<div class="workshop-description"><p>Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui.</p>
</div>
</li>
</ul>

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

@ -81,7 +81,7 @@
<p>
<h3>
<b>
<a href='/confirm/71f27a25202d38b58c966822fa4d31b0ed6b6624a64e16212f56a5c032ab9d84'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<a href='/confirm/d4cc113a01e984988ee58162a6a3ffdfb300b72a68d93734d5171979cc8dba13'><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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

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

@ -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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&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-20T00:00:00">
<input type="datetime-local" name="departure" id="departure" value="2015-08-24T00:00:00">
<input type="datetime-local" name="arrival" id="arrival" value="2015-08-22T00:00:00">
<input type="datetime-local" name="departure" id="departure" value="2015-08-26T00: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>

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

@ -81,7 +81,7 @@
<p>
<h3>
<b>
<a href='/confirm/71f27a25202d38b58c966822fa4d31b0ed6b6624a64e16212f56a5c032ab9d84'><span class="translated-content" data-i18n-key="email.confirmation.link.please_confirm" data-i18n-needs-translation="0">Confirm now</span></a>
<a href='/confirm/d4cc113a01e984988ee58162a6a3ffdfb300b72a68d93734d5171979cc8dba13'><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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

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

@ -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:51164'>&copy; Bike!Bike! 2015</a>
<a href='http://127.0.0.1:55795'>&copy; Bike!Bike! 2015</a>
</td>
</tr>
<tr>

2
config/locales/data/html_records/View-stats--.html

@ -46,7 +46,7 @@
<div class="details">
<h3 class="primary">Anchorage, Alaska</h3>
<div class="secondary">
August 20 – 24, 2015
August 22 – 26, 2015
</div>
</div>
</div>

2
config/locales/data/html_records/View-stats--conferences.MyBikeBike.stats.xls.html

@ -28,7 +28,7 @@ Excel Spreadsheet
<td>Jeff</td>
<td>someguy@bikebike.org</td>
<td>Somewhere</td>
<td>2015-09-19 22:20:04</td>
<td>2015-09-22 02:21:25</td>
<td>English</td>
<td>2015-09-28 00:00:00</td>
<td>2015-09-28 00:00:00</td>

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

@ -933,10 +933,6 @@ languages.es:
- Create-workshop--conferences.MyBikeBike.workshops.create
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1.edit
@ -944,10 +940,6 @@ languages.es:
- Create-workshop--conferences.MyBikeBike.workshops.1.edit
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1.delete
@ -990,22 +982,12 @@ languages.es:
- Request-to-facilitate-a-workshop---1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
context: Spanish
@ -1100,10 +1082,6 @@ languages.fr:
- Create-workshop--conferences.MyBikeBike.workshops.create
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1.edit
@ -1111,10 +1089,6 @@ languages.fr:
- Create-workshop--conferences.MyBikeBike.workshops.1.edit
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1.delete
@ -1157,24 +1131,14 @@ languages.fr:
- Request-to-facilitate-a-workshop---1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
context: French
links.footer.help_text.contributors:
pages:
@ -2717,32 +2681,6 @@ articles.workshops.info.interested_count:
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
actions.workshops.Translate:
pages:
- "/conferences/:slug/workshops/:workshop_id"
context: Translate into <span class="translated-content" data-i18n-key="languages.es"
data-i18n-needs-translation="0">Spanish</span>
vars:
- :language
examples:
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-1
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-2
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Create-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-1
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-2
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-3
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-4
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
- Request-to-facilitate-a-workshop--conferences.MyBikeBike.workshops.1-5
articles.workshops.headings.facilitators:
pages:
- "/conferences/:slug/workshops/:workshop_id"
@ -2904,7 +2842,7 @@ page_titles.conferences.Facilitate_Workshop:
articles.workshops.headings.facilitate:
pages:
- "/conferences/:slug/workshops/:workshop_id/facilitate"
context: Request to Facilitate ‘Mauris Sit Amet Eros
context: Request to Facilitate ‘Suspendisse Potenti
vars:
- :workshop_title
examples:
@ -2927,7 +2865,7 @@ forms.labels.generic.message:
email.subject.workshop_facilitator_request:
pages:
- "/conferences/:slug/workshops/:workshop_id/facilitate_request"
context: Request to facilitate Mauris Sit Amet Eros from John Doe
context: Request to facilitate Suspendisse Potenti from John Doe
vars:
- :workshop_title
- :requester_name
@ -3025,7 +2963,7 @@ email.workshop.paragraph.request_approved:
pages:
- "/conferences/:slug/workshops/:workshop_id/facilitate_request/:user_id/:approve_or_deny"
- "/conferences/:slug/workshops/:workshop_id/add_facilitator"
context: You have been added as a facilitator of <a href="http://127.0.0.1:51164http://127.0.0.1:51164/conferences/MyBikeBike/workshops/1">My
context: You have been added as a facilitator of <a href="http://127.0.0.1:55795http://127.0.0.1:55795/conferences/MyBikeBike/workshops/1">My
Awesome Workshop</a>.
vars:
- :workshop_title
@ -3047,7 +2985,7 @@ email.subject.workshop_request_denied:
email.workshop.paragraph.request_denied:
pages:
- "/conferences/:slug/workshops/:workshop_id/facilitate_request/:user_id/:approve_or_deny"
context: Your request to become a facilitator of <a href="http://127.0.0.1:51164http://127.0.0.1:51164/conferences/MyBikeBike/workshops/1">My
context: Your request to become a facilitator of <a href="http://127.0.0.1:55795http://127.0.0.1:55795/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.
vars:

15
db/schema.rb

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150914230507) do
ActiveRecord::Schema.define(version: 20150920233755) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -157,6 +157,17 @@ ActiveRecord::Schema.define(version: 20150914230507) do
t.datetime "updated_at", null: false
end
create_table "event_locations", force: :cascade do |t|
t.string "title"
t.integer "conference_id"
t.float "latitude"
t.float "longitude"
t.string "address"
t.string "amenities"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "event_types", force: :cascade do |t|
t.string "slug"
t.text "info"
@ -175,6 +186,7 @@ ActiveRecord::Schema.define(version: 20150914230507) do
t.datetime "end_time"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "event_location_id"
end
create_table "locations", force: :cascade do |t|
@ -387,6 +399,7 @@ ActiveRecord::Schema.define(version: 20150914230507) do
t.text "host_info"
t.text "notes"
t.string "locale"
t.integer "event_location_id"
end
end

16
features/workshops.feature

@ -113,22 +113,22 @@ Feature: Workshop Page
And Ricardo is registered for the conference
And I view the workshop
Then I should see Joey collaborator
And I should see Katie requested
And I should see Jim requested
Then I should see Joey Collaborator
And I should see Katie Requested
And I should see Jim Requested
Then I approve the facilitator request from Jim
And I should see Jim collaborator
And I should see Katie requested
And I should see Jim Collaborator
And I should see Katie Requested
Then I deny the facilitator request from Katie
And I should see Jim collaborator
And I should see Jim Collaborator
And I should not see Katie
And I fill in email with ricky@bikebike.org
And I click the + button
Then I should see Ricardo collaborator
Then I should see Ricardo Collaborator
And I fill in email with nicky@bikebike.org
And I click the + button
Then I should see nicky@bikebike.org unregistered
Then I should see nicky@bikebike.org Unregistered

Loading…
Cancel
Save