Sha256: d1d3a411b38ebb7ce02a593325aedb98480a811876f70ad5eb877dbe74725a6d
Contents?: true
Size: 621 Bytes
Versions: 24
Compression:
Stored size: 621 Bytes
Contents
%h1= "Events in #{@year}/#{@month}" = calendar_for(@year, @month, &events_calendar_proc) - nextmonth = Time.mktime(@year, @month) + 1.month - lastmonth = Time.mktime(@year, @month) - 1.month %ul - unless nextmonth > Time.now %li %strong Next Month: = link_to nextmonth.strftime("%b %Y"), "/events/#{nextmonth.strftime('%Y/%m')}" %small= "(#{Event.published.on(nextmonth.year, nextmonth.month).size})" %li %strong Previous Month: = link_to lastmonth.strftime("%b %Y"), "/events/#{lastmonth.strftime('%Y/%m')}" %small= "(#{Event.published.on(lastmonth.year, lastmonth.month).size})"
Version data entries
24 entries across 24 versions & 1 rubygems