<%= t("mailers.new_actions_notification_rake_created.hi", name: @proposal.author.name) %>

<%= t("mailers.new_actions_notification_rake_created.introduction", created_at_day: @proposal.created_at.day, created_at_month: @proposal.created_at.strftime("%B"), title: @proposal.title) %>

<%= t("mailers.new_actions_notification_rake_created.text_1", link_to_published: link_to(proposal_dashboard_url(@proposal), proposal_dashboard_url(@proposal))).html_safe %>

<%= t("mailers.new_actions_notification_rake_created.text_2") %>


<%= t("mailers.new_actions_notification_rake_created.text_3") %>


<% first_resource = @new_actions.resources.first %> <% if first_resource.present? %> <%= t("mailers.new_actions_notification_rake_created.new_resource") %>
<% end %> <% first_proposed_action = @new_actions.proposed_actions.first %> <% if first_proposed_action.present? %>

<%= t("mailers.new_actions_notification_rake_created.text_4") %>


<% end %> <% if @new_actions.proposed_actions.count > 1 %> <% second_proposed_action = @new_actions.proposed_actions.second %>

<%= t("mailers.new_actions_notification_rake_created.text_5") %>


<% end %>

<%= t("mailers.new_actions_notification_rake_created.footer_text") %>


<%= link_to proposal_dashboard_url(@proposal), style: "font-family: 'Open Sans',arial,sans-serif; background: #3700fd; border-radius: 6px; color: #fff !important; font-weight: bold; padding: 17px 20px; text-align: center; text-decoration: none; font-size: 20px; min-width: 200px; display: inline-block;", target: "_blank" do %> <%= t("mailers.new_actions_notification_rake_created.dashboard_button") %> <% end %>