diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-23 18:35:48 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-23 18:35:48 +0100 |
commit | 1a636d2c97368bc4c4019f4ddcff991ec5eccbce (patch) | |
tree | b8101b2739ddfed34f3f80b5c89fa15de5470739 /views/events_calendar.haml | |
parent | f9bab2fc3dcef0b452782de662ee7739a547079a (diff) |
Added events viewer
* Fixes #1286
* Version bump
Diffstat (limited to 'views/events_calendar.haml')
-rw-r--r-- | views/events_calendar.haml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/views/events_calendar.haml b/views/events_calendar.haml new file mode 100644 index 0000000..e3cec5e --- /dev/null +++ b/views/events_calendar.haml @@ -0,0 +1,11 @@ +%h2 + Events Calendar + +%p + %a{:href => "/events/calendar/#{(@month-31.days).strftime("%Y-%m")}?"+request.query_string} + ← Previous Month + = @month.strftime("%b %Y") + %a{:href => "/events/calendar/#{(@month+31.days).strftime("%Y-%m")}?"+request.query_string} + Next month → += partial('events_form') += partial('events_calendar') |