Sha256: 3b567f6eb6e817b80a0bfd0eab90f144f709875b9aa376cd842beafa9f0f7be6

Contents?: true

Size: 532 Bytes

Versions: 13

Compression:

Stored size: 532 Bytes

Contents

%h3.head Spam Comments
.well
  = render "topbar"
  - if @comments.empty?
    There aren't any spam comments at the moment. Congratulations!
  - else
    - @comments.each do |comment|
      .well
        %h5
          = "#{comment.author_name} said #{time_ago_in_words comment.created_at} ago:"
        = comment.body
        .actions
          - if can? :delete, comment
            = link_to post_comment_path(comment.post, comment), :confirm => 'Are you sure?', :method => :delete, :class => "" do
              %i.icon-trash.icon

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
almanac-0.8.0 app/views/almanac/comments/spam.html.haml
almanac-0.7.4 app/views/almanac/blogs/spam.html.haml
almanac-0.7.3 app/views/almanac/blogs/spam.html.haml
almanac-0.7.2 app/views/almanac/blogs/spam.html.haml
almanac-0.7.1 app/views/almanac/blogs/spam.html.haml
almanac-0.6.1 app/views/almanac/blogs/spam.html.haml
almanac-0.6.0 app/views/almanac/blogs/spam.html.haml
almanac-0.5.3 app/views/almanac/blogs/spam.html.haml
almanac-0.5.2 app/views/almanac/blogs/spam.html.haml
almanac-0.5.1 app/views/almanac/blogs/spam.html.haml
almanac-0.5.0 app/views/almanac/blogs/spam.html.haml
almanac-0.4.5 app/views/almanac/blogs/spam.html.haml
almanac-0.4.4 app/views/almanac/blogs/spam.html.haml