aboutsummaryrefslogtreecommitdiff
path: root/views/events_daily.html
blob: 008b6672c6ac4ef498ccb770849b6f32c89034bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%h2
  Events List
%p
  %a{:href => "/events/list/#{(@start-1.day-10).strftime("%Y-%m-%d")}?"+request.query_string}
    ← Previous day
  = @start.strftime("%Y-%m-%d")
  %a{:href => "/events/list/#{(@start+1.day+10).strftime("%Y-%m-%d")}?"+request.query_string}
    Next day →
  |
  %a{:href => "/events/calendar/#{@start.strftime("%Y-%m")}?"+request.query_string}
    Calendar view
= partial('events_form')
- if @events.length > 0
  = partial('history', :collection => @events)
- else
  %p
    %strong
      No events for today.