Sha256: 02d737b482757100e5aea7a2293572a9cb1bb22effa16b560af3792a113b824f

Contents?: true

Size: 734 Bytes

Versions: 10

Compression:

Stored size: 734 Bytes

Contents

<%
  author ||= false
  date ||= false
  section ||= false
  sections ||= []
%>
<%= page_list_row(page) do %>
  <td class="name">
    <%= link_to_if(policy(page).edit?,
                   page_name(page),
                   edit_admin_page_url(content_locale, page),
                   class: 'name_link') %>
    <%= autopublish_notice(page) %>
  </td>
  <% if date %>
    <td class="date">
      <%= page_date_range(page) %>
    </td>
  <% end %>
  <td>
    <%= page_published_status(page) %>
  </td>
  <% if author %>
    <td>
      <%= link_to(page.author.name, admin_user_path(page.author)) %>
    </td>
  <% end %>
  <% if section %>
    <td>
      <%= news_section_name(page.parent, sections) %>
    </td>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pages_core-3.15.5 app/views/admin/pages/_list_item.html.erb
pages_core-3.15.4 app/views/admin/pages/_list_item.html.erb
pages_core-3.15.3 app/views/admin/pages/_list_item.html.erb
pages_core-3.15.2 app/views/admin/pages/_list_item.html.erb
pages_core-3.15.1 app/views/admin/pages/_list_item.html.erb
pages_core-3.14.0 app/views/admin/pages/_list_item.html.erb
pages_core-3.13.0 app/views/admin/pages/_list_item.html.erb
pages_core-3.12.7 app/views/admin/pages/_list_item.html.erb
pages_core-3.12.6 app/views/admin/pages/_list_item.html.erb
pages_core-3.12.5 app/views/admin/pages/_list_item.html.erb