Sha256: 627dea279549eaa1ed268c9be7710acaefc5ea5172404a88f211e41bed2676d7

Contents?: true

Size: 883 Bytes

Versions: 9

Compression:

Stored size: 883 Bytes

Contents

<li id='<%= dom_id(comment) %>'>
  <div class='item'>
    <div class='icon' style="background-image:url(http://www.gravatar.com/avatar/<%=Digest::MD5.hexdigest(comment.email.downcase)%>?s=28&d=identicon)"></div>
    <div class='action_links'>
      <% unless comment.is_published? %>
        <%= link_to 'Publish', publish_admin_blog_comment_path(comment), :remote => true, :method => :put %>
      <% end %>
      <%= link_to 'Delete', admin_blog_comment_path(comment), :method => 'delete', :confirm => 'Are you sure?' %>
    </div>
    <div class='label'>
      <div class='sublabel'>
        <em>
          <%= time_ago_in_words(comment.created_at) %> ago 
          <strong><%= mail_to(comment.email, comment.author) %></strong> wrote
        </em>
      </div>
    </div>
    <div class='content'>
      <%= simple_format(auto_link(comment.content)) %>
    </div>
  </div>
</li>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
comfy_blog-0.1.8 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.7 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.6 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.5 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.4 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.3 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.2 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.1 app/views/admin/blog/comments/_comment.html.erb
comfy_blog-0.1.0 app/views/admin/blog/comments/_comment.html.erb