Sha256: 36e1e6297feaac4ba50990f42daf55dcb5446174563a32963f9a6791f64be13a

Contents?: true

Size: 472 Bytes

Versions: 4

Compression:

Stored size: 472 Bytes

Contents

<div class="bordered">
  <h3><%= _("Latest posts") %></h3>
  <ul>
	<% if @recent_posts.size == 0 %>
      <li> <%= link_to _("No posts yet, why don't you start and write one"), :controller => 'content', :action => 'new' %> ?</li>
    <% else %>
      <% for post in @recent_posts -%>
        <li>
          <%= link_to_permalink post, post.title %> (<%= link_to_permalink(post, post.published_comments.size) %>)
        </li>
      <% end %> 
    <% end %>
  </ul>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typo-5.4.3 app/views/admin/dashboard/_posts.html.erb
typo-5.4.2 app/views/admin/dashboard/_posts.html.erb
typo-5.4.1 app/views/admin/dashboard/_posts.html.erb
typo-5.4 app/views/admin/dashboard/_posts.html.erb