Sha256: e85f0b552ee963c69eda78002a3a144f01acbcbf03ccb45fa65fffaa8bf1710e

Contents?: true

Size: 1004 Bytes

Versions: 1

Compression:

Stored size: 1004 Bytes

Contents

<div class='category-excerpt <%= "border" if @article_counter >= 0 %>' id="article-<%= article.id %>">
  <h2><%= (controller.controller_name == 'redirect') ? article.title : link_to_permalink(article,article.title) %></h2>
  <% if article.password.nil? or article.password.empty? %>
    <% if article.excerpt? %>
      <%= article.excerpt %>
    <% else %>
      <% if article.extended %>
        <% article.body = article.body + link_to_permalink(article, "[...]") %>
        <%= article.html(:body) %>
      <% else %>
        <%= article.html(:body) %>
        <%= article.html(:extended) %>
      <% end %>
    <% end %>
  <% else %>
    <%= render :partial => 'articles/password_form', :locals => { :article => article } %>
  <% end %>
  <div class='author'>
    Published on <%= _(article.published_at.utc.strftime(_("%%a, %%d %%b %%Y %%H:%%M", article.published_at.utc))) %>
  </div>
  <div class='comments'>
    <%= display_comments_counter(article) %>
  </div>
</div>

<% @article_counter+=1 %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typo-5.5 themes/true-blue-3/views/tags/_article.html.erb