Sha256: 3712b27cdbe5eef3070a02c37490c1c246baca12764f35376911c8e0a2d70c20

Contents?: true

Size: 1.42 KB

Versions: 6

Compression:

Stored size: 1.42 KB

Contents

<div class="article" id="article-<%= @article.id %>">
  <h1><%= link_to_permalink(@article,@article.title) %></h1>
  <%= @article.html(:body) %>
  <%= @article.html(:extended) %>

  <div id='meta'>
    <p>
      <%= _(@article.published_at.utc.strftime(_("%%a, %%d %%b %%Y %%H:%%M", @article.published_at.utc))) %>
      <%= category_links(@article) unless @article.categories.empty? %>
    </p>
    <p><%= tag_links(@article) unless @article.tags.empty? %></p>
  </div>

  <% if @article.user.twitter and @article.user.show_twitter %>
  <h2 id='twitter'>
    <%= _("If you liked this article you can %s", link_to(_("add me to Twitter"), "http://twitter.com/#{@article.user.twitter}"))%>
  </h2>
  <% end %>

  <% if @article.allow_comments? or @article.published_comments.size > 0 -%>
  <h3 class="feedback" id="commentaires">
    <%= display_comments_counter(@article) %>
    <a href="#commentform" ref="nofollow"> &raquo;</a>
  </h3>
  <%= render :partial => "/articles/comment_list" %>
  <% end -%>

  <%= render :partial => '/articles/comment_form' if @article.allow_comments? %>

  <% if @article.allow_pings? -%>
  <h5 class="feedback" id="trackbacks"><%= _('Trackbacks for')%> <em><%= @article.title %></em></h5>
  <% unless @article.published_trackbacks.blank? -%>
  <ol id="trackbacks" class="trackbacks">
    <%= render(:partial => "/articles/trackback", :collection => @article.published_trackbacks) %>
  </ol>
  <% end -%>
  <% end -%>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typo-5.5 themes/true-blue-3/views/articles/read.html.erb
typo-5.4.4 themes/true-blue-3/views/articles/read.html.erb
typo-5.4.3 themes/true-blue-3/views/articles/read.html.erb
typo-5.4.2 themes/true-blue-3/views/articles/read.html.erb
typo-5.4.1 themes/true-blue-3/views/articles/read.html.erb
typo-5.4 themes/true-blue-3/views/articles/read.html.erb