Sha256: 97f576525167f8d6730c8671c946d621d653c354a666308fc360543e14f2cfc9

Contents?: true

Size: 581 Bytes

Versions: 2

Compression:

Stored size: 581 Bytes

Contents

- sourcename = !article.infosource.nil? ? article.infosource.sourcename : t(:unknown_infosource)
.article
  .article_title
    = link_to_unless_current(article.title, { :controller => 'article', :action => 'show', :id => article.id })
  .article_source
    - if article.url
      = link_to sourcename, article.url
    - else
      = sourcename
  .article_summary
    = RedCloth.new(article.summary.to_s).to_html
  %br
  .article_body
    = RedCloth.new(article.body.to_s).to_html
  %br
  .article_published
    = I18n.localize article.published_at unless article.published_at.nil?

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solarsearch-0.0.10 app/views/article/_article.html.haml
solarsearch-0.0.9 app/views/article/_article.html.haml