Sha256: 258d0cf104b154efb166683bc48543dfd6d6eebf16358098bcb30aaafeead93c

Contents?: true

Size: 1.37 KB

Versions: 6

Compression:

Stored size: 1.37 KB

Contents

<%
  block = cell(:elements, :block).new(class: 'xs-12 sm-12 md-12')
  table = cell(:elements, :table, :container).new(border: true)
  table_body = cell(:elements, :table, :body).new
%>

<%=raw block.open %>

  <%=raw cell(:elements, :title).new(label: LANGUAGES[:lato_blog][:mixed][:info], size: 6) %>

  <%=raw table.open %>

    <%=raw table_body.open %>

      <%=raw cell(:elements, :table, :row).new(labels: [LANGUAGES[:lato_blog][:mixed][:published_posts], informations[:published_length]]) %>
      <%=raw cell(:elements, :table, :row).new(labels: [LANGUAGES[:lato_blog][:mixed][:drafted_posts], informations[:drafted_length]]) %>
      <%=raw cell(:elements, :table, :row).new(labels: [LANGUAGES[:lato_blog][:mixed][:deleted_posts], informations[:deleted_length]]) %>

    <%=raw table_body.close %>

  <%=raw table.close %>

  <% if @posts_status === 'deleted' %>

    <div class="text-center">
      <br>
      <%=raw cell(:elements, :button).new(label: LANGUAGES[:lato_blog][:mixed][:empty_trash], icon: 'trash', style: 'danger',
      confirmation: {
        message: LANGUAGES[:lato_blog][:mixed][:empty_trash_message],
        positive_response: LANGUAGES[:lato_blog][:mixed][:empty_trash_positive],
        negative_response: LANGUAGES[:lato_blog][:mixed][:empty_trash_negative]
      }, url: lato_blog.posts_destroy_all_deleted_path) %>
    </div>

  <% end %>
 
<%=raw block.close %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lato_blog-2.2.2 app/views/lato_blog/back/posts/shared/index/_index_informations.html.erb
lato_blog-2.2.1 app/views/lato_blog/back/posts/shared/index/_index_informations.html.erb
lato_blog-2.2.0 app/views/lato_blog/back/posts/shared/index/_index_informations.html.erb
lato_blog-2.1.2 app/views/lato_blog/back/posts/shared/index/_index_informations.html.erb
lato_blog-2.1.1 app/views/lato_blog/back/posts/shared/index/_index_informations.html.erb
lato_blog-2.1 app/views/lato_blog/back/posts/shared/index/_index_informations.html.erb