Sha256: 7c0291504afe76fba15b647b1783d94788853657ea9d972c6b4d56dd69832bd3

Contents?: true

Size: 705 Bytes

Versions: 4

Compression:

Stored size: 705 Bytes

Contents

- if event = scrap.event
  %a.minidatemark{:href => droom.scrap_url(scrap), :data => {:action => "popup"}}
    %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')

  %p.scrapevent
    = link_to shorten(event.name, 90), droom.scrap_url(scrap), :data => {:action => "popup"}
    - if scrap.event.url
      = link_to "→".html_safe, scrap.event.url_with_protocol
    = action_menulink(scrap, :class => "small")
    - if scrap.note
      %span.caption
        = shorten(scrap.note, 140)
    = render :partial => "droom/scraps/credit", :locals => {:scrap => scrap}
  = action_menu(scrap)

Version data entries

4 entries across 4 versions & 1 rubygems

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