Commit 6bab07816a6524e570945e2bcf3d776300bb3828
1 parent
767a62fc
Exists in
master
and in
22 other branches
profile_suggestions: fixed email content
* broken ul tag * link to suggestions page
Showing
1 changed file
with
8 additions
and
6 deletions
Show diff stats
app/views/user_mailer/profiles_suggestions_email.html.erb
| ... | ... | @@ -10,8 +10,8 @@ |
| 10 | 10 | <% @people_suggestions.each do |person| %> |
| 11 | 11 | <li><a href="<%= url_for(person.public_profile_url) %>"><%= person.name %></a></li> |
| 12 | 12 | <% end %> |
| 13 | - <ul> | |
| 14 | - <%= _("To see the full list of friends suggestions, follow the link: %s") % @people_suggestions_url %> | |
| 13 | + </ul> | |
| 14 | + <%= _("To see the full list of friends suggestions, follow the link: %s") % url_for(@people_suggestions_url) %> | |
| 15 | 15 | <% end %> |
| 16 | 16 | |
| 17 | 17 | <% unless @communities_suggestions.empty? %> |
| ... | ... | @@ -21,13 +21,15 @@ |
| 21 | 21 | <% @communities_suggestions.each do |community| %> |
| 22 | 22 | <li><a href="<%= url_for(community.public_profile_url) %>"><%= community.name %></a></li> |
| 23 | 23 | <% end %> |
| 24 | - <ul> | |
| 25 | - <%= _("To see the full list of communities suggestions, follow the link: %s") % @communities_suggestions_url %> | |
| 24 | + </ul> | |
| 25 | + <%= _("To see the full list of communities suggestions, follow the link: %s") % url_for(@communities_suggestions_url) %> | |
| 26 | 26 | <% end %> |
| 27 | 27 | |
| 28 | 28 | |
| 29 | 29 | <%= _("Greetings,") %> |
| 30 | 30 | |
| 31 | --- | |
| 32 | -<%= _('%s team.') % @environment %> | |
| 31 | +<p><%= _("Greetings,") %></p> | |
| 32 | + | |
| 33 | +--<br/> | |
| 34 | +<%= _('%s team.') % @environment %><br/> | |
| 33 | 35 | <%= @url %> | ... | ... |