Sha256: 0b3516b8bfadd13c4cf87399a0ce63730da36f9ebf262a2b1fa34757237234d6

Contents?: true

Size: 859 Bytes

Versions: 3

Compression:

Stored size: 859 Bytes

Contents

#main.events
  %p.standfirst
    = t :calendar_introduction

  - if @direction == 'past'
    %h2.section
      = t(:past_events)
      %span.addendum
        = link_to t(:show_future_events), droom.events_url(:direction => "future"), :class => "future"

  - else
    %h2.section
      = t(:future_events)
      %span.addendum
        = link_to t(:show_past_events), droom.events_url(:direction => "past"), :class => "past"

  - if admin?
    %p.action
      = link_to t(:add_event), droom.new_event_url, :class => "add", :data => {:action => "popup", :affected => ".events_list, #minicalendar"}
      %br
      %span.note
        = t :new_event_note

  = render :partial => 'events'

- content_for :title do
  = t :calendar

- content_for :margin do
  = render :partial => 'droom/shared/calendar_holder'
  = render :partial => "droom/invitations/invitations"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/events/index.html.haml
droom-0.4.2 app/views/droom/events/index.html.haml
droom-0.4.1 app/views/droom/events/index.html.haml