Fix for broadster
This commit is contained in:
parent
3998a9ed4f
commit
34e72144cc
@ -67,7 +67,7 @@ class UserMailer < ActionMailer::Base
|
|||||||
def broadcast(host, subject, content, user, conference)
|
def broadcast(host, subject, content, user, conference)
|
||||||
@host = host
|
@host = host
|
||||||
@content = content
|
@content = content
|
||||||
@banner = (@host || 'http://localhost/') + (conference ? (conference.poster.preview.url || '') : image_url('logo.png'))
|
#@banner = (@host || 'http://localhost/') + (conference ? (conference.poster.preview.url || '') : image_url('logo.png'))
|
||||||
if user && user.email
|
if user && user.email
|
||||||
mail to: user.email, subject: "[#{conference ? conference.title : 'Bike!Bike!'}] #{subject}"
|
mail to: user.email, subject: "[#{conference ? conference.title : 'Bike!Bike!'}] #{subject}"
|
||||||
end
|
end
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
%p=_'articles.workshops.paragraphs.Proposed_Workshops', "Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process."
|
%p=_'articles.workshops.paragraphs.Proposed_Workshops', "Would you like to facilitate your own workshop? Simply register and visit the workshops page. If you have already registered you can access the page by restarting the registration process."
|
||||||
- if @conference.workshops
|
- if @conference.workshops
|
||||||
%ul.workshop-list
|
%ul.workshop-list
|
||||||
- @conference.workshops.each do |w|
|
- @conference.workshops.sort_by{|w| w.title}.each do |w|
|
||||||
%li
|
%li
|
||||||
%h4=w.title
|
%h4=w.title
|
||||||
.workshop-interest
|
.workshop-interest
|
||||||
|
@ -1 +1 @@
|
|||||||
=markdown @message
|
=markdown @content
|
Loading…
x
Reference in New Issue
Block a user