Sha256: 90bb2572c4de4e884b26e67a675da8f6adecc6a16f8d39a7eb1f5e9aeaecd514

Contents?: true

Size: 1.53 KB

Versions: 21

Compression:

Stored size: 1.53 KB

Contents

<div class="post"<%= onhover_show_admin_tools(:article) %>>
  <%= link_to(t('.edit'), { controller: 'admin/content', action: 'edit', id: @article.id }, { class: 'admintools', style: 'display: none', id: 'admin_article' }) %>
  <% cache @article do %>
    <h2><%= link_to_permalink @article, @article.title %></h2>
    <%= render 'articles/article_author', article: @article %>
    <% if @article.password.blank? %>
      <%= render 'articles/full_article_content', article: @article %>
    <% else %>
      <%= render 'articles/password_form', article: @article %>
    <% end %>
  <% end %>
</div>

<%= render 'article_links', article: @article %>

<% if @article.allow_comments? or @article.published_comments.size > 0 %>
  <a name="comments"></a><h4 class="blueblk"><%= t('.comments') %></h4>
  <% unless @article.comments_closed? %>
    <p class="postmetadata alt">
    <small><a href="#respond"><%= t('.leave_a_response') %></a></small>
    </p>
  <% end %>
  <%= render 'articles/comment_list' %>
<% end %>

<% if @article.published_trackbacks.any? %>
  <a name="trackbacks"></a><h4 class="blueblk"><%= t('.trackbacks') %></h4>
  <ol id="trackbackList" class="trackback-list">
    <%= render(partial: 'trackback', collection: @article.published_trackbacks) %>
  </ol>
<% end %>

<p class="postmetadata alt">
  <small>
  <a href="<%= @article.feed_url('rss') %>" title="RSS Feed"><%= t('.rss_feed') %></a>
  </small>
</p>

<% unless @article.comments_closed? %>
  <%= render 'comment_form' %>
<% else %>
  <p><%= t('.comments_are_disabled') %></p>
<% end %>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
HornsAndHooves-publify_core-10.5.0 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.4.0 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.3.0 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.2.0 app/views/articles/read.html.erb
publify_core-9.2.10 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.1.1 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.1.0 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.0.3 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.0.2 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.0.1 app/views/articles/read.html.erb
HornsAndHooves-publify_core-10.0.0 app/views/articles/read.html.erb
publify_core-9.2.9 app/views/articles/read.html.erb
publify_core-9.2.8 app/views/articles/read.html.erb
publify_core-9.2.7 app/views/articles/read.html.erb
publify_core-9.2.6 app/views/articles/read.html.erb
publify_core-9.2.5 app/views/articles/read.html.erb
publify_core-9.2.4 app/views/articles/read.html.erb
publify_core-9.2.3 app/views/articles/read.html.erb
publify_core-9.2.2 app/views/articles/read.html.erb
publify_core-9.2.1 app/views/articles/read.html.erb