Sha256: 3362e7fd02ed5636bf6f56e24856825ad27a026b0244fbc3c01fb552df01caa3

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

- no_date ||= false

- if event
  - event_master_id = event.master_id || event.id
  - repeating = true if @seen_events[event_master_id]
  - @seen_events[event_master_id] = true;
  - cssclass = event.calendar ? "event #{event.calendar.slug}" : "event"

  %div{:class => cssclass}
    - unless no_date
      .datemark
        .mon= event.short_month
        .dom= event.mday_padded
    .summary
      %h2
        - if event.url
          = link_to event.title, event.url, :class => 'title'
        - else
          = event.title
        = render :partial => 'events/keywords', :locals => {:event => event}
          
      %p.practicalities
        = event.summarize_start
        - if event.event_venue
          at
          - if event.event_venue.url
            = link_to event.event_venue.title, event.event_venue.url, :class => 'location'
          - else
            = event.event_venue.title
          = event.event_venue.address
        - elsif event.location
          = event.location
      - unless repeating
        = event.description_paragraph
    

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.3.6 app/views/events/_event.html.haml
radiant-event_calendar-extension-1.3.5 app/views/events/_event.html.haml
radiant-event_calendar-extension-1.3.4 app/views/events/_event.html.haml
radiant-event_calendar-extension-1.3.3 app/views/events/_event.html.haml