Noosfero/noosfero

View on GitHub
app/views/user_mailer/profiles_suggestions_email.html.erb

Summary

Maintainability
Test Coverage
<%= _('Hi, %{recipient}!') % { :recipient => @recipient } %>

<p><%= _('We want to give you some suggestions to grow up your network.') %></p>
<p><%= _('Check it out!') %></p>

<% unless @people_suggestions.empty? %>
  <p><%= _('Friends suggestions:') %></p>

  <ul>
    <% @people_suggestions.each do |person| %>
    <li><a href="<%= url_for(person.public_profile_url) %>"><%= person.name %></a></li>
    <% end %>
  </ul>
  <%= _("To see the full list of friends suggestions, follow the link: %s") % url_for(@people_suggestions_url) %>
<% end %>

<% unless @communities_suggestions.empty? %>
  <p><%= _('Communities suggestions:') %></p>

  <ul>
    <% @communities_suggestions.each do |community| %>
    <li><a href="<%= url_for(community.public_profile_url) %>"><%= community.name %></a></li>
    <% end %>
  </ul>
  <%= _("To see the full list of communities suggestions, follow the link: %s") % url_for(@communities_suggestions_url) %>
<% end %>


<p><%= _("Greetings,") %></p>

--<br/>
<%= _('%s team.') % @environment.name %><br/>
<%= @url %>