Sha256: c69f380ec3d6220ff5da5582700c697e43a16d66cfc4d27a1c3fe9651d334b1c
Contents?: true
Size: 1.95 KB
Versions: 4
Compression:
Stored size: 1.95 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="content"> <%= article.html(:body) %> <% if article.extended? -%> <div class="extended"> <% if controller.action_name == 'index' -%> <p><%= link_to_permalink article,_("Continue reading...") %></p> <% else -%> <%= article.html(:extended) %> <% end -%> </div> <% end -%> </div> <div class="meta"> <% if controller.controller_name == "articles" and controller.action_name == 'show' %> <p><small> <%= _("This entry was posted on %s", content_tag(:abbr, js_distance_of_time_in_words_to_now (article.published_at), {:class => 'published', :title => article.published_at.xmlschema})) %> <%= _("and %s", category_links(@article)) unless @article.categories.empty? %>. <%= _("You can follow any any response to this entry through the %s", link_to(_("Atom feed"), @auto_discovery_url_atom)) %>. <%= _("You can leave a %s", link_to_permalink(article, _('comment'), 'comments')) if article.allow_comments? %> <%= _("or a %s from your own site", link_to_permalink(article, _('trackback'), 'trackbacks')) if article.allow_pings? %>.</small><br /> <small><%= tag_links(@article) unless @article.tags.empty? %></small></p> <% else %> <p 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> </p> <p class="links"> <%= link_to_permalink(article, _("Read full article"), nil, 'more') if controller.action_name != 'permalink' %> <%= link_to_permalink(article,pluralize(article.published_comments.size, _('comment')),'comments', 'comments') %> </p> <% end %> <br style="clear:both;" /> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems