<% content_for :page_title, "Calendar" %> <% content_for(:page_description) do %> Calendar: <% if @month %> <%= month_name(@month) %> <% end %> <%= @year %> <% end %> <% content_for :page_description_links do %> <%= locale_links { |l| admin_calendar_path(l, @year) } %> <% end %> <% content_for :sidebar do %> <%= render(partial: "sidebar", locals: { locale: content_locale }) %> <% end %> <% if @pages.any? %> <% @pages.each do |page| %> <%= render(partial: "admin/pages/list_item", locals: { page: page, date: true, section: true, sections: @parents }) %> <% end %>
Name Date Published Section
<%= will_paginate @pages, renderer: PagesCore::LinkRenderer %> <% else %>

No calendar items have been posted yet.

<% end %>