Sha256: 8ec54dd25b33db2a518b0cc4e186668931f8ee88f9800619eba80541f00613f8

Contents?: true

Size: 661 Bytes

Versions: 4

Compression:

Stored size: 661 Bytes

Contents

- if event = scrap.event
  .body.scrapevent
    .datemark
      %span.mon= event.start.strftime('%b')
      %span.dom= event.start.strftime('%d')
      - if event.start.year != Date.today.year
        %span.year= event.start.strftime('%Y')

    .summary
      %p.name
        - if scrap.event.url
          = link_to scrap.event.name, scrap.event.url_with_protocol, :class => "eventname"
          %br
          %span.note
            = link_to shorten("→ #{scrap.event.url_with_protocol}".html_safe), scrap.event.url_with_protocol
        - else
          %span.eventname
            = scrap.event.name

  = render "droom/scraps/caption", :scrap => scrap

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/scraps/full/_event.html.haml
droom-0.4.2 app/views/droom/scraps/full/_event.html.haml
droom-0.4.1 app/views/droom/scraps/full/_event.html.haml
droom-0.2.1 app/views/droom/scraps/full/_event.html.haml