Sha256: 5160025e12137e1e404bb16740679fd2a57828aaf0be2c725eafb739fa07cd02
Contents?: true
Size: 1.42 KB
Versions: 11
Compression:
Stored size: 1.42 KB
Contents
- @page_title = 'Events' - @page_title += " at #{@event_venue.title}" if @event_venue - @page_title += ' - Calendar - ' + default_page_title - include_stylesheet "admin/event_calendar" #events_table.outset %table#events.index{:cellspacing=>"0", :border=>"0", :cellpadding=>"0"} %thead %tr - render_region :thead do |thead| - thead.date_header do %th.date - thead.title_header do %th.event %strong Events - if @event_venue at = @event_venue.title = link_to "(show all)", admin_events_url - thead.calendar_header do %th.calendar Calendar - thead.time_header do %th.date Time - thead.location_header do %th.location Location - thead.keywords_header do %th.keywords Keywords - thead.modify_header do %th.modify Modify %tbody - if @events.any? - @events.each do |event| = render :partial => 'event', :object => event - else %tr %td.note{:colspan => admin.event.index.tbody.length} No events to display - render_region :bottom do |bottom| - bottom.buttons do #actions = pagination_for @events %ul %li= link_to image('plus') + " " + "new event", new_admin_event_url
Version data entries
11 entries across 11 versions & 1 rubygems