mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-31 06:31:41 +00:00
Improve enterprise mails
Make messages with required user action callouts (light blue boxes), i.e. 'How to find the admin area' and 'Contact Enterprise XYZ if you don't know why you are invited to be a manager'. Extend the 'How to find the admin area' text to small screens but recommend using large screens at the same time.
This commit is contained in:
@@ -13,8 +13,10 @@
|
||||
= t('.confirm_your_email_html', enterprise: @enterprise.name)
|
||||
%p
|
||||
= t('.set_a_password')
|
||||
%p
|
||||
= t('.mistakenly_sent', owner_email: @enterprise.owner.email)
|
||||
%p.callout
|
||||
= t('.mistakenly_sent', enterprise: @enterprise.name)
|
||||
%a{:href => "mailto:#{@enterprise.owner.email}", :target => "_blank"}
|
||||
= @enterprise.owner.email
|
||||
|
||||
= render 'shared/mailers/signoff_instance'
|
||||
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
|
||||
%p
|
||||
= t(".userguide_html", link: link_to(t(".userguide"), ContentConfig.user_guide_link))
|
||||
%p
|
||||
%p.callout
|
||||
= t(".admin_html", link: link_to(t(".admin_panel"), spree.admin_dashboard_url))
|
||||
|
||||
%p
|
||||
= t(".community_html", link: link_to(t(".join_community"), ContentConfig.community_forum_url))
|
||||
|
||||
|
||||
@@ -392,7 +392,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
registered: "%{enterprise} is now part of %{sitename}!"
|
||||
userguide_html: "The User Guide with detailed support for setting up your Producer or Hub is here: %{link}"
|
||||
userguide: "Open Food Network User Guide"
|
||||
admin_html: "You can manage your account by logging into the %{link} or by clicking on the cog in the top right hand side of the homepage, and selecting Administration."
|
||||
admin_html: "You can manage your account by logging into the %{link} or by clicking on the user icon in the top right hand side of the homepage, and selecting Administration. On small screens you can find the administration link in the main menu, which is located in the top left corner of the screen. However it is recommended to use a laptop or computer for best usability of the administration area."
|
||||
admin_panel: "Admin Panel"
|
||||
community_html: "We also have an online forum for community discussion related to OFN software and the unique challenges of running a food enterprise. You are encouraged to join in. We are constantly evolving and your input into this forum will shape what happens next. %{link}"
|
||||
join_community: "Join the community"
|
||||
@@ -401,7 +401,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
invited_to_manage_html: "You have been invited to manage <strong>%{enterprise}</strong> on %{instance}."
|
||||
confirm_your_email_html: "You should have received or will soon receive an email with a confirmation link. You won’t be able to access <strong>%{enterprise}'s</strong> profile until you have confirmed your email."
|
||||
set_a_password: "You will then be prompted to set a password before you are able to administer the enterprise."
|
||||
mistakenly_sent: "Not sure why you have received this email? Please contact %{owner_email} for more information."
|
||||
mistakenly_sent: "Not sure why you have received this email? Please contact %{enterprise} for more information by clicking the following link:"
|
||||
payment_mailer:
|
||||
authorize_payment:
|
||||
subject: "Please authorize your payment for order %{number} at %{distributor}"
|
||||
|
||||
Reference in New Issue
Block a user