diff --git a/app/mailers/videolisting_mailer.rb b/app/mailers/videolisting_mailer.rb index 2aa58c3..248f21a 100644 --- a/app/mailers/videolisting_mailer.rb +++ b/app/mailers/videolisting_mailer.rb @@ -2,8 +2,7 @@ class VideolistingMailer < ActionMailer::Base default from: "noreply@propelmarketing.com" def videolisting_complete(videolisting) - @to = videolisting.campaign.vpa_email @listing = videolisting - mail(to: @to, subject: "A Video Listing has been completed by Better Video") + mail(to: videolisting.campaign.vpa_email, subject: "A Video Listing has been completed by Better Video") end end diff --git a/app/views/videolisting_mailer/videolisting_complete.html.erb b/app/views/videolisting_mailer/videolisting_complete.html.erb index 915cd5d..333f481 100644 --- a/app/views/videolisting_mailer/videolisting_complete.html.erb +++ b/app/views/videolisting_mailer/videolisting_complete.html.erb @@ -1,11 +1,16 @@ -
- - - -The video listing with video code: <%= @listing.videocode %> has been completed by Better video.
-<%= link_to "Preview Video Before setting live.", campaign_videolisting_url(@listing.campaign.listingcode, @listing.videocode) %>
- + + + + +Hi <%= @listing.campaign.vpa %>,
+The video listing with video code: <%= @listing.videocode %> has been completed by Better video.
+<%= link_to ".", campaign_videolisting_url(@listing.campaign.listingcode, @listing.videocode) %>
+To get started, please visit the link above. There will you find the video preview to make sure everything looks good.
+Once you preview the video, please press the "copy to clipboard" button to + copy the listing ID and paste that into the responsive widget.
+ \ No newline at end of file diff --git a/app/views/videolisting_mailer/videolisting_complete.text.erb b/app/views/videolisting_mailer/videolisting_complete.text.erb index f930888..b8f332d 100644 --- a/app/views/videolisting_mailer/videolisting_complete.text.erb +++ b/app/views/videolisting_mailer/videolisting_complete.text.erb @@ -1,5 +1,12 @@ A Video listing is complete. ============================== + +Hi <%= @listing.campaign.vpa %>, + The video listing with video code: <%= @listing.videocode %> has been completed by Better video. -<%= campaign_videolisting_url(@listing.campaign.listingcode, @listing.videocode) %> \ No newline at end of file +<%= campaign_videolisting_url(@listing.campaign.listingcode, @listing.videocode) %> + +To get started, please visit the URL above. There will you find the video preview to make sure everything looks good. + +Once you preview the video, please press the "copy to clipboard" button to copy the listing ID and paste that into the responsive widget. \ No newline at end of file diff --git a/app/views/videolistings/show.html.erb b/app/views/videolistings/show.html.erb index be5017a..f195c49 100644 --- a/app/views/videolistings/show.html.erb +++ b/app/views/videolistings/show.html.erb @@ -1,3 +1,8 @@ +<% content_for :extra_head do %> + + +<% end %> +