Sha256: 01b87e81002b31cf7d03579ad08e5f9ce069e562ba4441b94766a7035613add8

Contents?: true

Size: 1.22 KB

Versions: 21

Compression:

Stored size: 1.22 KB

Contents

<div class="article first">

<% cache article do %>

  <% unless article.image_url.blank? %>
    <div class="hero_image">
      <%= link_to article_path(article) do %>
        <img src="<%= article.image_url %>" alt="<%= article.title %>" />
      <% end %>
    </div>
  <% end %>

  <div class="article_header">
    <h1><%= link_to article.title, article_path(article) %></h1>
    <h2><%= article.sub_title %></h2>
    <div class="author_name"><span>by</span> <%= display_article_authors(article) %></div>
  </div>

  <div class="article_teaser">
    <%= render_teaser(article, article_counter) %>
  </div>

  <div class="article_content">
    <%= markdown article.content %>
    <% if article.document? %>
    <div class="article_document">
      <%= link_to "Download #{article.document.file.filename}", article.document_url %>
    </div>
    <% end %>
  </div>

  <% unless article.gplus_url.blank? %>
    <div class="article_googleplus">
      <a href="<%= article.gplus_url %>">Discuss this article at Google+</a>
    </div>
  <% end %>
  
  <hr>

  <div class="article_footer">
    Written on <span class="published_at"><%= article.published_at.to_date %></span> by <%= display_article_authors(article, true) %>
  </div>
  
<% end %>
</div>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
jeygeethanmedia-inkpen-1.2.6.2 app/views/lines/articles/_article.html.erb
jeygeethanmedia-inkpen-1.2.6.1 app/views/lines/articles/_article.html.erb
lines-engine-1.2.6.1 app/views/lines/articles/_article.html.erb
lines-engine-1.2.6 app/views/lines/articles/_article.html.erb
lines-engine-1.2.5 app/views/lines/articles/_article.html.erb
lines-engine-1.2.3 app/views/lines/articles/_article.html.erb
lines-engine-1.2.2 app/views/lines/articles/_article.html.erb
lines-engine-1.2.1.1 app/views/lines/articles/_article.html.erb
lines-engine-1.2.1 app/views/lines/articles/_article.html.erb
lines-engine-1.2 app/views/lines/articles/_article.html.erb
lines-engine-1.1.5.3 app/views/lines/articles/_article.html.erb
lines-engine-1.1.5.2 app/views/lines/articles/_article.html.erb
lines-engine-1.1.5.1 app/views/lines/articles/_article.html.erb
lines-engine-1.1.5 app/views/lines/articles/_article.html.erb
lines-engine-1.1.4 app/views/lines/articles/_article.html.erb
lines-engine-1.1.3 app/views/lines/articles/_article.html.erb
lines-engine-1.1.2 app/views/lines/articles/_article.html.erb
lines-engine-1.1.1 app/views/lines/articles/_article.html.erb
lines-engine-1.1.0 app/views/lines/articles/_article.html.erb
lines-engine-1.0.0 app/views/lines/articles/_article.html.erb