Adds email template and settings for conference dates updates
This commit is contained in:
parent
aee73fb442
commit
75cf1123cf
4 changed files with 16 additions and 1 deletions
|
|
@ -3,7 +3,9 @@ class EmailSettings < ActiveRecord::Base
|
|||
:send_on_confirmed_without_registration, :registration_email_template,
|
||||
:accepted_email_template, :rejected_email_template, :confirmed_email_template,
|
||||
:registration_subject, :accepted_subject, :rejected_subject,
|
||||
:confirmed_without_registration_subject
|
||||
:confirmed_without_registration_subject,
|
||||
:send_on_updated_conferences_dates, :updated_conference_dates_subject
|
||||
:updated_conference_dates_template
|
||||
|
||||
def get_values(conference, user, event = nil)
|
||||
h = {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,9 @@
|
|||
= f.input :send_on_confirmed_without_registration, :label => false, :hint => "Send an email when a user has a confirmed proposal, but isn't yet registered?"
|
||||
= f.input :confirmed_without_registration_subject
|
||||
= f.input :confirmed_email_template, :input_html => { :rows => 10, :cols => 20 }
|
||||
= f.input :send_on_updated_conference_dates, hint: "This is to notify all participants that the conference dates has been changed."
|
||||
= f.input :updated_conference_dates_subject
|
||||
= f.input :updated_conference_dates_template, :input_html => { :rows => 10, :cols => 20 }
|
||||
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||
|
||||
:javascript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue