0
<% with_options :controller => 'articles', :id => event.article_id do |article| -%>
0
<li id="event-<%= event.id %>" class="event-comment<%= " shade" if shaded %>">
0
<div id="comment-<%= event.comment_id %>">
0
-
<%= link_to event.article.title, :controller => 'articles', :action => 'comments', :id => event.article_id, :anchor => "comment-#{event.comment_id}" %> received a comment.
0
+
<%= link_to event.article.title, :controller => 'articles', :action => 'comments', :id => event.article_id, :anchor => "comment-#{event.comment_id}" %> received a comment.
0
- <span class="event-time"><%= event_time_for event, later %></span>
0
- <% unless event.body.blank? -%>
0
- <blockquote><p>"<%= truncate strip_tags(event.body), 100 %>"</p></blockquote>
0
- — <%=h event.author %>
0
+ <span class="event-time"><%= event_time_for event, later %></span>
0
+ <% unless event.body.blank? -%>
0
+ <blockquote><p>"<%= truncate strip_tags(event.body), 100 %>"</p></blockquote>
0
+ <span class="meta">— <%=h event.author %></span>
0
- <% if event.comment -%>
0
- <% if event.comment.approved? -%>
0
- <%= link_to_remote 'Unapprove', :url => unapprove_article_comment_path(event.article_id, event.coment_id) %> |
0
- <%= link_to_remote 'Approve', :url => approve_article_comment_path(event.article_id, event.coment_id) %> |
0
+ <% if event.comment -%>
0
+ <% if event.comment.approved? -%>
0
+ <%= link_to_remote 'Unapprove', :url => unapprove_article_comment_path(event.article_id, event.comment_id) %> |
0
+ <%= link_to_remote 'Approve', :url => approve_article_comment_path(event.article_id, event.comment_id) %> |
0
+ <%= link_to_remote 'Delete', :url => article_comment_path(event.article_id, event.comment_id), :method => :delete %>
0
- <%= link_to_remote 'Delete', :url => article_comment_path(event.article_id, event.coment_id), :method => :delete %>
Comments
No one has commented yet.