Sha256: c01bed8a90d3b6c1804e96d3b91ba737e2f31d01331135bf0c0d26815a592946

Contents?: true

Size: 852 Bytes

Versions: 4

Compression:

Stored size: 852 Bytes

Contents

<%
  text = @body_text
  text = text.gsub(/%PROPOSAL_URL%/i, proposal_login_url(@proposal, host: OpenConferenceWare.mailer_host))
  text = text.gsub(/%SPEAKER_CONFIRM_URL%/i, speaker_confirm_url(@proposal, host: OpenConferenceWare.mailer_host))
  text = text.gsub(/%SPEAKER_DECLINE_URL%/i, speaker_decline_url(@proposal, host: OpenConferenceWare.mailer_host))
  text = text.gsub(/%SPEAKER_NAMES%/i, @proposal.user_titles.join(', '))
  text = text.gsub(/%PROPOSAL_TITLE%/i, @proposal.title)
  text = text.gsub(/%TRACK%/i, @proposal.track_title)
  text = text.gsub(/%AUDIENCE_LEVEL%/i, @proposal.audience_level_label)
  text = text.gsub(/%FORMAT%/i, @proposal.session_type_title.downcase)
  time = @proposal.start_time.nil? ? 'Unscheduled' : @proposal.start_time.strftime("%I:%M %p on %A, %B %d")
  text = text.gsub(/%START_TIME%/i, time)
%>
<%= text %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 app/views/open_conference_ware/speaker_mailer/speaker_email.text.erb
open_conference_ware-1.0.0.pre3 app/views/open_conference_ware/speaker_mailer/speaker_email.text.erb
open_conference_ware-1.0.0.pre2 app/views/open_conference_ware/speaker_mailer/speaker_email.text.erb
open_conference_ware-1.0.0.pre1 app/views/open_conference_ware/speaker_mailer/speaker_email.text.erb