Sha256: 3e3493cac6197ba3aa6096b80b69758c168c074c0705cf946eefb8b382631d11
Contents?: true
Size: 1.05 KB
Versions: 10
Compression:
Stored size: 1.05 KB
Contents
<% content_for :page_title, "Calendar" %> <% content_for(:page_description) do %> Calendar: <em> <% if @month %> <%= month_name(@month) %> <% end %> <%= @year %> </em> <% 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? %> <table class="list calendar-item-list"> <tr> <th>Name</th> <th>Date</th> <th>Published</th> <th>Section</th> </tr> <% @pages.each do |page| %> <%= render(partial: "admin/pages/list_item", locals: { page: page, date: true, section: true, sections: @parents }) %> <% end %> </table> <%= will_paginate @pages, renderer: PagesCore::LinkRenderer %> <% else %> <div class="content"> <p> No calendar items have been posted yet. </p> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems