Sha256: b4a73c5ee4e0afde8c9ded8f7e54eb207f634d4122ae7d3a67f740cc0d3bc837
Contents?: true
Size: 836 Bytes
Versions: 1
Compression:
Stored size: 836 Bytes
Contents
<h2><%= link_to_permalink article,article.title %></h2> <p class="auth"><%= _("Posted by")%> <%= author_link(article) %> <%= js_distance_of_time_in_words_to_now article.published_at %></p> <% 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 %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typo-5.5 | app/views/articles/_article.html.erb |