[noosfero/noosfero][master] profile_suggestions: fixed email content

Daniela Feitosa gitlab at gitlab.com
Thu Apr 23 16:41:26 BRT 2015


Daniela Feitosa pushed to branch master at Noosfero / noosfero


Commits:
6bab0781 by Daniela Feitosa at 2015-04-23T16:36:48Z
profile_suggestions: fixed email content

* broken ul tag
* link to suggestions page

- - - - -


1 changed file:

- app/views/user_mailer/profiles_suggestions_email.html.erb


Changes:

=====================================
app/views/user_mailer/profiles_suggestions_email.html.erb
=====================================
--- a/app/views/user_mailer/profiles_suggestions_email.html.erb
+++ b/app/views/user_mailer/profiles_suggestions_email.html.erb
@@ -10,8 +10,8 @@
     <% @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") % @people_suggestions_url %>
+  </ul>
+  <%= _("To see the full list of friends suggestions, follow the link: %s") % url_for(@people_suggestions_url) %>
 <% end %>
 
 <% unless @communities_suggestions.empty? %>
@@ -21,13 +21,15 @@
     <% @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") % @communities_suggestions_url %>
+  </ul>
+  <%= _("To see the full list of communities suggestions, follow the link: %s") % url_for(@communities_suggestions_url) %>
 <% end %>
 
 
 <%= _("Greetings,") %>
 
---
-<%= _('%s team.') % @environment %>
+<p><%= _("Greetings,") %></p>
+
+--<br/>
+<%= _('%s team.') % @environment %><br/>
 <%= @url %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/6bab07816a6524e570945e2bcf3d776300bb3828
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150423/33745371/attachment-0001.html>


More information about the Noosfero-dev mailing list