app/views/questionnaires/show.html.haml in hackathon_manager-0.13.12 vs app/views/questionnaires/show.html.haml in hackathon_manager-0.14.0

- old
+ new

@@ -10,13 +10,13 @@ %strong= @questionnaire.verbal_status.upcase - if @questionnaire.can_rsvp? - if @questionnaire.did_rsvp? - if @questionnaire.acc_status == "rsvp_confirmed" %p - Congratulations! You're all set to attend #{Rails.configuration.hackathon['name']}! - - if Rails.configuration.hackathon['thanks_for_rsvp'] - = markdown(Rails.configuration.hackathon['thanks_for_rsvp']) + Congratulations! You're all set to attend #{HackathonConfig['name']}! + - if HackathonConfig['thanks_for_rsvp_message'].present? + = markdown(HackathonConfig['thanks_for_rsvp_message']) %p.center = btn_link_to "Change RSVP", rsvp_path - else %p Please RSVP so we know if you're attending! @@ -25,12 +25,12 @@ %p.center = btn_link_to "RSVP NOW »".html_safe, rsvp_path - elsif @questionnaire.acc_status == "denied" %p - else - - if Rails.configuration.hackathon['registration_is_open'] - - if Rails.configuration.hackathon['thanks_for_applying'] - = markdown(Rails.configuration.hackathon['thanks_for_applying']) + - if HackathonConfig['registration_is_open'] + - if HackathonConfig['thanks_for_applying_message'].present? + = markdown(HackathonConfig['thanks_for_applying_message']) - else %p Thanks for applying! You will be notified of your acceptance via email. - else %p Thanks for applying!