Sha256: 0dc33139e81c961ac377b0c5c4bf3b092140dda68f995432ce74a76de253637e
Contents?: true
Size: 1.3 KB
Versions: 24
Compression:
Stored size: 1.3 KB
Contents
/ #{__FILE__} %div.month{attributes} %table %thead %tr %td.left %a.previous{:href => ''} = RubyApp::Language.locale.strftime(self.display << 1, '%b') %td.center{:colspan => 5} = RubyApp::Language.locale.strftime(self.display, '%B %Y') %td.right %a.next{:href => ''} = RubyApp::Language.locale.strftime(self.display >> 1, '%b') - sunday = self.display_first_date %tr - (0..6).each do |index| - date = sunday + index %td= RubyApp::Language.locale.strftime(date, '%a') %tbody - month = self.display.month - sunday = self.display_first_date - while sunday < self.display_last_date %tr - (0..6).each do |index| - date = sunday + index - if date.month == month - if date == self.value %td.current = date.day - elsif date == Date.today %td.today %a.day{:href => '', :date => date.strftime} = date.day - else %td.day %a.day{:href => '', :date => date.strftime} = date.day - else %td.none = date.day - sunday += 7
Version data entries
24 entries across 24 versions & 1 rubygems