mashirozx/mastodon

View on GitHub
app/views/user_mailer/welcome.text.erb

Summary

Maintainability
Test Coverage
<%= t 'user_mailer.welcome.title', name: @resource.account.username %> <%= t 'user_mailer.welcome.explanation' %>

===

<%= t 'user_mailer.welcome.full_handle' %> (<%= "@#{@resource.account.local_username_and_domain}" %>)
<%= t 'user_mailer.welcome.full_handle_hint', instance: @instance %>
<% unless @password.nil? || @password.empty? %>

<%= t 'user_mailer.welcome.random_password' %> (<%= @password %>)
<%= t 'user_mailer.welcome.random_password_hint' %>
<% end %>

---

<%= t 'user_mailer.welcome.edit_profile_step' %>

=> <%= settings_profile_url %>

<%= t 'user_mailer.welcome.review_preferences_step' %>

=> <%= settings_preferences_url %>

<%= t 'user_mailer.welcome.final_step' %>

=> <%= web_url %>

---

<%= t 'user_mailer.welcome.tips' %>

* <%= t 'user_mailer.welcome.tip_mobile_webapp' %>
* <%= t 'user_mailer.welcome.tip_following' %>
* <%= t 'user_mailer.welcome.tip_local_timeline', instance: @instance %>
* <%= t 'user_mailer.welcome.tip_federated_timeline' %>