diff --git a/app/assets/stylesheets/_application.scss b/app/assets/stylesheets/_application.scss
index ded6677..5ed2a33 100644
--- a/app/assets/stylesheets/_application.scss
+++ b/app/assets/stylesheets/_application.scss
@@ -1848,6 +1848,7 @@ html[data-lingua-franca-example="html"] {
.workshop-list {
list-style: none;
+ padding: 0 2em;
.workshop-description {
font-size: 0.75em;
@@ -1860,4 +1861,31 @@ html[data-lingua-franca-example="html"] {
border-bottom: 0;
}
}
-}
\ No newline at end of file
+}
+
+#main .workshop-interest {
+ text-align: right;
+
+ form {
+ display: inline;
+ }
+
+ button {
+ font-size: 0.9em;
+ margin: 1em;
+ background-color: $colour-5;
+
+ &.delete {
+ background-color: $colour-4;
+ }
+ }
+
+ body.home & {
+ text-align: left;
+ font-style: italic;
+ color: #888;
+ margin-top: -0.5em;
+ margin-bottom: -0.5em;
+ margin-left: 1em;
+ }
+}
diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb
index f46d7e1..b905369 100644
--- a/app/controllers/conferences_controller.rb
+++ b/app/controllers/conferences_controller.rb
@@ -888,6 +888,24 @@ class ConferencesController < ApplicationController
redirect_to view_workshop_url(@this_conference.slug, workshop.id)
end
+ def toggle_workshop_interest
+ set_conference
+ set_conference_registration
+ workshop = Workshop.find_by_id_and_conference_id(params[:workshop_id], @this_conference.id)
+ do_404 unless workshop
+
+ # save the current state
+ interested = workshop.interested? current_user
+ # remove all associated fields
+ WorkshopInterest.delete_all(:workshop_id => workshop.id, :user_id => current_user.id)
+
+ # creat the new interest row if we weren't interested before
+ WorkshopInterest.create(:workshop_id => workshop.id, :user_id => current_user.id) unless interested
+
+ # go back to the workshop
+ redirect_to view_workshop_url(@this_conference.slug, workshop.id)
+ end
+
# DELETE /conferences/1
#def destroy
# @conference.destroy
diff --git a/app/models/workshop.rb b/app/models/workshop.rb
index b6866a6..d8643e2 100644
--- a/app/models/workshop.rb
+++ b/app/models/workshop.rb
@@ -35,6 +35,19 @@ class Workshop < ActiveRecord::Base
creator?(user)
end
+ def can_show_interest?(user)
+ !facilitator?(user)
+ end
+
+ def interested?(user)
+ user.present? && !!WorkshopInterest.find_by(workshop_id: id, user_id: user.id)
+ end
+
+ def interested_count
+ workshops = WorkshopInterest.where(:workshop_id => id)
+ workshops ? workshops.size : 0
+ end
+
private
def make_slug
if !self.slug
diff --git a/app/models/workshop_interest.rb b/app/models/workshop_interest.rb
new file mode 100644
index 0000000..d35704d
--- /dev/null
+++ b/app/models/workshop_interest.rb
@@ -0,0 +1,4 @@
+class WorkshopInterest < ActiveRecord::Base
+ belongs_to :workshop
+ has_one :user
+end
diff --git a/app/views/application/home.html.haml b/app/views/application/home.html.haml
index f03c76e..f4c0828 100644
--- a/app/views/application/home.html.haml
+++ b/app/views/application/home.html.haml
@@ -4,10 +4,16 @@
%article
%h2=_!@conference.title
=@conference.info.html_safe
- %h3=_'acticles.conferences.headings.Proposed_Workshops'
- %p=_'acticles.conferences.paragraphs.Proposed_Workshops', "Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process."
- %ul.workshop-list
- - @conference.workshops.each do |w|
- %li
- %h4=w.title
- .workshop-description=markdown w.info
+ %h3=_'articles.workshops.headings.Proposed_Workshops'
+ %p=_'articles.workshops.paragraphs.Proposed_Workshops', "Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process."
+ - if @conference.workshops
+ %ul.workshop-list
+ - @conference.workshops.each do |w|
+ %li
+ %h4=w.title
+ .workshop-interest
+ - if w.interested?(current_user)
+ =_'articles.workshops.info.you_are_interested_count', "You and #{w.interested_count - 1} others are interested in this workshop", :vars => {:count => (w.interested_count - 1)}
+ - elsif w.interested_count > 0
+ =_'articles.workshops.info.interested_count', "#{w.interested_count} people are interested in this workshop", :vars => {:count => w.interested_count}
+ .workshop-description=markdown w.info
diff --git a/app/views/conference_registration_responses/_form.html.haml b/app/views/conference_registration_responses/_form.html.haml
deleted file mode 100644
index 11fa7b9..0000000
--- a/app/views/conference_registration_responses/_form.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-= form_for @conference_registration_response do |f|
- - if @conference_registration_response.errors.any?
- #error_explanation
- %h2= "#{pluralize(@conference_registration_response.errors.count, "error")} prohibited this conference_registration_response from being saved:"
- %ul
- - @conference_registration_response.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label :conference_registration_id
- = f.number_field :conference_registration_id
- .field
- = f.label :registration_form_field_id
- = f.number_field :registration_form_field_id
- .field
- = f.label :data
- = f.text_area :data
- .actions
- = f.submit 'Save'
diff --git a/app/views/conference_registration_responses/edit.html.haml b/app/views/conference_registration_responses/edit.html.haml
deleted file mode 100644
index 35dd1e8..0000000
--- a/app/views/conference_registration_responses/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing conference_registration_response
-
-= render 'form'
-
-= link_to 'Show', @conference_registration_response
-\|
-= link_to 'Back', conference_registration_responses_path
diff --git a/app/views/conference_registration_responses/index.html.haml b/app/views/conference_registration_responses/index.html.haml
deleted file mode 100644
index 9ef198f..0000000
--- a/app/views/conference_registration_responses/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing conference_registration_responses
-
-%table
- %tr
- %th Conference registration
- %th Registration form field
- %th Data
- %th
- %th
- %th
-
- - @conference_registration_responses.each do |conference_registration_response|
- %tr
- %td= conference_registration_response.conference_registration_id
- %td= conference_registration_response.registration_form_field_id
- %td= conference_registration_response.data
- %td= link_to 'Show', conference_registration_response
- %td= link_to 'Edit', edit_conference_registration_response_path(conference_registration_response)
- %td= link_to 'Destroy', conference_registration_response, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Conference registration response', new_conference_registration_response_path
diff --git a/app/views/conference_registration_responses/new.html.haml b/app/views/conference_registration_responses/new.html.haml
deleted file mode 100644
index b5e0554..0000000
--- a/app/views/conference_registration_responses/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New conference_registration_response
-
-= render 'form'
-
-= link_to 'Back', conference_registration_responses_path
diff --git a/app/views/conference_registration_responses/show.html.haml b/app/views/conference_registration_responses/show.html.haml
deleted file mode 100644
index e02b8f5..0000000
--- a/app/views/conference_registration_responses/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b Conference registration:
- = @conference_registration_response.conference_registration_id
-%p
- %b Registration form field:
- = @conference_registration_response.registration_form_field_id
-%p
- %b Data:
- = @conference_registration_response.data
-
-= link_to 'Edit', edit_conference_registration_response_path(@conference_registration_response)
-\|
-= link_to 'Back', conference_registration_responses_path
diff --git a/app/views/conference_registraton_form_fields/_form.html.haml b/app/views/conference_registraton_form_fields/_form.html.haml
deleted file mode 100644
index 2b82aa3..0000000
--- a/app/views/conference_registraton_form_fields/_form.html.haml
+++ /dev/null
@@ -1,8 +0,0 @@
-= form_for @conference_registraton_form_field do |f|
- = f.label :conference_id
- = f.number_field :conference_id
- = f.label :registration_form_field_id
- = f.number_field :registration_form_field_id
- = f.label :order
- = f.number_field :order
- = f.actions :Save
diff --git a/app/views/conference_registraton_form_fields/edit.html.haml b/app/views/conference_registraton_form_fields/edit.html.haml
deleted file mode 100644
index 492922f..0000000
--- a/app/views/conference_registraton_form_fields/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing conference_registraton_form_field
-
-= render 'form'
-
-= link_to 'Show', @conference_registraton_form_field
-\|
-= link_to 'Back', conference_registraton_form_fields_path
diff --git a/app/views/conference_registraton_form_fields/index.html.haml b/app/views/conference_registraton_form_fields/index.html.haml
deleted file mode 100644
index 9fcd997..0000000
--- a/app/views/conference_registraton_form_fields/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing conference_registraton_form_fields
-
-%table
- %tr
- %th Conference
- %th Registration form field
- %th Order
- %th
- %th
- %th
-
- - @conference_registraton_form_fields.each do |conference_registraton_form_field|
- %tr
- %td= conference_registraton_form_field.conference_id
- %td= conference_registraton_form_field.registration_form_field_id
- %td= conference_registraton_form_field.order
- %td= link_to 'Show', conference_registraton_form_field
- %td= link_to 'Edit', edit_conference_registraton_form_field_path(conference_registraton_form_field)
- %td= link_to 'Destroy', conference_registraton_form_field, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Conference registraton form field', new_conference_registraton_form_field_path
diff --git a/app/views/conference_registraton_form_fields/new.html.haml b/app/views/conference_registraton_form_fields/new.html.haml
deleted file mode 100644
index 3013872..0000000
--- a/app/views/conference_registraton_form_fields/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New conference_registraton_form_field
-
-= render 'form'
-
-= link_to 'Back', conference_registraton_form_fields_path
diff --git a/app/views/conference_registraton_form_fields/show.html.haml b/app/views/conference_registraton_form_fields/show.html.haml
deleted file mode 100644
index ae99188..0000000
--- a/app/views/conference_registraton_form_fields/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b Conference:
- = @conference_registraton_form_field.conference_id
-%p
- %b Registration form field:
- = @conference_registraton_form_field.registration_form_field_id
-%p
- %b Order:
- = @conference_registraton_form_field.order
-
-= link_to 'Edit', edit_conference_registraton_form_field_path(@conference_registraton_form_field)
-\|
-= link_to 'Back', conference_registraton_form_fields_path
diff --git a/app/views/organization_statuses/_form.html.haml b/app/views/organization_statuses/_form.html.haml
deleted file mode 100644
index f434f78..0000000
--- a/app/views/organization_statuses/_form.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-= form_for @organization_status do |f|
- - if @organization_status.errors.any?
- #error_explanation
- %h2= "#{pluralize(@organization_status.errors.count, "error")} prohibited this organization_status from being saved:"
- %ul
- - @organization_status.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label :name
- = f.text_field :name
- .field
- = f.label :slug
- = f.text_field :slug
- .field
- = f.label :info
- = f.text_field :info
- .actions
- = f.submit 'Save'
diff --git a/app/views/organization_statuses/edit.html.haml b/app/views/organization_statuses/edit.html.haml
deleted file mode 100644
index eb5a774..0000000
--- a/app/views/organization_statuses/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing organization_status
-
-= render 'form'
-
-= link_to 'Show', @organization_status
-\|
-= link_to 'Back', organization_statuses_path
diff --git a/app/views/organization_statuses/index.html.haml b/app/views/organization_statuses/index.html.haml
deleted file mode 100644
index 557e62d..0000000
--- a/app/views/organization_statuses/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing organization_statuses
-
-%table
- %tr
- %th Name
- %th Slug
- %th Info
- %th
- %th
- %th
-
- - @organization_statuses.each do |organization_status|
- %tr
- %td= organization_status.name
- %td= organization_status.slug
- %td= organization_status.info
- %td= link_to 'Show', organization_status
- %td= link_to 'Edit', edit_organization_status_path(organization_status)
- %td= link_to 'Destroy', organization_status, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Organization status', new_organization_status_path
diff --git a/app/views/organization_statuses/new.html.haml b/app/views/organization_statuses/new.html.haml
deleted file mode 100644
index a68af53..0000000
--- a/app/views/organization_statuses/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New organization_status
-
-= render 'form'
-
-= link_to 'Back', organization_statuses_path
diff --git a/app/views/organization_statuses/show.html.haml b/app/views/organization_statuses/show.html.haml
deleted file mode 100644
index 0599f38..0000000
--- a/app/views/organization_statuses/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b Name:
- = @organization_status.name
-%p
- %b Slug:
- = @organization_status.slug
-%p
- %b Info:
- = @organization_status.info
-
-= link_to 'Edit', edit_organization_status_path(@organization_status)
-\|
-= link_to 'Back', organization_statuses_path
diff --git a/app/views/registration_form_fields/_conference_form.html.haml b/app/views/registration_form_fields/_conference_form.html.haml
deleted file mode 100644
index 341e462..0000000
--- a/app/views/registration_form_fields/_conference_form.html.haml
+++ /dev/null
@@ -1,6 +0,0 @@
-= sortable @conference.conference_registration_form_fields, 'registration_form_field_id', url: 'form/reorder' do |form_field|
- - ff = RegistrationFormField.find(form_field.registration_form_field_id)
- %span.drag-sort='[drag]'
- = ff.title
- %a.remove-form-field.button{:data => {:id => ff.id}}
- = _ 'registration_form_field.list.remove_from_form'
diff --git a/app/views/registration_form_fields/_form.html.haml b/app/views/registration_form_fields/_form.html.haml
deleted file mode 100644
index 680a4f0..0000000
--- a/app/views/registration_form_fields/_form.html.haml
+++ /dev/null
@@ -1,14 +0,0 @@
-= form_for @registration_form_field do |f|
- - if @conference
- = f.hidden_field :conference_id, value: @conference.id
- = f.select :field_type, RegistrationFormField::Types.keys
- - RegistrationFormField::Fields.each do |key, value|
- - options = {:html => { :classes => RegistrationFormField::TypesForField(key.to_sym).collect{|v| 'field-type-' + v.to_s} } }
- - options[:html][:classes] << 'registration-form-field-field'
- -# eval('field f, :' + key.to_s + ', :' + value[:control] + (value[:options] ? ', ' + (value[:options].map.with_index{|v, i| 'value[:options][' + i.to_s + ']'}.join(', ') || 'nil') : '') + ", classes: classes")
- - if value[:options]
- - fields = options_for_select(value[:options].first.map { |v| [_("form_field.#{v}"), v]})
- = f.send(value[:control], key.to_s, fields, options)
- - else
- = f.send(value[:control], key.to_s, options)
- = f.actions :save
diff --git a/app/views/registration_form_fields/_list.html.haml b/app/views/registration_form_fields/_list.html.haml
deleted file mode 100644
index b8cdffe..0000000
--- a/app/views/registration_form_fields/_list.html.haml
+++ /dev/null
@@ -1,6 +0,0 @@
-%ul
- - @registration_form_fields.each do |registration_form_field|
- %li
- = registration_form_field.title
- %a.add-form-field.button{:data => {:id => registration_form_field.id}}
- = _ 'registration_form_field.list.add_to_form'
diff --git a/app/views/registration_form_fields/edit.html.haml b/app/views/registration_form_fields/edit.html.haml
deleted file mode 100644
index 3f30528..0000000
--- a/app/views/registration_form_fields/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing registration_form_field
-
-= render 'form'
-
-= link_to 'Show', @registration_form_field
-\|
-= link_to 'Back', registration_form_fields_path
diff --git a/app/views/registration_form_fields/index.html.haml b/app/views/registration_form_fields/index.html.haml
deleted file mode 100644
index dcd44b6..0000000
--- a/app/views/registration_form_fields/index.html.haml
+++ /dev/null
@@ -1,29 +0,0 @@
-%h1 Listing registration_form_fields
-
-%table
- %tr
- %th Title
- %th Help
- %th Required
- %th Field type
- %th Options
- %th Is retired
- %th
- %th
- %th
-
- - @registration_form_fields.each do |registration_form_field|
- %tr
- %td= registration_form_field.title
- %td= registration_form_field.help
- %td= registration_form_field.required
- %td= registration_form_field.field_type
- %td= registration_form_field.options
- %td= registration_form_field.is_retired
- %td= link_to 'Show', registration_form_field
- %td= link_to 'Edit', edit_registration_form_field_path(registration_form_field)
- %td= link_to 'Destroy', registration_form_field, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Registration form field', new_registration_form_field_path
diff --git a/app/views/registration_form_fields/new.html.haml b/app/views/registration_form_fields/new.html.haml
deleted file mode 100644
index 7130e36..0000000
--- a/app/views/registration_form_fields/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New registration_form_field
-
-= render 'form'
-
-= link_to 'Back', registration_form_fields_path
diff --git a/app/views/registration_form_fields/show.html.haml b/app/views/registration_form_fields/show.html.haml
deleted file mode 100644
index d3468d1..0000000
--- a/app/views/registration_form_fields/show.html.haml
+++ /dev/null
@@ -1,24 +0,0 @@
-%p#notice= notice
-
-%p
- %b Title:
- = @registration_form_field.title
-%p
- %b Help:
- = @registration_form_field.help
-%p
- %b Required:
- = @registration_form_field.required
-%p
- %b Field type:
- = @registration_form_field.field_type
-%p
- %b Options:
- = @registration_form_field.options
-%p
- %b Is retired:
- = @registration_form_field.is_retired
-
-= link_to 'Edit', edit_registration_form_field_path(@registration_form_field)
-\|
-= link_to 'Back', registration_form_fields_path
diff --git a/app/views/workshop_facilitators/_form.html.haml b/app/views/workshop_facilitators/_form.html.haml
deleted file mode 100644
index d4b8741..0000000
--- a/app/views/workshop_facilitators/_form.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-= form_for @workshop_facilitator do |f|
- - if @workshop_facilitator.errors.any?
- #error_explanation
- %h2= "#{pluralize(@workshop_facilitator.errors.count, "error")} prohibited this workshop_facilitator from being saved:"
- %ul
- - @workshop_facilitator.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label :user_id
- = f.number_field :user_id
- .field
- = f.label :workshop_id
- = f.number_field :workshop_id
- .field
- = f.label :role
- = f.text_field :role
- .actions
- = f.submit 'Save'
diff --git a/app/views/workshop_facilitators/edit.html.haml b/app/views/workshop_facilitators/edit.html.haml
deleted file mode 100644
index 0ed8850..0000000
--- a/app/views/workshop_facilitators/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing workshop_facilitator
-
-= render 'form'
-
-= link_to 'Show', @workshop_facilitator
-\|
-= link_to 'Back', workshop_facilitators_path
diff --git a/app/views/workshop_facilitators/index.html.haml b/app/views/workshop_facilitators/index.html.haml
deleted file mode 100644
index aaf863a..0000000
--- a/app/views/workshop_facilitators/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing workshop_facilitators
-
-%table
- %tr
- %th User
- %th Workshop
- %th Role
- %th
- %th
- %th
-
- - @workshop_facilitators.each do |workshop_facilitator|
- %tr
- %td= workshop_facilitator.user_id
- %td= workshop_facilitator.workshop_id
- %td= workshop_facilitator.role
- %td= link_to 'Show', workshop_facilitator
- %td= link_to 'Edit', edit_workshop_facilitator_path(workshop_facilitator)
- %td= link_to 'Destroy', workshop_facilitator, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Workshop facilitator', new_workshop_facilitator_path
diff --git a/app/views/workshop_facilitators/new.html.haml b/app/views/workshop_facilitators/new.html.haml
deleted file mode 100644
index fdef139..0000000
--- a/app/views/workshop_facilitators/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New workshop_facilitator
-
-= render 'form'
-
-= link_to 'Back', workshop_facilitators_path
diff --git a/app/views/workshop_facilitators/show.html.haml b/app/views/workshop_facilitators/show.html.haml
deleted file mode 100644
index f402b93..0000000
--- a/app/views/workshop_facilitators/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b User:
- = @workshop_facilitator.user_id
-%p
- %b Workshop:
- = @workshop_facilitator.workshop_id
-%p
- %b Role:
- = @workshop_facilitator.role
-
-= link_to 'Edit', edit_workshop_facilitator_path(@workshop_facilitator)
-\|
-= link_to 'Back', workshop_facilitators_path
diff --git a/app/views/workshop_presentation_styles/_form.html.haml b/app/views/workshop_presentation_styles/_form.html.haml
deleted file mode 100644
index 70aeca6..0000000
--- a/app/views/workshop_presentation_styles/_form.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-= form_for @workshop_presentation_style do |f|
- - if @workshop_presentation_style.errors.any?
- #error_explanation
- %h2= "#{pluralize(@workshop_presentation_style.errors.count, "error")} prohibited this workshop_presentation_style from being saved:"
- %ul
- - @workshop_presentation_style.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label :name
- = f.text_field :name
- .field
- = f.label :slug
- = f.text_field :slug
- .field
- = f.label :info
- = f.text_field :info
- .actions
- = f.submit 'Save'
diff --git a/app/views/workshop_presentation_styles/edit.html.haml b/app/views/workshop_presentation_styles/edit.html.haml
deleted file mode 100644
index 3d7eca3..0000000
--- a/app/views/workshop_presentation_styles/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing workshop_presentation_style
-
-= render 'form'
-
-= link_to 'Show', @workshop_presentation_style
-\|
-= link_to 'Back', workshop_presentation_styles_path
diff --git a/app/views/workshop_presentation_styles/index.html.haml b/app/views/workshop_presentation_styles/index.html.haml
deleted file mode 100644
index 9b3fdc8..0000000
--- a/app/views/workshop_presentation_styles/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing workshop_presentation_styles
-
-%table
- %tr
- %th Name
- %th Slug
- %th Info
- %th
- %th
- %th
-
- - @workshop_presentation_styles.each do |workshop_presentation_style|
- %tr
- %td= workshop_presentation_style.name
- %td= workshop_presentation_style.slug
- %td= workshop_presentation_style.info
- %td= link_to 'Show', workshop_presentation_style
- %td= link_to 'Edit', edit_workshop_presentation_style_path(workshop_presentation_style)
- %td= link_to 'Destroy', workshop_presentation_style, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Workshop presentation style', new_workshop_presentation_style_path
diff --git a/app/views/workshop_presentation_styles/new.html.haml b/app/views/workshop_presentation_styles/new.html.haml
deleted file mode 100644
index a1a177f..0000000
--- a/app/views/workshop_presentation_styles/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New workshop_presentation_style
-
-= render 'form'
-
-= link_to 'Back', workshop_presentation_styles_path
diff --git a/app/views/workshop_presentation_styles/show.html.haml b/app/views/workshop_presentation_styles/show.html.haml
deleted file mode 100644
index 9f0f02e..0000000
--- a/app/views/workshop_presentation_styles/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b Name:
- = @workshop_presentation_style.name
-%p
- %b Slug:
- = @workshop_presentation_style.slug
-%p
- %b Info:
- = @workshop_presentation_style.info
-
-= link_to 'Edit', edit_workshop_presentation_style_path(@workshop_presentation_style)
-\|
-= link_to 'Back', workshop_presentation_styles_path
diff --git a/app/views/workshop_requested_resources/_form.html.haml b/app/views/workshop_requested_resources/_form.html.haml
deleted file mode 100644
index b1b6045..0000000
--- a/app/views/workshop_requested_resources/_form.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-= form_for @workshop_requested_resource do |f|
- - if @workshop_requested_resource.errors.any?
- #error_explanation
- %h2= "#{pluralize(@workshop_requested_resource.errors.count, "error")} prohibited this workshop_requested_resource from being saved:"
- %ul
- - @workshop_requested_resource.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label :workshop_id
- = f.number_field :workshop_id
- .field
- = f.label :workshop_resource_id
- = f.number_field :workshop_resource_id
- .field
- = f.label :status
- = f.text_field :status
- .actions
- = f.submit 'Save'
diff --git a/app/views/workshop_requested_resources/edit.html.haml b/app/views/workshop_requested_resources/edit.html.haml
deleted file mode 100644
index ec78d77..0000000
--- a/app/views/workshop_requested_resources/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing workshop_requested_resource
-
-= render 'form'
-
-= link_to 'Show', @workshop_requested_resource
-\|
-= link_to 'Back', workshop_requested_resources_path
diff --git a/app/views/workshop_requested_resources/index.html.haml b/app/views/workshop_requested_resources/index.html.haml
deleted file mode 100644
index 10281f0..0000000
--- a/app/views/workshop_requested_resources/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing workshop_requested_resources
-
-%table
- %tr
- %th Workshop
- %th Workshop resource
- %th Status
- %th
- %th
- %th
-
- - @workshop_requested_resources.each do |workshop_requested_resource|
- %tr
- %td= workshop_requested_resource.workshop_id
- %td= workshop_requested_resource.workshop_resource_id
- %td= workshop_requested_resource.status
- %td= link_to 'Show', workshop_requested_resource
- %td= link_to 'Edit', edit_workshop_requested_resource_path(workshop_requested_resource)
- %td= link_to 'Destroy', workshop_requested_resource, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Workshop requested resource', new_workshop_requested_resource_path
diff --git a/app/views/workshop_requested_resources/new.html.haml b/app/views/workshop_requested_resources/new.html.haml
deleted file mode 100644
index 376f258..0000000
--- a/app/views/workshop_requested_resources/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New workshop_requested_resource
-
-= render 'form'
-
-= link_to 'Back', workshop_requested_resources_path
diff --git a/app/views/workshop_requested_resources/show.html.haml b/app/views/workshop_requested_resources/show.html.haml
deleted file mode 100644
index 92982bc..0000000
--- a/app/views/workshop_requested_resources/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b Workshop:
- = @workshop_requested_resource.workshop_id
-%p
- %b Workshop resource:
- = @workshop_requested_resource.workshop_resource_id
-%p
- %b Status:
- = @workshop_requested_resource.status
-
-= link_to 'Edit', edit_workshop_requested_resource_path(@workshop_requested_resource)
-\|
-= link_to 'Back', workshop_requested_resources_path
diff --git a/app/views/workshop_resources/_form.html.haml b/app/views/workshop_resources/_form.html.haml
deleted file mode 100644
index 0fb4541..0000000
--- a/app/views/workshop_resources/_form.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-= form_for @workshop_resource do |f|
- - if @workshop_resource.errors.any?
- #error_explanation
- %h2= "#{pluralize(@workshop_resource.errors.count, "error")} prohibited this workshop_resource from being saved:"
- %ul
- - @workshop_resource.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label :name
- = f.text_field :name
- .field
- = f.label :slug
- = f.text_field :slug
- .field
- = f.label :info
- = f.text_field :info
- .actions
- = f.submit 'Save'
diff --git a/app/views/workshop_resources/edit.html.haml b/app/views/workshop_resources/edit.html.haml
deleted file mode 100644
index 7554b14..0000000
--- a/app/views/workshop_resources/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing workshop_resource
-
-= render 'form'
-
-= link_to 'Show', @workshop_resource
-\|
-= link_to 'Back', workshop_resources_path
diff --git a/app/views/workshop_resources/index.html.haml b/app/views/workshop_resources/index.html.haml
deleted file mode 100644
index 3864430..0000000
--- a/app/views/workshop_resources/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing workshop_resources
-
-%table
- %tr
- %th Name
- %th Slug
- %th Info
- %th
- %th
- %th
-
- - @workshop_resources.each do |workshop_resource|
- %tr
- %td= workshop_resource.name
- %td= workshop_resource.slug
- %td= workshop_resource.info
- %td= link_to 'Show', workshop_resource
- %td= link_to 'Edit', edit_workshop_resource_path(workshop_resource)
- %td= link_to 'Destroy', workshop_resource, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Workshop resource', new_workshop_resource_path
diff --git a/app/views/workshop_resources/new.html.haml b/app/views/workshop_resources/new.html.haml
deleted file mode 100644
index 5093ef7..0000000
--- a/app/views/workshop_resources/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-%h1 New workshop_resource
-
-= render 'form'
-
-= link_to 'Back', workshop_resources_path
diff --git a/app/views/workshop_resources/show.html.haml b/app/views/workshop_resources/show.html.haml
deleted file mode 100644
index f134dc0..0000000
--- a/app/views/workshop_resources/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b Name:
- = @workshop_resource.name
-%p
- %b Slug:
- = @workshop_resource.slug
-%p
- %b Info:
- = @workshop_resource.info
-
-= link_to 'Edit', edit_workshop_resource_path(@workshop_resource)
-\|
-= link_to 'Back', workshop_resources_path
diff --git a/app/views/workshop_streams/_form.html.haml b/app/views/workshop_streams/_form.html.haml
deleted file mode 100644
index 1391e7a..0000000
--- a/app/views/workshop_streams/_form.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-= form_for @workshop_stream, html: {class: 'row'} do |f|
- - if @workshop_stream.errors.any?
- #error_explanation
- %h2= "#{pluralize(@workshop_stream.errors.count, "error")} prohibited this workshop_stream from being saved:"
- %ul
- - @workshop_stream.errors.full_messages.each do |msg|
- %li= msg
-
- .field
- = f.label :name
- = f.text_field :name
- .field
- = f.label :slug
- = f.text_field :slug
- .field
- = f.label :info
- = f.text_field :info
- .actions
- = f.submit 'Save'
diff --git a/app/views/workshop_streams/edit.html.haml b/app/views/workshop_streams/edit.html.haml
deleted file mode 100644
index d4bc5a8..0000000
--- a/app/views/workshop_streams/edit.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1 Editing workshop_stream
-
-= render 'form'
-
-= link_to 'Show', @workshop_stream
-\|
-= link_to 'Back', workshop_streams_path
diff --git a/app/views/workshop_streams/index.html.haml b/app/views/workshop_streams/index.html.haml
deleted file mode 100644
index d7a04c5..0000000
--- a/app/views/workshop_streams/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-%h1 Listing workshop_streams
-
-%table
- %tr
- %th Name
- %th Slug
- %th Info
- %th
- %th
- %th
-
- - @workshop_streams.each do |workshop_stream|
- %tr
- %td= workshop_stream.name
- %td= workshop_stream.slug
- %td= workshop_stream.info
- %td= link_to 'Show', workshop_stream
- %td= link_to 'Edit', edit_workshop_stream_path(workshop_stream)
- %td= link_to 'Destroy', workshop_stream, :method => :delete, :data => { :confirm => 'Are you sure?' }
-
-%br
-
-= link_to 'New Workshop stream', new_workshop_stream_path
diff --git a/app/views/workshop_streams/new.html.haml b/app/views/workshop_streams/new.html.haml
deleted file mode 100644
index 922fdae..0000000
--- a/app/views/workshop_streams/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-- banner_title 'New workshop_stream'
-
-= render 'form'
-
-= link_to 'Back', workshop_streams_path
diff --git a/app/views/workshop_streams/show.html.haml b/app/views/workshop_streams/show.html.haml
deleted file mode 100644
index 2190d5e..0000000
--- a/app/views/workshop_streams/show.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-%p#notice= notice
-
-%p
- %b Name:
- = @workshop_stream.name
-%p
- %b Slug:
- = @workshop_stream.slug
-%p
- %b Info:
- = @workshop_stream.info
-
-= link_to 'Edit', edit_workshop_stream_path(@workshop_stream)
-\|
-= link_to 'Back', workshop_streams_path
diff --git a/app/views/workshops/show.html.haml b/app/views/workshops/show.html.haml
index 1a4c6e6..4b47898 100644
--- a/app/views/workshops/show.html.haml
+++ b/app/views/workshops/show.html.haml
@@ -3,6 +3,14 @@
= row do
= columns(medium: 12) do
%h2=_!@workshop.title
+ .workshop-interest
+ - if @workshop.interested?(current_user)
+ =_'articles.workshops.info.you_are_interested_count', "You and #{@workshop.interested_count - 1} others are interested in this workshop", :vars => {:count => (@workshop.interested_count - 1)}
+ - else
+ =_'articles.workshops.info.interested_count', "#{@workshop.interested_count} people are interested in this workshop", :vars => {:count => @workshop.interested_count}
+ - if @workshop.can_show_interest?(current_user)
+ = 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) || ''
= columns(medium: 6) do
%h3=_'articles.workshops.headings.facilitators'
diff --git a/config/locales/data/html_records/Be-the-first-to-like-a-workshop--.html b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--.html
new file mode 100644
index 0000000..d84220b
--- /dev/null
+++ b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--.html
@@ -0,0 +1,145 @@
+
+
+
+Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+My Bike!Bike!
+Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
+Proposed Workshops
+Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-1.html b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-1.html
new file mode 100644
index 0000000..cc75c00
--- /dev/null
+++ b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-1.html
@@ -0,0 +1,149 @@
+
+
+
+Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nullam Porttitor Lacus At Turpis
+
+You are interested in this workshop
+
+
+
+
Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-2.html b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-2.html
new file mode 100644
index 0000000..88db509
--- /dev/null
+++ b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1-2.html
@@ -0,0 +1,149 @@
+
+
+
+Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nullam Porttitor Lacus At Turpis
+
+No one is interested in this workshop yet
+
+
+
+
Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1.html b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1.html
new file mode 100644
index 0000000..fa14b75
--- /dev/null
+++ b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--conferences.MyBikeBike.workshops.1.html
@@ -0,0 +1,149 @@
+
+
+
+Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Nullam Porttitor Lacus At Turpis
+
+No one is interested in this workshop yet
+
+
+
+
Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Be-the-first-to-like-a-workshop--confirm.test.html b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--confirm.test.html
new file mode 100644
index 0000000..234a0c2
--- /dev/null
+++ b/config/locales/data/html_records/Be-the-first-to-like-a-workshop--confirm.test.html
@@ -0,0 +1,147 @@
+
+
+
+Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Please confirm your email address
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Broadcast-message--.html b/config/locales/data/html_records/Broadcast-message--.html
index 1d3ba71..0ca2ec8 100644
--- a/config/locales/data/html_records/Broadcast-message--.html
+++ b/config/locales/data/html_records/Broadcast-message--.html
@@ -60,8 +60,8 @@ August 14 – 18, 2015
My Bike!Bike!
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
-Proposed Workshops
-Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+Proposed Workshops
+Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
diff --git a/config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html b/config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html
index d6e82a1..17f09c4 100644
--- a/config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html
+++ b/config/locales/data/html_records/Broadcast-message--conferences.MyBikeBike.broadcast.html
@@ -78,7 +78,7 @@
-
+
@@ -94,7 +94,7 @@
-© Bike!Bike! 2015
+© Bike!Bike! 2015
diff --git a/config/locales/data/html_records/Create-workshop--.html b/config/locales/data/html_records/Create-workshop--.html
index 1d3ba71..0ca2ec8 100644
--- a/config/locales/data/html_records/Create-workshop--.html
+++ b/config/locales/data/html_records/Create-workshop--.html
@@ -60,8 +60,8 @@ August 14 – 18, 2015
My Bike!Bike!
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
-Proposed Workshops
-Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+Proposed Workshops
+Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
diff --git a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-1.html b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-1.html
index 641e19a..955a24d 100644
--- a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-1.html
+++ b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-1.html
@@ -52,6 +52,9 @@
My Workshop Title
+
+No one is interested in this workshop yet
+
Lorem Ipsum
Facilitators
diff --git a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-2.html b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-2.html
index bb4da35..9d6dca4 100644
--- a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-2.html
+++ b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-2.html
@@ -52,6 +52,9 @@
Super Awesome Workshop
+
+No one is interested in this workshop yet
+
Lorem Ipsum
Facilitators
diff --git a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-3.html b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-3.html
index 5cc0ee4..010e429 100644
--- a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-3.html
+++ b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1-3.html
@@ -52,6 +52,9 @@
Super Awesome Workshop
+
+No one is interested in this workshop yet
+
Lorem Ipsum
Facilitators
diff --git a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1.html b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1.html
index 83e9ada..78148f6 100644
--- a/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1.html
+++ b/config/locales/data/html_records/Create-workshop--conferences.MyBikeBike.workshops.1.html
@@ -52,6 +52,9 @@
My Workshop Title
+
+No one is interested in this workshop yet
+
Lorem Ipsum
Facilitators
diff --git a/config/locales/data/html_records/Like-a-workshop--.html b/config/locales/data/html_records/Like-a-workshop--.html
new file mode 100644
index 0000000..d84220b
--- /dev/null
+++ b/config/locales/data/html_records/Like-a-workshop--.html
@@ -0,0 +1,145 @@
+
+
+
+
Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+My Bike!Bike!
+Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
+Proposed Workshops
+Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-1.html b/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-1.html
new file mode 100644
index 0000000..f717092
--- /dev/null
+++ b/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-1.html
@@ -0,0 +1,149 @@
+
+
+
+
Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+In Est Risus, Auctor Sed, Tristique In, Tempus Sit Amet, Sem
+
+You and 4 others are interested in this workshop
+
+
+
+
Sed ante. Vivamus tortor. Duis mattis egestas metus.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-2.html b/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-2.html
new file mode 100644
index 0000000..d1781d5
--- /dev/null
+++ b/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1-2.html
@@ -0,0 +1,149 @@
+
+
+
+
Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+In Est Risus, Auctor Sed, Tristique In, Tempus Sit Amet, Sem
+
+4 people are interested in this workshop
+
+
+
+
Sed ante. Vivamus tortor. Duis mattis egestas metus.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1.html b/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1.html
new file mode 100644
index 0000000..4f2bacc
--- /dev/null
+++ b/config/locales/data/html_records/Like-a-workshop--conferences.MyBikeBike.workshops.1.html
@@ -0,0 +1,149 @@
+
+
+
+
Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+In Est Risus, Auctor Sed, Tristique In, Tempus Sit Amet, Sem
+
+4 people are interested in this workshop
+
+
+
+
Sed ante. Vivamus tortor. Duis mattis egestas metus.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/Like-a-workshop--confirm.test.html b/config/locales/data/html_records/Like-a-workshop--confirm.test.html
new file mode 100644
index 0000000..234a0c2
--- /dev/null
+++ b/config/locales/data/html_records/Like-a-workshop--confirm.test.html
@@ -0,0 +1,147 @@
+
+
+
+
Bike!Bike!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Please confirm your email address
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/data/html_records/See-a-more-info-link--.html b/config/locales/data/html_records/See-a-more-info-link--.html
index 9b883e0..f52213b 100644
--- a/config/locales/data/html_records/See-a-more-info-link--.html
+++ b/config/locales/data/html_records/See-a-more-info-link--.html
@@ -64,8 +64,8 @@ August 14 – 18, 2015
My Bike!Bike!
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
-Proposed Workshops
-Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+Proposed Workshops
+Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
diff --git a/config/locales/data/html_records/See-a-register-link--.html b/config/locales/data/html_records/See-a-register-link--.html
index 7b45770..f2808a6 100644
--- a/config/locales/data/html_records/See-a-register-link--.html
+++ b/config/locales/data/html_records/See-a-register-link--.html
@@ -55,8 +55,8 @@ August 14 – 18, 2015
My Bike!Bike!
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
-Proposed Workshops
-Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+Proposed Workshops
+Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
diff --git a/config/locales/data/html_records/Start-registration-from-landing-page--.html b/config/locales/data/html_records/Start-registration-from-landing-page--.html
index e1abce0..01739ad 100644
--- a/config/locales/data/html_records/Start-registration-from-landing-page--.html
+++ b/config/locales/data/html_records/Start-registration-from-landing-page--.html
@@ -55,9 +55,16 @@ August 14 – 18, 2015
My Bike!Bike!
Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.
-Proposed Workshops
-Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+Proposed Workshops
+Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process.
+
+My Awesome Workshop
+
+
+Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.
+
+
diff --git a/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html b/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html
index 8c1b53a..c037eec 100644
--- a/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html
+++ b/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-1.html
@@ -81,7 +81,7 @@
@@ -95,7 +95,7 @@
-© Bike!Bike! 2015
+© Bike!Bike! 2015
diff --git a/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html b/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
index d834542..6d48df4 100644
--- a/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
+++ b/config/locales/data/html_records/Start-registration-from-landing-page--Start-registration-from-landing-page--conferences.MyBikeBike.register-3.html
@@ -3,7 +3,7 @@
-<span class="translated-content" data-i18n-key="email.subject.registration_confirmed" data-i18n-needs-translation="1">Thank you for registering for My Bike!Bike!</span>
+<span class="translated-content" data-i18n-key="email.subject.registration_confirmed" data-i18n-needs-translation="0">Thank you for registering for My Bike!Bike!</span>