Sha256: a620a1c6db86406b397fe20fa67cd3a6a09eb9f29c4182aeb58560e9656d1eed

Contents?: true

Size: 794 Bytes

Versions: 3

Compression:

Stored size: 794 Bytes

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
    .summary
      %h2
        - if event.url
          = link_to event.title, event.url, :class => 'title'
        - else
          = event.title
      %p.practicalities
        = event.summarize_start
        - if event.event_venue
          %br
          = link_to event.event_venue.title, event.event_venue.url
          = event.event_venue.address

      - unless repeating
        = event.description_paragraph
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.0.2 app/views/events/_event.html.haml
radiant-event_calendar-extension-1.0.1 app/views/events/_event.html.haml
radiant-event_calendar-extension-1.0.0 app/views/events/_event.html.haml