Sha256: ec419b58eaf52a4da3ec78127fdb7ec284ddca78407d7e619de3ffdd1028abfc
Contents?: true
Size: 1.9 KB
Versions: 4
Compression:
Stored size: 1.9 KB
Contents
- include_stylesheet 'admin/event_calendar' = render_region :top #calendars_table.outset %table.index %thead %tr - render_region :thead do |thead| - thead.name_header do %th Name - thead.url_header do %th URL (category/slug) - thead.refresh_header do %th Last Refresh %th Refresh automatically? - thead.action_header do %th %tbody - @calendars.each do |calendar| %tr{:class => "node level-1"} - render_region :tbody do |tbody| - tbody.name_cell do %td.subscription-title = link_to image('calendar', :alt => ''), admin_calendar_url(calendar) = link_to calendar.name, admin_calendar_url(calendar) = "(#{calendar.events.count || '0'} events)" - tbody.url_cell do %td.url =h calendar.category.to_s.downcase \/ =h calendar.slug.downcase - tbody.refresh_cell do %td.refreshed - if calendar.ical =h calendar.ical.last_refresh_date.strftime("%m/%d at %H:%M") unless calendar.ical.last_refresh_date.blank? - else n/a %td.autorefresh - if calendar.ical = calendar.ical.refresh_automatically? ? "yes" : "no" - else n/a - tbody.action_cell do %td = render :partial => 'actions', :locals => {:calendar => calendar} - render_region :bottom do |bottom| - bottom.buttons do #actions = pagination_for @calendars %ul %li= link_to image('plus') + " " + "new calendar", new_admin_calendar_url %li= link_to "évent list", admin_events_url %li= link_to "venue list", admin_event_venues_url
Version data entries
4 entries across 4 versions & 1 rubygems