diff --git a/app/views/person_notifier/mailer/_create_article.html.erb b/app/views/person_notifier/mailer/_create_article.html.erb index caf2e19..75acaaf 100644 --- a/app/views/person_notifier/mailer/_create_article.html.erb +++ b/app/views/person_notifier/mailer/_create_article.html.erb @@ -1,10 +1,9 @@ -
+ | <%= link_to(profile_image(activity.user, :minor), activity.user.url) %> |
- + <%= link_to activity.user.short_name(20), activity.user.url %> <%= _("has published on community %s") % link_to(activity.target.profile.short_name(20), activity.target.profile.url, :style => "color: #333; font-weight: bold; text-decoration: none;") if activity.target.profile.is_a?(Community) %> <%= time_ago_as_sentence(activity.created_at) %> @@ -24,4 +23,3 @@ <%= render :partial => 'profile_comments', :locals => { :activity => activity } %> |
+ | <%= link_to(profile_image(activity.user, :minor), activity.user.url) %> |
- + <%= link_to activity.user.name, activity.user.url %> <%= describe activity %> <%= time_ago_as_sentence(activity.created_at) %> @@ -16,4 +15,3 @@ <%= render :partial => 'profile_comments', :locals => { :activity => activity } %> |
+ | <%= link_to(profile_image(activity.user, :minor), activity.user.url) %> |
- + <%= link_to activity.user.name, activity.user.url %> <%= describe activity %> <%= time_ago_as_sentence(activity.created_at) %> |
+
+
-<% end %>
+
+ <%= link_to @url, :style => "text-decoration: none;" do %>
+ <%= @environment %>
+ <% end %>
+ <%= _("%s's network activity") % @profile.name %>
+
+
+ <% @notifications.each do |activity| %>
+
+
+
+ <% end %>
+
+
<%= _("Greetings,") %> +<%= _('%s team.') % @environment %> +<%= link_to @url, url_for(@url) %> + |
<%= _("Greetings,") %>
---
-<%= _('%s team.') % @environment %>
-<%= url_for @url %>
-