|
|
@ -68,13 +68,13 @@
|
|
|
|
<div class="ping_C mb10">
|
|
|
|
<div class="ping_C mb10">
|
|
|
|
<div class="ping_dispic"><%= link_to image_tag(url_to_avatar(comment.author),:width => 42,:height => 42), user_path(comment.author)%></div>
|
|
|
|
<div class="ping_dispic"><%= link_to image_tag(url_to_avatar(comment.author),:width => 42,:height => 42), user_path(comment.author)%></div>
|
|
|
|
<div class="ping_discon">
|
|
|
|
<div class="ping_discon">
|
|
|
|
<div class="ping_distop">
|
|
|
|
<div class="ping_distop upload_img">
|
|
|
|
<%= link_to_user_header(comment.author,false,:class => 'c_blue fb fl mb10 ') if comment.respond_to?(:author) %>
|
|
|
|
<%= link_to_user_header(comment.author,false,:class => 'c_blue fb fl mb10 ') if comment.respond_to?(:author) %>
|
|
|
|
<span class="c_grey fr">
|
|
|
|
<span class="c_grey fr">
|
|
|
|
<%= format_time(comment.created_on) %>
|
|
|
|
<%= format_time(comment.created_on) %>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<p class="upload_img"><%= comment.comments.html_safe %></p>
|
|
|
|
<p><%= comment.comments.html_safe %></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ping_disfoot">
|
|
|
|
<div class="ping_disfoot">
|
|
|
|
<%= link_to_if_authorized_course image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
|
|
|
|
<%= link_to_if_authorized_course image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
|
|
|
|