Fixed failing tests and added deployment complete email

This commit is contained in:
Godwin
2017-06-11 17:32:43 -07:00
parent eb4b3c44d6
commit e5ecf221f6
7 changed files with 63 additions and 40 deletions
@@ -30,7 +30,7 @@
%tr
%th=_!'Key'
%th=_!'Value'
- @params.each do | key, value |
- @params.each do |key, value|
%tr
%td=_!key
%td=_!value
@@ -40,7 +40,7 @@
%tr
%th=_!'Key'
%th=_!'Value'
- @request['env'].each do | key, value |
- @request['env'].each do |key, value|
%tr
%td=_!key
%td=_!value
@@ -0,0 +1 @@
%p="Deployment to #{@environment} is now complete"
@@ -3,7 +3,7 @@
- workshops.sort_by{ |w| w.title.downcase }.each do |w|
- is_interested = w.interested?(current_user)
%li{class: [is_interested ? :interested : nil]}
= content_tag("h#{depth}", w.title, class: :title)
= content_tag("h#{depth}", _!(w.title), class: :title)
.workshop-interest
- if w.can_show_interest?(current_user)
= form_tag toggle_workshop_interest_path(w.conference.slug, w.id), class: 'js-xhr' do