cirandas.net

ref: master

app/views/person_notifier/mailer/_comment.html.erb


<% Comment %>
<% Profile %>
<% Person %>

<% if comment.author %> <%= link_to profile_image(comment.author, :minor), comment.author_url, :class => 'comment-picture', :title => comment.author_name %> <% end %> <%= comment.author.present? ? link_to(comment.author_name, comment.author.url, :style => "font-size: 12px; color: #333; font-weight: bold; text-decoration: none;") : content_tag('strong', comment.author_name) %> <% unless comment.title.blank? %> <%= comment.title %>
<% end %> <%= txt2html comment.body %>
<%= time_ago_in_words(comment.created_at) %>
<% unless comment.replies.blank? %>
    <% comment.replies.each do |reply| %> <%= render :partial => 'comment', :locals => { :comment => reply } %> <% end %>
<% end %>