Commit 6bab07816a6524e570945e2bcf3d776300bb3828
1 parent
767a62fc
Exists in
master
and in
29 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,8 +10,8 @@ | ||
10 | <% @people_suggestions.each do |person| %> | 10 | <% @people_suggestions.each do |person| %> |
11 | <li><a href="<%= url_for(person.public_profile_url) %>"><%= person.name %></a></li> | 11 | <li><a href="<%= url_for(person.public_profile_url) %>"><%= person.name %></a></li> |
12 | <% end %> | 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 | <% end %> | 15 | <% end %> |
16 | 16 | ||
17 | <% unless @communities_suggestions.empty? %> | 17 | <% unless @communities_suggestions.empty? %> |
@@ -21,13 +21,15 @@ | @@ -21,13 +21,15 @@ | ||
21 | <% @communities_suggestions.each do |community| %> | 21 | <% @communities_suggestions.each do |community| %> |
22 | <li><a href="<%= url_for(community.public_profile_url) %>"><%= community.name %></a></li> | 22 | <li><a href="<%= url_for(community.public_profile_url) %>"><%= community.name %></a></li> |
23 | <% end %> | 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 | <% end %> | 26 | <% end %> |
27 | 27 | ||
28 | 28 | ||
29 | <%= _("Greetings,") %> | 29 | <%= _("Greetings,") %> |
30 | 30 | ||
31 | --- | ||
32 | -<%= _('%s team.') % @environment %> | 31 | +<p><%= _("Greetings,") %></p> |
32 | + | ||
33 | +--<br/> | ||
34 | +<%= _('%s team.') % @environment %><br/> | ||
33 | <%= @url %> | 35 | <%= @url %> |
-
mentioned in commit 083d29d3651b5b90ca598978b8dee7a5f3a05b41