Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
73 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -9,4 +9,3 @@ tropo: | ||
US: .01 | US: .01 | ||
plivo: | plivo: | ||
US: .008 | US: .008 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
%h3 Join Ask | %h3 Join ask | ||
%div="#{ask.recipients.count} recipients / #{ask.respondents.count} respondents" | %div="#{ask.recipients.count} recipients / #{ask.respondents.count} respondents" | ||
=haml :message, locals: {message: ask.message} | =haml :message, locals: {message: ask.message} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,2 +1,2 @@ | |||
%h3 Offline Ask | %h3 Offline ask | ||
="#{ask.respondents.count} respondents" | ="#{ask.respondents.count} respondents" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,17 +1,18 @@ | |||
#new-campaign | #new-campaign | ||
%form{action: '/campaign/new', method: 'get'} | %form{action: '/campaign/new', method: 'get'} | ||
%button New Campaign | %button New Campaign | ||
%h2 Campaigns | |||
.clearfix | |||
-if @campaigns.empty? | |||
No campaigns currently running | |||
-else | |||
-@campaigns.each do |campaign| | |||
= haml :campaign_preview, locals: {campaign: campaign} | |||
%h2 Voice Unsubscribe | |||
.rounded-box | .rounded-box | ||
%h3 Unsubscribe Numbers | %p For a user to unsubscribe, they can call: | ||
%p When called, these numbers unsubscribe the caller from all future communications. | |||
-@unsubscribe_numbers.each do |n| | -@unsubscribe_numbers.each do |n| | ||
= haml :unsubscribe_number, locals: {number: n} | = haml :unsubscribe_number, locals: {number: n} | ||
%form{action: '/unsubscribe_numbers/new', method: 'get'} | %form{action: '/unsubscribe_numbers/new', method: 'get'} | ||
%button Add Another | %button Add Another | ||
%h3= "Total Unsubscribes: #{@unsubscribed_count}" | %h3= "Total Unsubscribes: #{@unsubscribed_count}" | ||
%h2 Campaigns | |||
-if @campaigns.empty? | |||
No campaigns currently running | |||
-else | |||
-@campaigns.each do |campaign| | |||
= haml :campaign_preview, locals: {campaign: campaign} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
.price-estimate | .price-estimate | ||
="Total: #{price_estimate.total_price}" | ="Total: $#{price_estimate.total_price}" | ||
="Unpriceable: #{price_estimate.unpriceable_items.count}" | ="Unpriceable: #{price_estimate.unpriceable_items.count}" | ||
="Total Items: #{price_estimate.total_item_count}" | ="Total Items: #{price_estimate.total_item_count}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters