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

Version Path
roroacms-1.0.0 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6.7 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6.6 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6.5 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6.4 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6.3 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6.2 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6.1 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.6 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.5 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.4 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.3 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.2 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8.1 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.8 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.7.10 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.7.8 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.7.7 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.7.6 app/views/roroacms/admin/partials/_table_row.html.erb
roroacms-0.0.7.5 app/views/roroacms/admin/partials/_table_row.html.erb