i18n app/views/campaign_mailer/federated_creation_followup.html.erb
This commit is contained in:
parent
b7695befea
commit
962f190091
3 changed files with 58 additions and 29 deletions
|
@ -8,13 +8,13 @@
|
|||
<p><%= t('campaign_mailer.congrats_on_creating_campaign') %></p>
|
||||
<br>
|
||||
|
||||
<p><%= t('campaign_mailer.you_can_visit_at', url: content_tag(:strong, link_to(campaign_locateable_url(@campaign)) ))%>
|
||||
<p><%= t('campaign_mailer.you_can_visit_at', url: content_tag(:strong, link_to(campaign_locateable_url(@campaign), campaign_locateable_url(@campaign)) ))%>
|
||||
<br>
|
||||
|
||||
<p><%= t('campaign_mailer.before_sharing_tips')%></p>
|
||||
|
||||
<ul>
|
||||
<li><%= t('campaign_mailer.why_and_how_of_campaign_story')%></li>
|
||||
<li><%= t('campaign_mailer.why_and_how_of_campaign_story_html')%></li>
|
||||
<li><%= t('campaign_mailer.add_image_and_videos_to_campaign')%></li>
|
||||
<li><%= t('campaign_mailer.create_gift_options') %></li>
|
||||
<li><%= t('campaign_mailer.get_network_for_initial_donations') %></li>
|
||||
|
@ -24,6 +24,6 @@
|
|||
<p><%= t('campaign_mailer.check_publish_when_ready') %></p>
|
||||
<br>
|
||||
|
||||
<p><%= t('campaign_mailer.can_share_unpublished_campaign') %></p>
|
||||
<p><%= t('campaign_mailer.can_share_unpublished_campaign_html') %></p>
|
||||
|
||||
<%= render 'emails/sig' %>
|
||||
|
|
|
@ -2,31 +2,53 @@
|
|||
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
||||
<% campaign_url = Format::Url.concat(root_url, @campaign.url) %>
|
||||
|
||||
<p>Dear <%= @creator_profile.name.blank? ? @creator_profile.user.email : @creator_profile.name %>,</p>
|
||||
<p><%= t('campaign_mailer.dear_creator', creator_name: @creator_profile.name.blank? ? @creator_profile.user.email : @creator_profile.name)%></p>
|
||||
<br>
|
||||
|
||||
<p>Congratulations on creating your campaign to support <%= @campaign.nonprofit.name %>!</p>
|
||||
<p><%= t('campaign_mailer.congrats_on_creating_campaign_to_support', nonprofit_name: @campaign.nonprofit.name) %></p>
|
||||
<br>
|
||||
|
||||
<p>You can visit it here: <strong><a href='<%= campaign_url %>'><%= campaign_url %></a></strong>.</p>
|
||||
<p><%= t('campaign_mailer.you_can_visit_at', url: content_tag(:strong, link_to(campaign_locateable_url(@campaign), campaign_locateable_url(@campaign)) ))%></p>
|
||||
<br>
|
||||
<p><%= t(
|
||||
'campaign_mailer.before_sharing_add_testimonial',
|
||||
link_to_profile_fundraisers: content_tag(:strong,
|
||||
link_to(
|
||||
t('campaign_mailer.visit_your_fundraising_dashboard_inside_before_sharing_add_testimonial'),
|
||||
fundraisers_profile_url(@creator_profile))),
|
||||
link_to_campaign: content_tag(:strong,
|
||||
link_to(
|
||||
@campaign.name,
|
||||
campaign_locateable_url(@campaign)
|
||||
))) %>
|
||||
</p>
|
||||
|
||||
<p>Before you share your campaign with the world, we recommend you personalize
|
||||
your campaign by including a testimonial in your words about why
|
||||
you launched your campaign. You can also set a goal amount to inspire you and your donors.
|
||||
To edit your campaign, <strong><a href="<%= "#{profile_url(@creator_profile)}/fundraisers" %>">visit your fundraisers dashboard</a></strong> (you may be asked to login)
|
||||
and select <strong><a href='<%= campaign_url %>'><%= @campaign.name%></a></strong>.</p>
|
||||
<br>
|
||||
<p>Make sure to tell your friends and family why they should support your cause and how their contributions will make a difference. Your words and your passion can make a big difference.
|
||||
Share your fundraiser on:</p>
|
||||
<p><%= t('campaign_mailer.make_sure_to_share_with_family_and_friends')%></p>
|
||||
<ul>
|
||||
<%- if ENV['FACEBOOK_APP_ID'] -%>
|
||||
<li><%= link_to("Facebook", "https://www.facebook.com/dialog/feed?app_id=#{ENV['FACEBOOK_APP_ID']}&display=popup&caption=#{url_encode(@campaign.name)}&link=#{campaign_url}") %></li>
|
||||
<li><%= link_to("Facebook", "https://www.facebook.com/dialog/feed?#{
|
||||
{
|
||||
app_id: ENV['FACEBOOK_APP_ID'],
|
||||
display: 'popup',
|
||||
caption: @campaign.name
|
||||
link: campaign_locateable_url(@campaign)
|
||||
}.to_query
|
||||
}") %></li>
|
||||
<%- end -%>
|
||||
<li><%= link_to("Twitter", "https://twitter.com/intent/tweet?url=#{campaign_url}&via=#{Houdini.general.name}&text=#{url_encode("Join me in supporting: #{@campaign.name}")}") %></li>
|
||||
<li>Or copy and paste the link above into an email to your friends and family</li>
|
||||
<li><%= link_to("Twitter", "https://twitter.com/intent/tweet?#{
|
||||
{
|
||||
url: campaign_locateable_url(@campaign),
|
||||
via: Houdini.general.name,
|
||||
text: t('campaign_mailer.join_me_in_supporting_campaign_name', campaign_name: @campaign.name)
|
||||
}.to_query
|
||||
}")%>
|
||||
</li>
|
||||
<li><%= t('campaign_mailer.or_copy_and_paste_above_link')%></li>
|
||||
</ul>
|
||||
|
||||
<p>If you need some help getting your campaign up and running, don't hesitate to contact <strong><%= Houdini.support_email %></strong>.</p>
|
||||
<p><%= t('campaign_mailer.if_you_need_help_email_support',
|
||||
email_support: content_tag(:strong,
|
||||
Houdini.support_email)
|
||||
)%></p>
|
||||
|
||||
<%= render 'emails/sig' %>
|
||||
|
|
|
@ -4,12 +4,19 @@ en:
|
|||
campaign_mailer:
|
||||
dear_creator: Dear %{creator_name},
|
||||
congrats_on_creating_campaign: Congratulations on creating your campaign!
|
||||
you_can_visit_at: 'You can visit it here: %{url}'
|
||||
you_can_visit_at: 'You can visit it here: %{url}.'
|
||||
before_sharing_tips: 'Before you share your campaign with the world, we have a few tips that could help the success of your campaign:'
|
||||
why_and_how_of_campaign_story: 'Use your campaign story to explain <strong>why</strong> supporters should give and <strong>how</strong> their contributions will be used.'
|
||||
why_and_how_of_campaign_story_html: 'Use your campaign story to explain <strong>why</strong> supporters should give and <strong>how</strong> their contributions will be used.'
|
||||
add_image_and_videos_to_campaign: Make your campaign story more engaging with images and video.
|
||||
create_gift_options: Create one-time or recurring gift options (recurring gift options are a powerful way to create sustainability for your organization).
|
||||
get_network_for_initial_donations: Get a few people in your network to make initial donations.
|
||||
get_network_prepared_for_launch: Inform people in your network before your campaign launches so that they can be prepared to share it and contribute to it.
|
||||
check_publish_when_ready: Once your campaign is ready to go, you can check the 'Publish' box on your campaign settings.
|
||||
can_share_unpublished_campaign: <strong>Note:</strong> You can still share an unpublished campaign, but it will not show up on your nonprofit profile page or on your campaign listing page.
|
||||
can_share_unpublished_campaign_html: <strong>Note:</strong> You can still share an unpublished campaign, but it will not show up on your nonprofit profile page or on your campaign listing page.
|
||||
congrats_on_creating_campaign_to_support: Congratulations on creating your campaign to support %{nonprofit_name}!
|
||||
before_sharing_add_testimonial: Before you share your campaign with the world, we recommend you personalize your campaign by including a testimonial in your words about why you launched your campaign. You can also set a goal amount to inspire you and your donors. To edit your campaign, %{link_to_profile_fundraisers} (you may be asked to login) and select %{link_to_campaign}.
|
||||
visit_your_fundraising_dashboard_inside_before_sharing_add_testimonial: visit your fundraisers dashboard
|
||||
make_sure_to_share_with_family_and_friends: 'Make sure to tell your friends and family why they should support your cause and how their contributions will make a difference. Your words and your passion can make a big difference. Share your fundraiser on:'
|
||||
join_me_in_supporting_campaign_name: 'Join me in supporting: %{campaign_name}'
|
||||
or_copy_and_paste_above_link: Or copy and paste the link above into an email to your friends and family
|
||||
if_you_need_help_email_support: If you need some help getting your campaign up and running, don't hesitate to contact %{email_support}
|
Loading…
Reference in a new issue