Sha256: c87ab4a3f435f94cee5d107178b0f7a6dedc56dd30012a2c9d611c6447bbb0f8
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 KB
Contents
<div class="atomentry" id="article-<%= article.id %>"> <h2 class="title"> <%= (controller.action_name.include? 'permalink') ? article.title : link_to_permalink(article,article.title) %> </h2> <div class="author"> Posted by <cite><%= author_link(article) %></cite> <abbr class="published" title="<%= article.published_at.xmlschema %>"><%= js_distance_of_time_in_words_to_now article.published_at %></abbr> </div> <div class="content"> <% if article.password.nil? or article.password.empty? %> <% unless controller.action_name == 'redirect' %> <% if article.excerpt? %> <%= article.excerpt %> <% else %> <%= article.html(:body) %> <% if article.extended? %> <div class="extended"> <p><%= link_to_permalink article, _("Continue reading") + "..." %></p> </div> <% end %> <% end %> <% else %> <%= article.html(:body) %> <div class="extended"> <%= article.html(:extended) %> </div> <% end %> <% else %> <%= render :partial => 'articles/password_form', :locals => { :article => article } %> <% end %> </div> <p class="info"> <%= content_tag(:span, category_links(article) << ' | ', :class => 'categories') unless article.categories.empty? %> <%= comments_link(article) << ' | ' if article.allow_comments? %> <% if controller.controller_name == 'articles' and controller.action_name == 'show' %> <%= content_tag(:span, tag_links(article) << ' | ', :class => 'tags') unless article.tags.empty? %> <a href="<%= @auto_discovery_url_atom %>">atom</a> <% end %> </p> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typo-5.5 | themes/dirtylicious/views/articles/_article.html.erb |