Sha256: 1a53ea0299280ac07a9090abb61e4a83e315648acb516ac4fe6debff74799627

Contents?: true

Size: 497 Bytes

Versions: 9

Compression:

Stored size: 497 Bytes

Contents

<div class='overlay' as='Overlay'>
  <div class='popup' id='PostsListPopup'>
    <header>
      <%= content_tag :h5, params[:type].capitalize %>
    </header>
    <% if posts.any? %>
      <ol>
        <%= render posts %>
      </ol>
    <% else %>
      <div class='empty'>
        <p>You don't have any <%= params[:type] %> post.</p>

        <p><%= link_to 'Do you want to create a new post?', new_title_admin_posts_path, class: %w(new button) %></p>
      </div>
    <% end %>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ecrire-0.25.2 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.25.1 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.25.0 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.24.1 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.24.0 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.23.0 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.22.1 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.21.0 lib/ecrire/app/views/admin/posts/_list.html.erb
ecrire-0.20.0 lib/ecrire/app/views/admin/posts/_list.html.erb