Sha256: 7e207188ca70b1ffc170cb00b533c08e7193ea0d0111dd0a473334ebcbafcb07

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 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
          %li= link_to "calendar list", admin_calendars_url
          %li= link_to "venue list", admin_event_venues_url

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.1.1 app/views/admin/events/index.html.haml