diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-24 12:26:56 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-24 12:26:56 +0100 |
commit | 71f395243d5cb7e2de918908f5c80b4ece37f58f (patch) | |
tree | 543d7928e830c1d8d765be4512f2afd81fed72c1 /views/_events_calendar_day.haml | |
parent | 1a636d2c97368bc4c4019f4ddcff991ec5eccbce (diff) |
Added XMPP interface. Fixes #1301
Also tidied calendar a bit
Diffstat (limited to 'views/_events_calendar_day.haml')
-rw-r--r-- | views/_events_calendar_day.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/_events_calendar_day.haml b/views/_events_calendar_day.haml index 9682b56..1b42520 100644 --- a/views/_events_calendar_day.haml +++ b/views/_events_calendar_day.haml @@ -1,6 +1,6 @@ %td{:class => (@today.month % 2 == 0 ? "even" : "odd")} %p.event_date - %a{:href => "/events/list/#{@today.strftime("%Y-%m-%d")}?#{request.query_string}"} + %a{:href => "/events/list/#{@today.strftime("%F")}?#{request.query_string}"} = @today.strftime(((@today - 1.day).month != @today.month) ? "%d %b" : "%d") =partial("history", :collection => events_calendar_day.first(10)) %p @@ -9,6 +9,6 @@ = events_calendar_day.length - 10 more events to display. - if events_calendar_day.length > 0 - %a{:href => "/events/list/#{@today.strftime("%Y-%m-%d")}?#{request.query_string}"} + %a{:href => "/events/list/#{@today.strftime("%F")}?#{request.query_string}"} Show the whole day. - @today += 1.day |