Sha256: d1be11289a5e4e905b49cae5100303aa02ba93d2627f1005266bad7f0a77e41f

Contents?: true

Size: 677 Bytes

Versions: 82

Compression:

Stored size: 677 Bytes

Contents

%li.search-result-item
  .row
    .col-xs-9
      .post-info
        = link_to expanded_post_url(post), class: "post-link" do
          %span.post-headline= truncate(post.headline)

        %span.meta
          %span.by
            by
          %span.author= truncate(post.author.byline)
          %span.comma= ","
          %span.post-date
            = "posted #{post.created_at.to_s(:slashes)}"

      .post-snippet
        = search_snippet(post.search_document, @search.term, length: 480)

    .col-xs-3
      - if post.thumb_image.present?
        = link_to expanded_post_url(post), class: 'post-thumb-wrap' do
          = image_tag post.thumb_image.image.url(:med_thumb)

Version data entries

82 entries across 42 versions & 1 rubygems

Version Path
virgo-0.1.12 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.12 app/views/virgo/search/_item.haml
virgo-0.1.11 app/views/virgo/search/_item.haml
virgo-0.1.11 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.10 app/views/virgo/search/_item.haml
virgo-0.1.10 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.8 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.8 app/views/virgo/search/_item.haml
virgo-0.1.7 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.7 app/views/virgo/search/_item.haml
virgo-0.1.6 app/views/virgo/search/_item.haml
virgo-0.1.6 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.5 app/views/virgo/search/_item.haml
virgo-0.1.5 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.4 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.4 app/views/virgo/search/_item.haml
virgo-0.1.3 app/views/virgo/search/_item.haml
virgo-0.1.3 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.2 spec/dummy/app/views/virgo/search/_item.haml
virgo-0.1.2 app/views/virgo/search/_item.haml