Sha256: 3b770153e35631b3c89f7125208f7d1db16881c633bf428d6a35df89c2f1ba89
Contents?: true
Size: 1.27 KB
Versions: 25
Compression:
Stored size: 1.27 KB
Contents
<tr class="<%= cycle('list_line_odd', 'list_line_even') %> <%= @content.post_status == "Draft" ? 'draft' : '' %>"> <td class="hidden-xs"><%= check_box_tag 'pages[]', @content.id %></td> <td> <%= ancestory_indent @content %><%= @content.post_title %> <% if !@content.parent.blank? && @content.parent['disabled'] == 'Y' %> <strong>(parent: <%= @content.parent['post_title'] %>)</strong> <% end %> <%= @content.post_status == "Draft" ? t("views.admin.partials.articles_table.draft") : '' %> </td> <td class="hidden-xs"><%= @content.post_date.strftime "%d-%m-%Y" %></td> <td class="center"> <div class="btn-group pull-right"> <%= link_to edit_admin_page_path(@content), :class => 'btn btn-xs btn-default' do %> <i class="fa fa-pencil"></i> <% end %> <%= link_to page_path(@content), :class => 'btn btn-xs btn-default', :target => "_blank" do %> <i class="fa fa-search"></i> <% end %> <%= link_to admin_page_path(@content), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-xs btn-danger' do %> <i class="fa fa-trash-o"></i> <% end %> </div> </td> </tr> <% if !@sub.blank? %> <%= nested_table(@sub, 'admin/partials/table_row') %> <% end %>
Version data entries
25 entries across 25 versions & 1 rubygems