Sha256: fbfd81d3d202782740b61a0492a6d32cfeb4d392f6b63a2ea0b3eaca653c567f

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

<div class="dashboard">
  <h3><%= _("Last 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>
  <hr />
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typo-5.2 app/views/admin/dashboard/_posts.html.erb