Sha256: 25dae45abc2ef1591d1c3178efa5fe02ba239dcfa60a2776a7e3d83bb0c0984d

Contents?: true

Size: 1.78 KB

Versions: 6

Compression:

Stored size: 1.78 KB

Contents

    <tr id="pages-<%= page.id %>">
      <td class="title"><%= link_to page.title, admin_page_path(page), :title => "Edit this page" %></td>
      <td><%= link_to pluralize(page.children.count, "sub page"), admin_page_pages_path(page), :title => "View all sub pages of #{page.title}" %></td>
      <td><%= content_status(page) %></td>
      <td><%= page.author %></td>
      <td><%= page.editor %></td>
      <td class="date"><%= page.updated_at.to_formatted_s(:short) %></td>
      <td class="date"><%= page.created_at.to_formatted_s(:short) %></td>
      <td class="date"><%= page.published_at.to_formatted_s(:short) unless page.published_at.nil? %></td>
      <td class="date"><%= page.published_to.to_formatted_s(:short) unless page.published_to.nil? %></td>
      <td class="action"><%= link_to 'Show', page_path(page.permalink), :class => 'show', :title => 'View this page' if page.published? %></td>
      <td class="action"><%= link_to 'Add page', new_admin_page_page_path(page), :class => 'add', :title => "Add a sub-page under #{page.title}" unless page.lock_level >= Page::LOCK_LEVEL_SUBPAGE %></td>
      <td class="action"><%= link_to 'Edit', [:admin, page], :class => 'edit', :title => 'Edit this page' %></td>
      <td class="action"><%= link_to('Delete', admin_page_path(page), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this page') unless page.lock_level >= Page::LOCK_LEVEL_DELETE %></td>
      <td class="action"><%= link_to 'up', move_up_admin_page_path(page), { :class => "page_up", :title => 'Move this page higher in the navigation' } unless page.first? %></td>
      <td class="action"><%= link_to 'down', move_down_admin_page_path(page), { :class => 'page_down', :title => 'Move this page lower in the navigation' } unless page.last? %></td>
    </tr>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
beef-pages-0.3.25 app/views/admin/pages/_page.html.erb
beef-pages-0.3.24 app/views/admin/pages/_page.html.erb
beef-pages-0.3.23 app/views/admin/pages/_page.html.erb
beef-pages-0.3.22 app/views/admin/pages/_page.html.erb
beef-pages-0.3.21 app/views/admin/pages/_page.html.erb
beef-pages-0.3.20 app/views/admin/pages/_page.html.erb