Sha256: 859283ecf4d9983ec950b16b1a29f26185d7e2e63242b126bdaa51fb5206d70c

Contents?: true

Size: 526 Bytes

Versions: 7

Compression:

Stored size: 526 Bytes

Contents

<div class="dashboard">
  <h3><%= _("Last posts") %></h3>
  <ul>
	<% if @recent_posts.size == 0 %>
      <li <%= alternate_class %>> <%= 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 <%= alternate_class %>>
          <%= link_to_permalink post, post.title %> (<%= link_to_permalink(post, post.published_comments.size) %>)
        </li>
      <% end %> 
    <% end %>
  </ul>
  <hr />
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typo-5.0.3.98.1 app/views/admin/dashboard/_posts.html.erb
typo-5.0.3.98 app/views/admin/dashboard/_posts.html.erb
typo-5.1.2 app/views/admin/dashboard/_posts.html.erb
typo-5.1.1 app/views/admin/dashboard/_posts.html.erb
typo-5.1.3 app/views/admin/dashboard/_posts.html.erb
typo-5.1.98 app/views/admin/dashboard/_posts.html.erb
typo-5.1 app/views/admin/dashboard/_posts.html.erb